From 8e2c014e43809c0889b42ed4e567f4b734a82c01 Mon Sep 17 00:00:00 2001 From: Igor Zinkovsky Date: Fri, 9 Dec 2011 16:42:15 -0800 Subject: [PATCH] Fix MSI generation on VC Express --- tools/msvs/msi/nodemsi.wixproj | 32 ++++++++++++++++++++++---------- vcbuild.bat | 4 +--- 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/tools/msvs/msi/nodemsi.wixproj b/tools/msvs/msi/nodemsi.wixproj index 96813d3b8e..d7a3b62dd5 100644 --- a/tools/msvs/msi/nodemsi.wixproj +++ b/tools/msvs/msi/nodemsi.wixproj @@ -16,12 +16,12 @@ ..\..\..\$(Configuration)\ obj\$(Configuration)\ - Debug;ProductVersion=$(NodeVersion);ProductId=$(NodeProductId);NPMSourceDir=..\..\..\deps\npm\ + Debug;ProductVersion=$(NodeVersion);NPMSourceDir=..\..\..\deps\npm\ ..\..\..\$(Configuration)\ obj\$(Configuration)\ - Debug;ProductVersion=$(NodeVersion);ProductId=$(NodeProductId);NPMSourceDir=..\..\..\deps\npm\ + Debug;ProductVersion=$(NodeVersion);NPMSourceDir=..\..\..\deps\npm\ @@ -33,13 +33,25 @@ WixUIExtension + + + + + + + + + + - + + + + + + + + diff --git a/vcbuild.bat b/vcbuild.bat index 290e5239a3..38a1951b92 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -89,9 +89,7 @@ python "%~dp0tools\getnodeversion.py" > "%temp%\node_version.txt" if not errorlevel 0 echo Cannot determine current version of node.js & goto exit for /F "tokens=*" %%i in (%temp%\node_version.txt) do set NODE_VERSION=%%i heat dir deps\npm -var var.NPMSourceDir -dr NodeModulesFolder -cg NPMFiles -gg -template fragment -nologo -out npm.wxs -uuidgen > "%temp%\node_product_id.txt" -set /p NODE_PRODUCT_ID=<"%temp%\node_product_id.txt" -msbuild "%~dp0tools\msvs\msi\nodemsi.sln" /t:Clean,Build /p:Configuration=%config% /p:NodeVersion=%NODE_VERSION% /p:NodeProductId=%NODE_PRODUCT_ID% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo +msbuild "%~dp0tools\msvs\msi\nodemsi.sln" /t:Clean,Build /p:Configuration=%config% /p:NodeVersion=%NODE_VERSION% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo if errorlevel 1 goto exit if defined nosign goto run