Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions tools/msvs/msi/i18n/en-us.wxl
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,23 @@
<String Id="NativeToolsDlgTitle">{\WixUI_Font_Title}Tools for Native Modules</String>
<String Id="NativeToolsDlgDescription">Optionally install the tools necessary to compile native modules.</String>
<String Id="NativeToolsDlgBannerBitmap">WixUI_Bmp_Banner</String>
<String Id="NativeToolsDlgIntro">Some npm modules need to be compiled from C/C++ when installing. If you want to be able to install such modules, some tools (Python 2 and Visual Studio Build Tools) need to be installed.</String>
<String Id="NativeToolsDlgInstallCheckbox">Automatically install the necessary tools. Note that this will also install Boxstarter and Chocolatey. The script will pop-up in a new window after the installation completes.</String>
<String Id="NativeToolsDlgManualDetails">Alternatively, follow the instructions at <![CDATA[<a href="https://github.com/nodejs/node-gyp#on-windows">https://github.com/nodejs/node-gyp#on-windows</a>]]> to install the dependencies yourself.</String>
<String Id="NativeToolsDlgIntro">
Some npm modules need to be compiled from C/C++ when installing.
If you want to be able to install such modules,
some tools (Python 2 and Visual Studio Build Tools) need to be installed.
</String>
<String Id="NativeToolsDlgInstallCheckbox">
Open the shortcut folder to run the tools install script.
Note that it will also install
<![CDATA[<a href="https://boxstarter.org/">Boxstarter</a>]]>
and
<![CDATA[<a href="https://chocolatey.org/">Chocolatey</a>]]>
</String>
<String Id="NativeToolsDlgManualDetails">
Alternatively, follow the instructions at
<![CDATA[<a href="https://github.com/nodejs/node-gyp#on-windows">https://github.com/nodejs/node-gyp#on-windows</a>]]>
to install the dependencies yourself.
</String>

<!-- References like [ProductName] or $(var.ProductName) don't seem to work in Title attributes -->
<String Id="NodeRuntime_Title">Node.js runtime</String>
Expand Down
6 changes: 3 additions & 3 deletions tools/msvs/msi/product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@
Execute="immediate"
Return="check" />

<Property Id="WixShellExecTarget" Value="[#InstallToolsBat]" />
<CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" />
<Property Id="WixShellExecTarget" Value="[#NodeStartMenu]" />
<CustomAction Id="OpenShurtcutFolder" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />
Comment thread
refack marked this conversation as resolved.
Outdated

<InstallUISequence>
<Custom Action='SetInstallScope' Before='FindRelatedProducts'/>
Expand Down Expand Up @@ -384,7 +384,7 @@
<Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="NativeToolsDlg">1</Publish>
<Publish Dialog="NativeToolsDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg">1</Publish>
<Publish Dialog="NativeToolsDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" Value="LaunchApplication">NATIVETOOLSCHECKBOX = 1</Publish>
<Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" Value="OpenShurtcutFolder">NATIVETOOLSCHECKBOX = 1</Publish>
Comment thread
refack marked this conversation as resolved.
Outdated
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>

<Property Id="WIXUI_EXITDIALOGOPTIONALTEXT" Value="!(loc.WIXUI_EXITDIALOGOPTIONALTEXT)"/>
Expand Down