diff --git a/win32/compile.sh b/win32/compile.sh index 2ab52d697..36866e0f9 100644 --- a/win32/compile.sh +++ b/win32/compile.sh @@ -11,9 +11,11 @@ else fi echo "Building installer ... " -result=`/C/Program\ Files\ \(x86\)/Inno\ Setup\ 6/ISCC tuxpaint-${arch}.iss | grep installer.exe` +result=`/C/Program\ Files\ \(x86\)/Inno\ Setup\ 6/ISCC -DBuildTarget=${arch} tuxpaint.iss | grep installer.exe` if [ "x$result" != "x" ]; then installer=`basename $result` +else + exit fi echo "Building portable zip archive ... " diff --git a/win32/tuxpaint.iss b/win32/tuxpaint.iss index 9075d378b..7584f4714 100644 --- a/win32/tuxpaint.iss +++ b/win32/tuxpaint.iss @@ -6,8 +6,7 @@ ; ; Should we change this to Tux4Kids? -bjk 2011.06.15 -; Fixme: /D option for iscc.exe seems to work only on windows command prompt. -; You should manually edit the following lines to specify the build target +; Edit the following lines or use -D (or /D) option for iscc.exe to specify the build target. #ifndef BuildTarget ;#define BuildTarget "i686" #define BuildTarget "x86_64"