|
19 | 19 | <Directory Id="NodeRoot" Name="nodejs">
|
20 | 20 | <Component Id="nodeexe" Guid="AEC0F08E-89B3-4C35-A286-8DB8598597F2">
|
21 | 21 | <File Id="filenodeexe" KeyPath="yes" Source="$(var.sourcedir)\node.exe" />
|
| 22 | + <Environment Id="Environment" |
| 23 | + Action="set" |
| 24 | + Name="PATH" |
| 25 | + Part="last" |
| 26 | + System="yes" |
| 27 | + Value="[NodeRoot]" /> |
22 | 28 | </Component>
|
23 | 29 | <?if $(var.Configuration) = Debug ?>
|
24 | 30 | <Component Id="nodepdb" Guid="BEC0F08E-89B3-4C35-A286-8DB8598597F2">
|
25 | 31 | <File Id="filenodepdb" KeyPath="yes" Source="$(var.sourcedir)\node.pdb" />
|
26 | 32 | </Component>
|
27 | 33 | <?endif?>
|
28 |
| - <Component Id="license" Guid="CEC0F08E-89B3-4C35-A286-8DB8598597F2"> |
29 |
| - <File Id="filelicense" KeyPath="yes" Source="$(var.sourcedir)\..\LICENSE" /> |
30 |
| - </Component> |
31 | 34 | </Directory>
|
32 | 35 | </Directory>
|
33 | 36 | </Directory>
|
|
37 | 40 | <?if $(var.Configuration) = Debug ?>
|
38 | 41 | <ComponentRef Id="nodepdb"/>
|
39 | 42 | <?endif?>
|
40 |
| - <ComponentRef Id="license"/> |
41 | 43 | </ComponentGroup>
|
42 | 44 |
|
43 | 45 | <Feature Id="nodejs" Title="node.js engine" Level="1" Description="evented I/O for V8 javascript">
|
44 | 46 | <ComponentGroupRef Id="allfiles" />
|
45 | 47 | <ComponentGroupRef Id="Product.Generated" />
|
46 | 48 | </Feature>
|
47 | 49 |
|
48 |
| - <WixVariable Id="WixUILicenseRtf" Value="$(var.ProjectDir)\license.rtf" /> |
49 |
| - <UIRef Id="WixUI_Minimal" /> |
| 50 | + <UI Id="NodeInstallUI"> |
| 51 | + <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" /> |
| 52 | + <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" /> |
| 53 | + <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" /> |
| 54 | + |
| 55 | + <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /> |
| 56 | + <Property Id="WixUI_Mode" Value="Minimal" /> |
| 57 | + |
| 58 | + <DialogRef Id="ErrorDlg" /> |
| 59 | + <DialogRef Id="FatalError" /> |
| 60 | + <DialogRef Id="FilesInUse" /> |
| 61 | + <DialogRef Id="MsiRMFilesInUse" /> |
| 62 | + <DialogRef Id="PrepareDlg" /> |
| 63 | + <DialogRef Id="ProgressDlg" /> |
| 64 | + <DialogRef Id="ResumeDlg" /> |
| 65 | + <DialogRef Id="UserExit" /> |
| 66 | + <DialogRef Id="WelcomeDlg" /> |
| 67 | + |
| 68 | + <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="PrepareDlg">1</Publish> |
| 69 | + <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish> |
| 70 | + <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish> |
| 71 | + <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish> |
| 72 | + <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish> |
| 73 | + <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish> |
| 74 | + <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish> |
| 75 | + |
| 76 | + <Property Id="ARPNOMODIFY" Value="1" /> |
| 77 | + <Property Id="WIXUI_EXITDIALOGOPTIONALTEXT" Value="Node.js has been succesfully installed. To run Node.js open command prompt (cmd.exe), and run 'node'. See http://nodejs.org for information about the license." /> |
| 78 | + </UI> |
50 | 79 |
|
| 80 | + <UIRef Id="WixUI_Common" /> |
51 | 81 | </Product>
|
52 | 82 |
|
53 | 83 | </Wix>
|
0 commit comments