summary refs log tree commit diff stats
path: root/build/build-x86.bat
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-11-23 01:35:45 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-11-23 01:35:45 +0100
commitb4f5cff06552e3e9a68c93d93bbed9aa972a23d1 (patch)
treea19e1696118bccc2c4b7441c873b02857b55d93f /build/build-x86.bat
parent362a83cb2624478bc1de26c7f24ffff5d726de2b (diff)
separate x86 and x64 inno setup installers
Diffstat (limited to 'build/build-x86.bat')
-rw-r--r--build/build-x86.bat20
1 files changed, 11 insertions, 9 deletions
diff --git a/build/build-x86.bat b/build/build-x86.bat
index fb811920..08f1413a 100644
--- a/build/build-x86.bat
+++ b/build/build-x86.bat
@@ -7,19 +7,19 @@ set DEV_32=%cd%\..\dep-x86
 set PATH=%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\VC\bin;%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\Common7\IDE;%PROGRAMFILES(X86)%\Microsoft SDKs\Windows\v7.0A\Bin;%DEV_32%\bin
 set PERL_512=c:\mozilla-build\perl-5.12-x86\perl
 set PERL_514=c:\mozilla-build\perl-5.14-x86
-echo [Setup] > xchat-wdk.iss
-echo WizardImageFile=%cd%\bitmaps\wizardimage.bmp >> xchat-wdk.iss
-echo WizardSmallImageFile=%cd%\bitmaps\wizardsmallimage.bmp >> xchat-wdk.iss
+echo [Setup] > xchat-wdk-x86.iss
+echo WizardImageFile=%cd%\bitmaps\wizardimage.bmp >> xchat-wdk-x86.iss
+echo WizardSmallImageFile=%cd%\bitmaps\wizardsmallimage.bmp >> xchat-wdk-x86.iss
 del version.exe
 cl /nologo version.c
-version -a >> xchat-wdk.iss
-version -v >> xchat-wdk.iss
-version -i >> xchat-wdk.iss
-version -o >> xchat-wdk.iss
+version -a32 >> xchat-wdk-x86.iss
+version -v >> xchat-wdk-x86.iss
+version -i >> xchat-wdk-x86.iss
+version -o32 >> xchat-wdk-x86.iss
 cd ..
 build\version -r > resource.h
-echo SetupIconFile=%cd%\xchat.ico >> build\xchat-wdk.iss
-type build\xchat-wdk.skel.iss >> build\xchat-wdk.iss
+echo SetupIconFile=%cd%\xchat.ico >> build\xchat-wdk-x86.iss
+type build\xchat-wdk-x86.skel.iss >> build\xchat-wdk-x86.iss
 cd src
 echo DEV = %DEV_32% > makeinc.mak
 type makeinc.skel.mak >> makeinc.mak
@@ -40,4 +40,6 @@ cd ..\..\build
 call compile-po-files.bat
 set PATH=%OPATH%
 call release-x86.bat
+set PATH=%PROGRAMFILES(X86)%\Inno Setup 5
+compil32 /cc xchat-wdk-x86.iss
 pause