diff --git a/SparkleShare/Windows/SparkleShare.wxs b/SparkleShare/Windows/SparkleShare.wxs index ddc6e0a0..d9f5719a 100644 --- a/SparkleShare/Windows/SparkleShare.wxs +++ b/SparkleShare/Windows/SparkleShare.wxs @@ -1,6 +1,6 @@ - + @@ -8,9 +8,16 @@ Comments='This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.' Manufacturer='sparkleshare.org' InstallerVersion='100' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> - + + + + + + + + @@ -29,17 +36,27 @@ + + - + + + + + + + + MSYSGIT_CAB_EXISTS + - + diff --git a/SparkleShare/Windows/build.cmd b/SparkleShare/Windows/build.cmd index 8fb8a7a6..5738b519 100644 --- a/SparkleShare/Windows/build.cmd +++ b/SparkleShare/Windows/build.cmd @@ -4,12 +4,14 @@ set msbuild="%WinDirNet%\v3.5\msbuild.exe" if not exist %msbuild% set msbuild="%WinDirNet%\v4.0.30319\msbuild.exe" set wixBinDir=%WIX%\bin -%msbuild% /t:Rebuild /p:Configuration=Release /p:Platform="Any CPU" %~dp0\SparkleShare.sln +rem %msbuild% /t:Rebuild /p:Configuration=Release /p:Platform="Any CPU" %~dp0\SparkleShare.sln if "%1"=="installer" ( if exist "%wixBinDir%" ( + "%wixBinDir%\heat.exe" dir "%git_install_root%." -cg msysGitComponentGroup -gg -scom -sreg -sfrag -srd -dr MSYSGIT_DIR -t addmedia.xlst -var wix.msysgitpath -o msysgit.wxs "%wixBinDir%\candle" "%~dp0\SparkleShare.wxs" - "%wixBinDir%\light" -ext WixUIExtension Sparkleshare.wixobj + "%wixBinDir%\candle" "msysgit.wxs + "%wixBinDir%\light" -ext WixUIExtension Sparkleshare.wixobj msysgit.wixobj -dmsysgitpath=%git_install_root% -o SparkleShare.msi echo SparkleShare.msi created. ) else (