Skip to content

Commit

Permalink
x64 版と x86 版で使用する iss ファイルを切り替える
Browse files Browse the repository at this point in the history
  • Loading branch information
m-tmatma committed Jun 24, 2018
1 parent a778e60 commit 3f518b6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build-installer.bat
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ copy help\macro\macro.chm %INSTALLER_WORK%\
copy %platform%\%configuration%\*.exe %INSTALLER_WORK%\
copy %platform%\%configuration%\*.dll %INSTALLER_WORK%\

"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" installer\sakura.iss || (echo error && exit /b 1)
set SAKURA_ISS=installer\sakura.iss
if "%platform%" == "x64" (
set SAKURA_ISS=installer\sakura-x64.iss
)

"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" %SAKURA_ISS% || (echo error && exit /b 1)

if exist "%INSTALLER_RESOURCES%" rmdir /s /q "%INSTALLER_RESOURCES%"
if exist "%INSTALLER_WORK%" rmdir /s /q "%INSTALLER_WORK%"

0 comments on commit 3f518b6

Please sign in to comment.