OSDN Git Service

Create x64 version with InnoSetup5
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Sat, 29 Feb 2020 13:15:25 +0000 (22:15 +0900)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Sat, 29 Feb 2020 13:15:25 +0000 (22:15 +0900)
BuildInstaller.cmd

index 15bcc55..353789a 100644 (file)
@@ -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