From 3f518b6f6987f10db21f96d22582ea109316a949 Mon Sep 17 00:00:00 2001 From: Masaru Tsuchiyama Date: Sun, 24 Jun 2018 18:59:58 +0900 Subject: [PATCH] =?UTF-8?q?x64=20=E7=89=88=E3=81=A8=20x86=20=E7=89=88?= =?UTF-8?q?=E3=81=A7=E4=BD=BF=E7=94=A8=E3=81=99=E3=82=8B=20iss=20=E3=83=95?= =?UTF-8?q?=E3=82=A1=E3=82=A4=E3=83=AB=E3=82=92=E5=88=87=E3=82=8A=E6=9B=BF?= =?UTF-8?q?=E3=81=88=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-installer.bat | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build-installer.bat b/build-installer.bat index 593e20a379..5d42944bc3 100644 --- a/build-installer.bat +++ b/build-installer.bat @@ -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%"