Replace Wix with Inno Setup
The Wix configuration is left over from Synergy.
This commit is contained in:
parent
35e6693d6d
commit
18ac0fe4b5
|
@ -1,19 +1,18 @@
|
||||||
@echo off
|
@echo off
|
||||||
set WIX_ROOT=C:\Program Files (x86)\WiX Toolset v3.11
|
set INNO_ROOT=C:\Program Files (x86)\Inno Setup 5
|
||||||
|
|
||||||
set savedir=%cd%
|
set savedir=%cd%
|
||||||
cd /d %~dp0
|
cd /d %~dp0
|
||||||
|
|
||||||
if not exist build\bin\Release goto buildproject
|
if not exist build\bin\Release goto buildproject
|
||||||
|
|
||||||
cd build\installer-wix
|
|
||||||
if ERRORLEVEL 1 goto buildproject
|
|
||||||
|
|
||||||
echo Building 64-bit Windows installer...
|
echo Building 64-bit Windows installer...
|
||||||
"%WIX_ROOT%\bin\candle.exe" -nologo -arch x64 -dConfiguration=Release -dPlatform=x64 -ext WixUtilExtension -ext WixFirewallExtension Product.wxs -o Barrier.wixobj
|
|
||||||
if ERRORLEVEL 1 goto failed
|
cd build\installer-inno
|
||||||
"%WIX_ROOT%\bin\light.exe" -nologo -ext WixUtilExtension -ext WixFirewallExtension -ext WixUIExtension Barrier.wixobj -o bin\Barrier.msi
|
if ERRORLEVEL 1 goto buildproject
|
||||||
|
"%INNO_ROOT%\ISCC.exe" /Qp barrier.iss
|
||||||
if ERRORLEVEL 1 goto failed
|
if ERRORLEVEL 1 goto failed
|
||||||
|
|
||||||
echo Build completed successfully
|
echo Build completed successfully
|
||||||
goto done
|
goto done
|
||||||
|
|
||||||
|
@ -29,7 +28,7 @@ goto done
|
||||||
echo Build failed
|
echo Build failed
|
||||||
|
|
||||||
:done
|
:done
|
||||||
set WIX_ROOT=
|
set INNO_ROOT=
|
||||||
|
|
||||||
cd /d %savedir%
|
cd /d %savedir%
|
||||||
set savedir=
|
set savedir=
|
||||||
|
|
Loading…
Reference in New Issue