generate msi installer based on _output folder.

This commit is contained in:
kayone 2013-11-23 17:40:20 -08:00
parent e5859b4c4b
commit afda9242f7
2 changed files with 6 additions and 2 deletions

View File

@ -29,6 +29,7 @@
<MajorUpgrade AllowDowngrades="no" AllowSameVersionUpgrades="yes" MigrateFeatures="yes" Schedule="afterInstallValidate" DowngradeErrorMessage="Newer version of Nzbdrone is already installed." /> <MajorUpgrade AllowDowngrades="no" AllowSameVersionUpgrades="yes" MigrateFeatures="yes" Schedule="afterInstallValidate" DowngradeErrorMessage="Newer version of Nzbdrone is already installed." />
<Feature Id="Core" Title="NzbDrone Core" Description="NzbDrone Core" Level="1" Display='expand'> <Feature Id="Core" Title="NzbDrone Core" Description="NzbDrone Core" Level="1" Display='expand'>
<ComponentRef Id="BIN_COMP" /> <ComponentRef Id="BIN_COMP" />
<ComponentGroupRef Id="OUTPUT_GROUP" />
</Feature> </Feature>
<PropertyRef Id="NETFRAMEWORK40FULL" /> <PropertyRef Id="NETFRAMEWORK40FULL" />
<Property Id="INSTALL_WINDOWS_SERVICE" Value="1" /> <Property Id="INSTALL_WINDOWS_SERVICE" Value="1" />

View File

@ -1,4 +1,7 @@
SET BUILD_NUMBER=1.9.9.9 SET BUILD_NUMBER=1.9.9.9
"bin\candle.exe" -nologo "nzbdrone.wxs" -out "nzbdrone.wixobj" -ext WixNetFxExtension -ext WixUIExtension bin\heat.exe dir ..\_output\ -out _output.wxs -cg OUTPUT_GROUP -dr BIN_DIR -gg -scom -srd -sfrag -sreg -suid -svb6
"bin\light.exe" -nologo "nzbdrone.wixobj" -out "nzbdrone.msi" -ext WixNetFxExtension -ext WixUIExtension
"bin\candle.exe" nzbdrone.wxs _output.wxs -ext WixNetFxExtension -ext WixUIExtension
"bin\light.exe" nzbdrone.wixobj _output.wixobj -out "nzbdrone.msi" -ext WixNetFxExtension -ext WixUIExtension -b ..\_output