diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-10-27 21:56:10 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-10-27 21:56:10 +0000 |
commit | 2e4bc75def474025b0d7632afecf7b551e3431fa (patch) | |
tree | 4077a4b6049ac977e34cc9d7ab246a33ab0305e0 /tools/installer_ng_stable/createstructure.bat | |
parent | 7db6db8e02b6ed690f2b117a59b9240a7462a31f (diff) |
stable version installer scripts
git-svn-id: http://svn.miranda-ng.org/main/trunk@6651 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/installer_ng_stable/createstructure.bat')
-rw-r--r-- | tools/installer_ng_stable/createstructure.bat | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/tools/installer_ng_stable/createstructure.bat b/tools/installer_ng_stable/createstructure.bat new file mode 100644 index 0000000000..5a012c0912 --- /dev/null +++ b/tools/installer_ng_stable/createstructure.bat @@ -0,0 +1,51 @@ +@echo off
+rem Get version
+if not exist tmp mkdir tmp
+if exist tmp\build.no goto mkver
+Tools\wget.exe -O tmp\build.no http://svn.miranda-ng.org/main/trunk/build/build.no
+:mkver
+pushd tmp
+for /F "tokens=1,2 delims= " %%i in (build.no) do set ver1=%%i.%%j
+for /F "tokens=3 delims= " %%k in (build.no) do (set /a "ver2=%%k-1")
+set Mirver=%ver1%.%ver2%
+del /F /Q build.no
+popd
+rem end
+
+rem Create directories and copy script
+mkdir InnoNG_32
+mkdir InnoNG_64
+copy /V /Y MirandaNG.iss InnoNG_32\
+copy /V /Y MirandaNG.iss InnoNG_64\
+xcopy Common\* InnoNG_32 /I /S /V /Y
+xcopy Common\* InnoNG_64 /I /S /V /Y
+rem end
+
+rem Download
+Tools\wget.exe -O tmp\miranda-ng-v%MirVer%.7z http://miranda-ng.org/distr/stable/miranda-ng-v%MirVer%.7z
+Tools\wget.exe -O tmp\miranda-ng-v%MirVer%_x64.7z http://miranda-ng.org/distr/stable/miranda-ng-v%MirVer%_x64.7z
+Tools\wget.exe -O tmp\MNG_Sounds.7z http://miranda-ng.org/distr/addons/Sounds/MNG_Sounds.7z
+Tools\wget.exe -O tmp\clist_blind_x32.zip http://miranda-ng.org/distr/stable/x32/Plugins/clist_blind.zip
+Tools\wget.exe -O tmp\clist_blind_x64.zip http://miranda-ng.org/distr/stable/x64/Plugins/clist_blind.zip
+Tools\wget.exe -O tmp\scriver_x32.zip http://miranda-ng.org/distr/stable/x32/Plugins/scriver.zip
+Tools\wget.exe -O tmp\scriver_x64.zip http://miranda-ng.org/distr/stable/x64/Plugins/scriver.zip
+Tools\wget.exe -O tmp\langpack_czech.zip http://miranda-ng.org/distr/stable/x32/langpack_czech.zip
+Tools\wget.exe -O tmp\langpack_german.zip http://miranda-ng.org/distr/stable/x32/langpack_german.zip
+Tools\wget.exe -O tmp\langpack_polish.zip http://miranda-ng.org/distr/stable/x32/langpack_polish.zip
+Tools\wget.exe -O tmp\langpack_russian.zip http://miranda-ng.org/distr/stable/x32/langpack_russian.zip
+Tools\wget.exe -O InnoNG_32\Installer\vcredist_x86.exe http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe
+Tools\wget.exe -O InnoNG_64\Installer\vcredist_x64.exe http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe
+rem end
+
+rem Extract
+..\7-zip\7z.exe x tmp\miranda-ng-v%MirVer%.7z -y -oInnoNG_32\Files
+..\7-zip\7z.exe x tmp\clist_blind_x32.zip -y -oInnoNG_32\Files
+..\7-zip\7z.exe x tmp\scriver_x32.zip -y -oInnoNG_32\Files
+..\7-zip\7z.exe x tmp\miranda-ng-v%MirVer%_x64.7z -y -oInnoNG_64\Files
+..\7-zip\7z.exe x tmp\clist_blind_x64.zip -y -oInnoNG_64\Files
+..\7-zip\7z.exe x tmp\scriver_x64.zip -y -oInnoNG_64\Files
+..\7-zip\7z.exe x tmp\MNG_Sounds.7z -y -oInnoNG_32\Files
+..\7-zip\7z.exe x tmp\MNG_Sounds.7z -y -oInnoNG_64\Files
+..\7-zip\7z.exe x tmp\lang*.zip -y -oInnoNG_32\Files
+..\7-zip\7z.exe x tmp\lang*.zip -y -oInnoNG_64\Files
+rem end
\ No newline at end of file |