mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
iis: Adds batch script to compile Wix
This batch script can be used to generate our msi installer.
This commit is contained in:
committed by
Felipe Zimmerle
parent
3604763e15
commit
a2c5fc831b
22
iis/build_msi.bat
Normal file
22
iis/build_msi.bat
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
|
||||||
|
set WIX=C:\Program Files (x86)\WixEdit\wix-3.0.5419.0\
|
||||||
|
set CURRENT_DIR=%cd%
|
||||||
|
|
||||||
|
del installer.wix*
|
||||||
|
|
||||||
|
"%WIX%\candle.exe" -ext WixUtilExtension -ext WixUIExtension "%CURRENT_DIR%\installer.wxs" -out "%CURRENT_DIR%\installer.wixobj"
|
||||||
|
|
||||||
|
"%WIX%\light.exe" -ext WixUtilExtension -ext WixUIExtension "%CURRENT_DIR%\installer.wixobj" -out "%CURRENT_DIR%\installer.msi"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
exit /B 0
|
||||||
|
|
||||||
|
:build_failed
|
||||||
|
@echo Problems during the building phase
|
||||||
|
@goto failed
|
||||||
|
|
||||||
|
:failed
|
||||||
|
@cd %CURRENT_DIR%
|
||||||
|
@exit /B 1
|
||||||
|
|
Reference in New Issue
Block a user