We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b46883e commit ffb9c86Copy full SHA for ffb9c86
Src/Setup/BuildInstaller.bat
@@ -36,6 +36,16 @@ md Temp
36
@set /a "CS_VERSION_NUM=%%A<<24|%%B<<16|%%C"
37
)
38
39
+@REM Check if WiX is available in PATH
40
+@candle --help 1> nul 2>&1
41
+if ERRORLEVEL 1 (
42
+ @echo --- Downloading WiX...
43
+ @curl -s -L https://wixtoolset.org/downloads/v3.14.0.4118/wix314-binaries.zip -o Temp\wix314-binaries.zip > nul
44
+ @7z x Temp\wix314-binaries.zip -oTemp\WiX -r > nul
45
+ @if ERRORLEVEL 1 exit /b 1
46
+)
47
+@if exist "Temp\WiX" set PATH=%PATH%;%CD%\Temp\WiX
48
+
49
REM ********* Build x86 MSI
50
echo --- x86 MSI
51
candle Setup.wxs -nologo -out Temp\Setup32.wixobj -ext WixUIExtension -ext WixUtilExtension -dx64=0 -dARM64=0 -dCS_LANG_FOLDER=%CS_LANG_FOLDER% -dCS_LANG_NAME=%CS_LANG_NAME%
0 commit comments