Add po and plugins folders to setup
This commit is contained in:
parent
0dd7605834
commit
4ccec42125
|
@ -30,6 +30,10 @@
|
||||||
</Component>
|
</Component>
|
||||||
<Directory Id='MSYSGIT_DIR' Name='msysgit'>
|
<Directory Id='MSYSGIT_DIR' Name='msysgit'>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
<Directory Id='PO_DIR' Name='po'>
|
||||||
|
</Directory>
|
||||||
|
<Directory Id='PLUGINS_DIR' Name='plugins'>
|
||||||
|
</Directory>
|
||||||
</Directory>
|
</Directory>
|
||||||
</Directory>
|
</Directory>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
@ -56,6 +60,8 @@
|
||||||
<ComponentRef Id="ApplicationShortcut" />
|
<ComponentRef Id="ApplicationShortcut" />
|
||||||
<ComponentRef Id="Autostart" />
|
<ComponentRef Id="Autostart" />
|
||||||
<ComponentGroupRef Id='msysGitComponentGroup' />
|
<ComponentGroupRef Id='msysGitComponentGroup' />
|
||||||
|
<ComponentGroupRef Id='poComponentGroup' />
|
||||||
|
<ComponentGroupRef Id='pluginsComponentGroup' />
|
||||||
</Feature>
|
</Feature>
|
||||||
|
|
||||||
<UI>
|
<UI>
|
||||||
|
@ -63,7 +69,7 @@
|
||||||
<Publish Dialog="ExitDialog"
|
<Publish Dialog="ExitDialog"
|
||||||
Control="Finish"
|
Control="Finish"
|
||||||
Event="DoAction"
|
Event="DoAction"
|
||||||
Value="LaunchApplication" />
|
Value="LaunchApplication">1</Publish>
|
||||||
</UI>
|
</UI>
|
||||||
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
|
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
|
||||||
<WixVariable Id="WixUILicenseRtf" Value="..\..\LICENSE.rtf" />
|
<WixVariable Id="WixUILicenseRtf" Value="..\..\LICENSE.rtf" />
|
||||||
|
|
|
@ -17,9 +17,13 @@ set wixBinDir=%WIX%\bin
|
||||||
if "%1"=="installer" (
|
if "%1"=="installer" (
|
||||||
if exist "%wixBinDir%" (
|
if exist "%wixBinDir%" (
|
||||||
"%wixBinDir%\heat.exe" dir "%~dp0\..\..\bin\msysgit" -cg msysGitComponentGroup -gg -scom -sreg -sfrag -srd -dr MSYSGIT_DIR -var wix.msysgitpath -o msysgit.wxs
|
"%wixBinDir%\heat.exe" dir "%~dp0\..\..\bin\msysgit" -cg msysGitComponentGroup -gg -scom -sreg -sfrag -srd -dr MSYSGIT_DIR -var wix.msysgitpath -o msysgit.wxs
|
||||||
|
"%wixBinDir%\heat.exe" dir "%~dp0\..\..\bin\po" -cg poComponentGroup -gg -scom -sreg -sfrag -srd -dr PO_DIR -var wix.podir -o po.wxs
|
||||||
|
"%wixBinDir%\heat.exe" dir "%~dp0\..\..\bin\plugins" -cg pluginsComponentGroup -gg -scom -sreg -sfrag -srd -dr PLUGINS_DIR -var wix.pluginsdir -o plugins.wxs
|
||||||
"%wixBinDir%\candle" "%~dp0\SparkleShare.wxs" -ext WixUIExtension -ext WixUtilExtension
|
"%wixBinDir%\candle" "%~dp0\SparkleShare.wxs" -ext WixUIExtension -ext WixUtilExtension
|
||||||
"%wixBinDir%\candle" "%~dp0\msysgit.wxs" -ext WixUIExtension -ext WixUtilExtension
|
"%wixBinDir%\candle" "%~dp0\msysgit.wxs" -ext WixUIExtension -ext WixUtilExtension
|
||||||
"%wixBinDir%\light" -ext WixUIExtension -ext WixUtilExtension Sparkleshare.wixobj msysgit.wixobj -droot="%~dp0\..\.." -dmsysgitpath="%~dp0\..\..\bin\msysgit" -o SparkleShare.msi
|
"%wixBinDir%\candle" "%~dp0\po.wxs" -ext WixUIExtension -ext WixUtilExtension
|
||||||
|
"%wixBinDir%\candle" "%~dp0\plugins.wxs" -ext WixUIExtension -ext WixUtilExtension
|
||||||
|
"%wixBinDir%\light" -ext WixUIExtension -ext WixUtilExtension Sparkleshare.wixobj msysgit.wixobj po.wixobj plugins.wixobj -droot="%~dp0\..\.." -dmsysgitpath="%~dp0\..\..\bin\msysgit" -dpodir="%~dp0\..\..\bin\po" -dpluginsdir="%~dp0\..\..\bin\plugins" -o SparkleShare.msi
|
||||||
echo SparkleShare.msi created.
|
echo SparkleShare.msi created.
|
||||||
) else (
|
) else (
|
||||||
echo Not building installer ^(could not find wix, Windows Installer XML toolset^)
|
echo Not building installer ^(could not find wix, Windows Installer XML toolset^)
|
||||||
|
|
Loading…
Reference in a new issue