diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-09-06 11:08:47 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-09-06 11:08:47 +0000 |
commit | b88b795c0b8f08a4530726cbcea2994782d064d4 (patch) | |
tree | 93cae83b44b2183ca8a8e38eb0f697d9558c2307 /tools/installer_ng/compile.bat | |
parent | aaa839208d68557a64f271a00eabf0377d6f03f3 (diff) |
Installer: make_all.bat for fully automatic compilation, make_interactive.bat for interactive mode
git-svn-id: http://svn.miranda-ng.org/main/trunk@5963 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/installer_ng/compile.bat')
-rw-r--r-- | tools/installer_ng/compile.bat | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/installer_ng/compile.bat b/tools/installer_ng/compile.bat new file mode 100644 index 0000000000..c578496d53 --- /dev/null +++ b/tools/installer_ng/compile.bat @@ -0,0 +1,28 @@ +@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
+Tools\wget.exe -O tmp\build.no http://svn.miranda-ng.org/main/trunk/build/build.no
+pushd tmp
+%GetVer%
+popd
+goto esclocal
+:localgetver
+pushd ..\..\build
+%GetVer%
+popd
+:esclocal
+rem end
+
+rem Make
+if defined ProgramFiles(x86) (
+ "%ProgramFiles(x86)%\%Compile32%
+ "%ProgramFiles(x86)%\%Compile64%
+) else (
+ "%ProgramFiles%\%Compile32%
+ "%ProgramFiles%\%Compile64%
+)
+rem end
\ No newline at end of file |