summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-09-06 11:33:05 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-09-06 11:33:05 +0000
commit827cc6051f4df89e08e65b9bd85b0e06e4a9cde9 (patch)
tree45c33a8d1dd0c188eae71c3b5c7ecc06faaad166 /tools
parentb88b795c0b8f08a4530726cbcea2994782d064d4 (diff)
Installer: version variable fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@5964 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools')
-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%