|
72 | 72 | <ComponentRefId="NodeVarsScript"/> |
73 | 73 | <ComponentRefId="NodeStartMenu"/> |
74 | 74 | <ComponentRefId="AppData" /> |
| 75 | + <ComponentRefId="InstallToolsBat" /> |
| 76 | + <ComponentRefId="InstallToolsTxt" /> |
75 | 77 | <ComponentGroupRefId="Product.Generated"/> |
76 | 78 |
|
77 | 79 | <FeatureId="NodePerfCtrSupport" |
|
162 | 164 | <FileId="nodevars.bat"KeyPath="yes"Source="$(var.RepoDir)\tools\msvs\nodevars.bat"/> |
163 | 165 | </Component> |
164 | 166 |
|
| 167 | + <ComponentId="InstallToolsBat"> |
| 168 | + <FileId="InstallToolsBat"KeyPath="yes"Source="$(var.RepoDir)\tools\msvs\install_tools\install_tools.bat"/> |
| 169 | + </Component> |
| 170 | + |
| 171 | + <ComponentId="InstallToolsTxt"> |
| 172 | + <FileId="InstallToolsTxt"Source="$(var.RepoDir)\tools\msvs\install_tools\install_tools.txt"/> |
| 173 | + </Component> |
| 174 | + |
165 | 175 | <?if $(var.NoPerfCtr) != 1 ?> |
166 | 176 | <ComponentId="NodePerfCtrSupport"> |
167 | 177 | <FileId="node_perfctr_provider_man"Name="node_perfctr_provider.man"Source="$(var.RepoDir)\src\res\node_perfctr_provider.man"> |
|
195 | 205 | Arguments='/k "[INSTALLDIR]nodevars.bat"' |
196 | 206 | Show="normal" |
197 | 207 | WorkingDirectory="INSTALLDIR"/> |
| 208 | + <ShortcutId="InstallToolsShortcut" |
| 209 | +Name="Install Additional Tools for Node.js" |
| 210 | +Target="[%ComSpec]" |
| 211 | +Arguments='/d /c "[INSTALLDIR]install_tools.bat"' |
| 212 | +Show="normal" |
| 213 | +WorkingDirectory="INSTALLDIR"/> |
198 | 214 | <ShortcutId="NodeExecutableShortcut" |
199 | 215 | Name="Node.js" |
200 | 216 | Target="[INSTALLDIR]node.exe" |
|
310 | 326 | Execute="immediate" |
311 | 327 | Return="check" /> |
312 | 328 |
|
| 329 | + <PropertyId="WixShellExecTarget"Value="[#InstallToolsBat]" /> |
| 330 | + <CustomActionId="LaunchApplication"BinaryKey="WixCA"DllEntry="WixShellExec" /> |
| 331 | + |
313 | 332 | <InstallUISequence> |
314 | 333 | <CustomAction='SetInstallScope'Before='FindRelatedProducts'/> |
315 | 334 | </InstallUISequence> |
|
340 | 359 | <DialogRefId="InstallDirDlg"/> |
341 | 360 | <DialogRefId="BrowseDlg"/> |
342 | 361 | <DialogRefId="InvalidDirDlg"/> |
| 362 | + <DialogId="NativeToolsDlg"Width="370"Height="270"Title="!(loc.NativeToolsDlg_Title)"> |
| 363 | + <ControlId="BannerBitmap"Type="Bitmap"X="0"Y="0"Width="370"Height="44"TabSkip="no"Text="!(loc.NativeToolsDlgBannerBitmap)" /> |
| 364 | + <ControlId="Title"Type="Text"X="15"Y="6"Width="200"Height="15"Transparent="yes"NoPrefix="yes"Text="!(loc.NativeToolsDlgTitle)" /> |
| 365 | + <ControlId="Description"Type="Text"X="25"Y="23"Width="280"Height="15"Transparent="yes"NoPrefix="yes"Text="!(loc.NativeToolsDlgDescription)" /> |
| 366 | + <ControlId="BannerLine"Type="Line"X="0"Y="44"Width="370"Height="0" /> |
| 367 | + |
| 368 | + <ControlId="Intro"Type="Text"X="20"Y="65"Width="330"Height="30"NoPrefix="yes"Text="!(loc.NativeToolsDlgIntro)" /> |
| 369 | + <ControlId="InstallCheckbox"Type="CheckBox"X="20"Y="105"Width="330"Height="30"Property="NATIVETOOLSCHECKBOX"CheckBoxValue="1"Text="!(loc.NativeToolsDlgInstallCheckbox)" /> |
| 370 | + <ControlId="ManualDetails"Type="Hyperlink"X="20"Y="140"Width="330"Height="30"Text="!(loc.NativeToolsDlgManualDetails)" /> |
| 371 | + |
| 372 | + <ControlId="BottomLine"Type="Line"X="0"Y="234"Width="370"Height="0" /> |
| 373 | + <ControlId="Next"Type="PushButton"X="236"Y="243"Width="56"Height="17"Default="yes"Text="!(loc.WixUINext)" /> |
| 374 | + <ControlId="Back"Type="PushButton"X="180"Y="243"Width="56"Height="17"Text="!(loc.WixUIBack)" /> |
| 375 | + <ControlId="Cancel"Type="PushButton"X="304"Y="243"Width="56"Height="17"Cancel="yes"Text="!(loc.WixUICancel)"> |
| 376 | + <PublishEvent="SpawnDialog"Value="CancelDlg">1</Publish> |
| 377 | + </Control> |
| 378 | + </Dialog> |
343 | 379 |
|
344 | 380 | <PublishDialog="WelcomeDlg"Control="Next"Event="NewDialog"Value="LicenseAgreementDlg">NOT Installed</Publish> |
345 | 381 | <PublishDialog="WelcomeDlg"Control="Next"Event="NewDialog"Value="VerifyReadyDlg">Installed AND PATCH</Publish> |
|
350 | 386 | <PublishDialog="InstallDirDlg"Control="Next"Event="SetTargetPath"Value="[WIXUI_INSTALLDIR]"Order="10">1</Publish> |
351 | 387 | <PublishDialog="InstallDirDlg"Control="ChangeFolder"Property="_BrowseProperty"Value="[WIXUI_INSTALLDIR]"Order="10">1</Publish> |
352 | 388 | <PublishDialog="InstallDirDlg"Control="ChangeFolder"Event="SpawnDialog"Value="BrowseDlg"Order="20">1</Publish> |
353 | | - <PublishDialog="ExitDialog"Control="Finish"Event="EndDialog"Value="Return"Order="999">1</Publish> |
354 | 389 | <PublishDialog="VerifyReadyDlg"Control="Back"Event="NewDialog"Value="CustomizeDlg"Order="1">NOT Installed OR WixUI_InstallMode = "Change"</Publish> |
355 | 390 | <PublishDialog="VerifyReadyDlg"Control="Back"Event="NewDialog"Value="MaintenanceTypeDlg"Order="2">Installed AND NOT PATCH</Publish> |
356 | 391 | <PublishDialog="VerifyReadyDlg"Control="Back"Event="NewDialog"Value="WelcomeDlg"Order="3">Installed AND PATCH</Publish> |
|
361 | 396 | <PublishDialog="MaintenanceTypeDlg"Control="Back"Event="NewDialog"Value="MaintenanceWelcomeDlg">1</Publish> |
362 | 397 | <PublishDialog="CustomizeDlg"Control="Back"Event="NewDialog"Value="MaintenanceTypeDlg"Order="1">Installed</Publish> |
363 | 398 | <PublishDialog="CustomizeDlg"Control="Back"Event="NewDialog"Value="InstallDirDlg"Order="2">NOT Installed</Publish> |
364 | | - <PublishDialog="CustomizeDlg"Control="Next"Event="NewDialog"Value="VerifyReadyDlg">1</Publish> |
| 399 | + <PublishDialog="CustomizeDlg"Control="Next"Event="NewDialog"Value="NativeToolsDlg">1</Publish> |
| 400 | + <PublishDialog="NativeToolsDlg"Control="Back"Event="NewDialog"Value="CustomizeDlg">1</Publish> |
| 401 | + <PublishDialog="NativeToolsDlg"Control="Next"Event="NewDialog"Value="VerifyReadyDlg">1</Publish> |
| 402 | + <PublishDialog="ExitDialog"Control="Finish"Event="DoAction"Value="LaunchApplication">NATIVETOOLSCHECKBOX = 1</Publish> |
| 403 | + <PublishDialog="ExitDialog"Control="Finish"Event="EndDialog"Value="Return"Order="999">1</Publish> |
365 | 404 |
|
366 | 405 | <PropertyId="WIXUI_EXITDIALOGOPTIONALTEXT"Value="!(loc.WIXUI_EXITDIALOGOPTIONALTEXT)"/> |
367 | 406 | </UI> |
|
0 commit comments