summaryrefslogtreecommitdiff
path: root/tools/installer_ng/compile.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/installer_ng/compile.bat')
-rw-r--r--tools/installer_ng/compile.bat7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/installer_ng/compile.bat b/tools/installer_ng/compile.bat
index c578496d53..2a0ba114c5 100644
--- a/tools/installer_ng/compile.bat
+++ b/tools/installer_ng/compile.bat
@@ -1,7 +1,5 @@
@echo off
set GetVer=for /F "tokens=1,2,3 delims= " %%i in (build.no) do set MirVer=%%i.%%j.%%k
-set Compile32=Inno Setup 5\ISCC.exe" /Dptx86 /DAppVer=%MirVer% /O"Output" "InnoNG_32\MirandaNG.iss"
-set Compile64=Inno Setup 5\ISCC.exe" /DAppVer=%MirVer% /O"Output" "InnoNG_64\MirandaNG.iss"
rem Get version
if exist ..\..\build\build.no goto localgetver
if not exist tmp mkdir tmp
@@ -17,6 +15,11 @@ popd
:esclocal
rem end
+rem Set compiler variables
+set Compile32=Inno Setup 5\ISCC.exe" /Dptx86 /DAppVer=%MirVer% /O"Output" "InnoNG_32\MirandaNG.iss"
+set Compile64=Inno Setup 5\ISCC.exe" /DAppVer=%MirVer% /O"Output" "InnoNG_64\MirandaNG.iss"
+rem end
+
rem Make
if defined ProgramFiles(x86) (
"%ProgramFiles(x86)%\%Compile32%