summaryrefslogtreecommitdiff
path: root/tools/installer_ng/make.bat
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-09-03 10:38:01 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-09-03 10:38:01 +0000
commit981c925ce5614ca231435c07e275fe249a9dc8e1 (patch)
tree9e892f989da2103a91372381bf9f0bab5a9c988c /tools/installer_ng/make.bat
parent31eac592209aa65e99141ab36f7f3ca1fb1d5641 (diff)
- more optimized way of doing things
git-svn-id: http://svn.miranda-ng.org/main/trunk@5913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/installer_ng/make.bat')
-rw-r--r--tools/installer_ng/make.bat12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/installer_ng/make.bat b/tools/installer_ng/make.bat
index 4a0bb47ebe..5dd403e6bf 100644
--- a/tools/installer_ng/make.bat
+++ b/tools/installer_ng/make.bat
@@ -1,6 +1,10 @@
@echo off
rem Download
mkdir tmp
+mkdir InnoNG_32\Installer
+mkdir InnoNG_64\Installer
+wget -O tmp\common.7z http://miranda-ng.org/distr/installer/common.7z
+wget -O tmp\MNG_Sounds.7z http://miranda-ng.org/distr/addons/Sounds/MNG_Sounds.7z
wget -O tmp\miranda-ng-alpha-latest.7z http://miranda-ng.org/distr/miranda-ng-alpha-latest.7z
wget -O tmp\miranda-ng-alpha-latest_x64.7z http://miranda-ng.org/distr/miranda-ng-alpha-latest_x64.7z
wget -O tmp\clist_blind_x32.zip http://miranda-ng.org/x32/Plugins/clist_blind.zip
@@ -17,21 +21,29 @@ rem end
rem Extract
if defined ProgramFiles(x86) (
+ "%ProgramW6432%\7-zip\7z.exe" x tmp\common.7z -y -oInnoNG_32
+ "%ProgramW6432%\7-zip\7z.exe" x tmp\common.7z -y -oInnoNG_64
"%ProgramW6432%\7-zip\7z.exe" x tmp\miranda-ng-alpha-latest.7z -y -oInnoNG_32\Files
"%ProgramW6432%\7-zip\7z.exe" x tmp\clist_blind_x32.zip -y -oInnoNG_32\Files
"%ProgramW6432%\7-zip\7z.exe" x tmp\scriver_x32.zip -y -oInnoNG_32\Files
"%ProgramW6432%\7-zip\7z.exe" x tmp\miranda-ng-alpha-latest_x64.7z -y -oInnoNG_64\Files
"%ProgramW6432%\7-zip\7z.exe" x tmp\clist_blind_x64.zip -y -oInnoNG_64\Files
"%ProgramW6432%\7-zip\7z.exe" x tmp\scriver_x64.zip -y -oInnoNG_64\Files
+ "%ProgramW6432%\7-zip\7z.exe" x tmp\MNG_Sounds.7z -y -oInnoNG_32\Files
+ "%ProgramW6432%\7-zip\7z.exe" x tmp\MNG_Sounds.7z -y -oInnoNG_64\Files
"%ProgramW6432%\7-zip\7z.exe" x tmp\lang*.zip -y -oInnoNG_32\Files
"%ProgramW6432%\7-zip\7z.exe" x tmp\lang*.zip -y -oInnoNG_64\Files
) else (
+ "%ProgramFiles%\7-zip\7z.exe" x tmp\common.7z -y -oInnoNG_32
+ "%ProgramFiles%\7-zip\7z.exe" x tmp\common.7z -y -oInnoNG_64
"%ProgramFiles%\7-zip\7z.exe" x tmp\miranda-ng-alpha-latest.7z -y -oInnoNG_32\Files
"%ProgramFiles%\7-zip\7z.exe" x tmp\clist_blind_x32.zip -y -oInnoNG_32\Files
"%ProgramFiles%\7-zip\7z.exe" x tmp\scriver_x32.zip -y -oInnoNG_32\Files
"%ProgramFiles%\7-zip\7z.exe" x tmp\miranda-ng-alpha-latest_x64.7z -y -oInnoNG_64\Files
"%ProgramFiles%\7-zip\7z.exe" x tmp\clist_blind_x64.zip -y -oInnoNG_64\Files
"%ProgramFiles%\7-zip\7z.exe" x tmp\scriver_x64.zip -y -oInnoNG_64\Files
+ "%ProgramFiles%\7-zip\7z.exe" x tmp\MNG_Sounds.7z -y -oInnoNG_32\Files
+ "%ProgramFiles%\7-zip\7z.exe" x tmp\MNG_Sounds.7z -y -oInnoNG_64\Files
"%ProgramFiles%\7-zip\7z.exe" x tmp\lang*.zip -y -oInnoNG_32\Files
"%ProgramFiles%\7-zip\7z.exe" x tmp\lang*.zip -y -oInnoNG_64\Files
)