OSDN Git Service

Merge with stable
[winmerge-jp/winmerge-jp.git] / BuildInstaller.cmd
1 if "%1" == "" (
2   call :BuildInstaller
3   call :BuildInstaller x64
4 ) else (
5   call :BuildInstaller %1 
6 )
7 goto :eof
8
9 :BuildInstaller
10 set PLATFORM=%1
11
12 for %%i in ("%ProgramFiles(x86)%" "%ProgramFiles%") do (
13   if exist "%%~i\Inno Setup 5\iscc.exe" (
14     "%%~i\Inno Setup 5\iscc.exe" "Installer\innosetup\WinMerge%PLATFORM%.iss" || pause
15   )
16 )
17 goto :eof