diff options
author | Jeroen Janssen <jeroen.janssen@gmail.com> | 2012-06-02 18:36:20 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2012-06-02 18:39:41 +0200 |
commit | e2126e05e7a5a4a7f2cb97173ad3b8b4c11807d5 (patch) | |
tree | 7faba295d01044f113159a9b063768ebcd769aa7 /vcbuild.bat | |
parent | 3b6a00b664afdc7695ddddefc637b1fbebf94fc6 (diff) | |
download | node-new-e2126e05e7a5a4a7f2cb97173ad3b8b4c11807d5.tar.gz |
windows/msi: cleanup WiX project files
The current WiX project files do some manual processing and generation
which WiX supports doing out of the box. This patch will use the
HeatDirectory task to generate the npm.wxs file and use the auto GUID
generation. I also changed the msi filename generation to include the
version number to match the currently used name for released msi files.
Closes #3360
Diffstat (limited to 'vcbuild.bat')
-rw-r--r-- | vcbuild.bat | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcbuild.bat b/vcbuild.bat index b417f680f1..e9e3ebc45d 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -116,12 +116,11 @@ if not defined msi goto run 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 msbuild "%~dp0tools\msvs\msi\nodemsi.sln" /m /t:Clean,Build /p:Configuration=%config% /p:Platform=%msiplatform% /p:NodeVersion=%NODE_VERSION% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo if errorlevel 1 goto exit if defined nosign goto run -signtool sign /a Release\node.msi +signtool sign /a Release\node-v%NODE_VERSION%-%msiplatform%.msi :run @rem Run tests if requested. |