sakura-editor / sakura

SAKURA Editor (Japanese text editor for MS Windows)
https://sakura-editor.github.io/
Other
1.24k stars 163 forks source link

innosetup-6.0.2.exe への対応を検討する #875

Open m-tmatma opened 5 years ago

m-tmatma commented 5 years ago

要望機能

innosetup-6.0.2.exe がリリースされているので対応を検討する http://www.jrsoftware.org/isdl.php

m-tmatma commented 5 years ago

innosetup-6.0.2.exe は Unicode Inno Setup self-installing package です。

m-tmatma commented 5 years ago

fc75418cbc433a38ee0a01ed44a901fc46efabb0 で以下を修正して試してみたら

diff --git a/tools/find-tools.bat b/tools/find-tools.bat
index f59f94f8..9c00fa4f 100644
--- a/tools/find-tools.bat
+++ b/tools/find-tools.bat
@@ -56,7 +56,7 @@ for /f "usebackq delims=" %%a in (`where $PATH2:hhc.exe`) do (
 exit /b

 :iscc
-set APPDIR=Inno Setup 5
+set APPDIR=Inno Setup 6
 set PATH2=%PATH%;%ProgramFiles%\%APPDIR%\;%ProgramFiles(x86)%\%APPDIR%\;%ProgramW6432%\%APPDIR%\;
 for /f "usebackq delims=" %%a in (`where $PATH2:ISCC.exe`) do (
     set "CMD_ISCC=%%a"

以下のエラーになった。

  running "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" installer\sakura-Win32.iss
Error on line 45 in D:\...\sakura\installer\sakura-common.iss: Minimum NT version specified by MinVersion must be at least 6.0. (Windows 2000/XP/Server 2003 are no longer supported.)
Compile aborted.

そして以下を修正したらコンパイル通った。

index 6bbd761d..603bf4f6 100644
--- a/installer/sakura-common.iss
+++ b/installer/sakura-common.iss
@@ -42,7 +42,7 @@ VersionInfoVersion={#MyAppVer}
 VersionInfoProductVersion={#MyAppVer}

 ; OS<E3><83><90><E3><83><BC><E3><82><B8><E3><83><A7><E3><83><B3><E5><88><B6><E9><99><90>
-MinVersion=0,5.0
+MinVersion=0,6.0
m-tmatma commented 5 years ago

以下変更履歴 https://jrsoftware.github.io/issrc/whatsnew.htm

berryzplus commented 5 years ago

以下変更履歴 https://jrsoftware.github.io/issrc/whatsnew.htm

2019/04/26(GW入る直前)にbetaが取れてリリースされたんですね。 以下の変更がリストされているのを確認しますた。

6.0.0-beta (2019-02-11) Other changes •OS requirements change: Windows 2000, XP, and Server 2003 are no longer supported. Windows Vista is now the minimum supported operating system.

berryzplus commented 5 years ago

issを変更せずに 6.0 に移行しても大丈夫? 互換性チェックは、誰かやってるんですかね?

v6.0を使ってみたくてインストールした人がv6.0を使うのは自由にやればよいと思います。 自由意思でツールを変えるなら、未知の非互換に捕まる可能性くらい織り込んでいるはずなので。 「みんなで人柱路線ですか?」とよく聞きますが、こういう前提で話しています。

m-tmatma commented 5 years ago

一応、Inno Setup 5 がインストールされていれば Inno Setup 5 を優先して使います。 Inno Setup 6 しかインストールしてされていない場合は Inno Setup 6 を使います。