summaryrefslogtreecommitdiff
path: root/tools/build_scripts/z6_CompileInstallers.bat
diff options
context:
space:
mode:
authorwatcherhd <watcherhd@gmail.com>2017-08-05 18:28:13 +0300
committerwatcherhd <watcherhd@gmail.com>2017-08-05 18:28:13 +0300
commit760c3ae475b4b39b486f72c7adb8c1f1d83b440f (patch)
treee3e08ebf880462db266321b8e1528f11d1b71cdf /tools/build_scripts/z6_CompileInstallers.bat
parent6b3e2962bcf7917e0593da3f5c3605e923889fe2 (diff)
build scripts for those who are willing to keep it all going
Diffstat (limited to 'tools/build_scripts/z6_CompileInstallers.bat')
-rw-r--r--tools/build_scripts/z6_CompileInstallers.bat16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/build_scripts/z6_CompileInstallers.bat b/tools/build_scripts/z6_CompileInstallers.bat
new file mode 100644
index 0000000000..c474413af0
--- /dev/null
+++ b/tools/build_scripts/z6_CompileInstallers.bat
@@ -0,0 +1,16 @@
+call a_SetVar32.bat
+if not exist %ArchDistr% mkdir %ArchDistr%
+
+pushd tools\installer_ng
+call createstructure.bat
+mkdir tmp
+copy /V /Y ..\..\build\build.no tmp\build.no
+pushd tmp
+for /F "tokens=1,2,3 delims= " %%i in (build.no) do set MirVer=%%i.%%j.%%k
+popd
+"%ProgramFiles(x86)%\Inno Setup 5\ISCC.exe" /Dptx86 /DAppVer=%MirVer% /O"Output" "InnoNG_32\MirandaNG.iss"
+"%ProgramFiles(x86)%\Inno Setup 5\ISCC.exe" /DAppVer=%MirVer% /O"Output" "InnoNG_64\MirandaNG.iss"
+call cleanup.bat
+copy /V /Y Output\miranda-ng-alpha-latest*.exe "%ArchDistr%\"
+rd /S /Q Output
+popd \ No newline at end of file