diff --git a/tools/msvs/msi/WixUI_en-us.wxl b/tools/msvs/msi/WixUI_en-us.wxl new file mode 100644 index 00000000000..76ca68a1ee1 --- /dev/null +++ b/tools/msvs/msi/WixUI_en-us.wxl @@ -0,0 +1,4 @@ + + + Choose a custom location or click Next to install + diff --git a/tools/msvs/msi/nodemsi.wixproj b/tools/msvs/msi/nodemsi.wixproj index f5a113378e9..4520e28ae84 100644 --- a/tools/msvs/msi/nodemsi.wixproj +++ b/tools/msvs/msi/nodemsi.wixproj @@ -1,5 +1,4 @@ - - + Debug @@ -27,6 +26,7 @@ ..\..\..\$(Configuration)\ obj\$(Configuration)\ Debug;ProductVersion=$(NodeVersion);NoETW=$(NoETW);NoPerfCtr=$(NoPerfCtr);NPMSourceDir=..\..\..\deps\npm\;ProgramFilesFolderId=ProgramFiles64Folder + en-US ..\..\..\$(Configuration)\ @@ -34,11 +34,13 @@ Debug;ProductVersion=$(NodeVersion);NoETW=$(NoETW);NoPerfCtr=$(NoPerfCtr);NPMSourceDir=..\..\..\deps\npm\;ProgramFilesFolderId=ProgramFiles64Folder - True + True - + + npm.wxs + @@ -50,9 +52,16 @@ WiXUtilExtension + + + - - - - - + + + + + + move !(TargetPath) $(TargetDir)\$(TargetFileName) +move !(TargetPdbPath) $(TargetDir)\$(TargetPdbName) + + \ No newline at end of file diff --git a/tools/msvs/msi/product.wxs b/tools/msvs/msi/product.wxs index 5443be5ad77..7b5e5883784 100755 --- a/tools/msvs/msi/product.wxs +++ b/tools/msvs/msi/product.wxs @@ -25,6 +25,13 @@ + + + + + + @@ -33,7 +40,7 @@ - + @@ -45,12 +52,12 @@ - + - + + Value="[INSTALLDIR]" /> @@ -80,13 +87,24 @@ + + + + + + + + + + + - + @@ -99,13 +117,13 @@ + Description="$(var.ProductDescription)" Target="[INSTALLDIR]node.exe" + WorkingDirectory="INSTALLDIR"/> + WorkingDirectory="INSTALLDIR"/> - + - @@ -139,6 +156,7 @@ + @@ -154,11 +172,11 @@ - - + + - + @@ -181,11 +199,19 @@ + + + NOT Installed Installed AND PATCH 1 - LicenseAccepted = "1" + LicenseAccepted = "1" + 1 + 1 + 1 + 1 + 1 1 NOT Installed OR WixUI_InstallMode = "Change" Installed AND NOT PATCH @@ -196,12 +222,11 @@ 1 1 Installed - NOT Installed + NOT Installed 1 -