From 72929d59725b41554bef2da8bd97348c13dc0737 Mon Sep 17 00:00:00 2001 From: Takashi Sawanaka Date: Fri, 24 Jul 2020 13:42:04 +0900 Subject: [PATCH] BuildInstaller.cmd: Since the installer created with Inno Setup 6.0.x is judged as malware by multiple virus scan engines, create the installer with Inno Setup 5.x. --- BuildInstaller.cmd | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/BuildInstaller.cmd b/BuildInstaller.cmd index 15bcc5572..353789a1b 100644 --- a/BuildInstaller.cmd +++ b/BuildInstaller.cmd @@ -9,25 +9,25 @@ goto :eof :BuildInstaller set PLATFORM=%1 -if "%PLATFORM%" == "x64" ( - for %%i in ("%LOCALAPPDATA%\Programs" "%ProgramFiles(x86)%" "%ProgramFiles%") do ( - if exist "%%~i\Inno Setup 6\iscc.exe" ( - "%%~i\Inno Setup 6\iscc.exe" "Installer\innosetup\WinMerge%PLATFORM%.is6.iss" || pause - goto :eof - ) else ( - if exist "%%~i\Inno Setup 5\iscc.exe" ( - "%%~i\Inno Setup 5\iscc.exe" "Installer\innosetup\WinMerge%PLATFORM%.iss" || pause - goto :eof - ) - ) - ) -) else ( +rem if "%PLATFORM%" == "x64" ( +rem for %%i in ("%LOCALAPPDATA%\Programs" "%ProgramFiles(x86)%" "%ProgramFiles%") do ( +rem if exist "%%~i\Inno Setup 6\iscc.exe" ( +rem "%%~i\Inno Setup 6\iscc.exe" "Installer\innosetup\WinMerge%PLATFORM%.is6.iss" || pause +rem goto :eof +rem ) else ( +rem if exist "%%~i\Inno Setup 5\iscc.exe" ( +rem "%%~i\Inno Setup 5\iscc.exe" "Installer\innosetup\WinMerge%PLATFORM%.iss" || pause +rem goto :eof +rem ) +rem ) +rem ) +rem ) else ( for %%i in ("%ProgramFiles(x86)%" "%ProgramFiles%") do ( if exist "%%~i\Inno Setup 5\iscc.exe" ( "%%~i\Inno Setup 5\iscc.exe" "Installer\innosetup\WinMerge%PLATFORM%.iss" || pause goto :eof ) ) -) +rem ) goto :eof -- 2.11.0