You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: recipes/installer-inno/ri_gui.iss
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -103,23 +103,23 @@ begin
103
103
104
104
if update then
105
105
if msysdir <> '' then
106
-
if IsComponentSelected('msys2') then
106
+
if WizardIsComponentSelected('msys2') then
107
107
CompLabel.Caption :='ATTENTION: MSYS2 is already present in ' + msysdir + '. It will be deleted now and then re-installed. Additional installed pacman packages will be removed. Some gems might not work afterwards and must be re-installed.'
108
108
else
109
109
CompLabel.Caption :='Ruby in ' + ExpandConstant('{app}') + ' will be updated. MSYS2 seems to be already present in ' + msysdir + ' . It will kept untouched and will be reused for this Ruby installation. Optionally it can be updated per `ridk install` on the last page of the installer.'
110
110
else
111
-
if IsComponentSelected('msys2') then
111
+
if WizardIsComponentSelected('msys2') then
112
112
CompLabel.Caption :='Ruby in ' + ExpandConstant('{app}') + ' will be updated and MSYS2 will be installed into ' + ExpandConstant('{app}\{#MsysDir}') + '. Please run `ridk install` on the last installer page to initialize it. It can be updated later per `ridk install` as well.'
113
113
else
114
114
CompLabel.Caption :='Ruby in ' + ExpandConstant('{app}') + ' will be updated. It''s possible to install MSYS2 at the last page of the installer or to reuse an existing MSYS2 installation.'
115
115
else
116
116
if msysdir <> '' then
117
-
if IsComponentSelected('msys2') then
117
+
if WizardIsComponentSelected('msys2') then
118
118
CompLabel.Caption :='ATTENTION: MSYS2 is already present in ' + msysdir + '. It will be deleted now and then re-installed. Additional installed pacman packages will be removed. Some gems might not work afterwards and must be re-installed.'
119
119
else
120
120
CompLabel.Caption :='Ruby will be installed into ' + ExpandConstant('{app}') + '. MSYS2 seems to be already present in ' + msysdir + ' . It will kept untouched and will be re-used for this Ruby installation. Optionally it can be updated per `ridk install` on the last page of the installer.'
121
121
else
122
-
if IsComponentSelected('msys2') then
122
+
if WizardIsComponentSelected('msys2') then
123
123
CompLabel.Caption :='Ruby will be installed into ' + ExpandConstant('{app}') + ' and MSYS2 will be installed into ' + ExpandConstant('{app}\{#MsysDir}') + '. Please run `ridk install` on the last installer page to initialize it. It can be updated later per `ridk install` as well.'
124
124
else
125
125
CompLabel.Caption :='Ruby will be installed into ' + ExpandConstant('{app}') + ' without MSYS2. It''s possible to install MSYS2 at the last page of the installer or to reuse an existing MSYS2 installation.';
@@ -129,9 +129,10 @@ end;
129
129
130
130
procedure EnableMsys2Component(enable: Boolean);
131
131
begin
132
-
{* InnoSetup doesn't provide corresponding setter for IsComponentSelected, so that we alter the ComponentsList directly. *}
Copy file name to clipboardExpand all lines: recipes/installer-inno/rubyinstaller.iss.erb
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ en.SelectDirDesc=
83
83
en.SelectDirLabel3=Setup will install [name] into the following folder. Click Install to continue or click Browse to use a different one.
84
84
en.SelectDirBrowseLabel=Please avoid any folder name that contains spaces (e.g. Program Files).
85
85
en.DiskSpaceMBLabel=Required free disk space: ~[mb] MB
86
-
en.DirExists=The folder:%n%n%1%n%nalready exists. Would you like to install to that folder anyway?%n%nOverwriting a Ruby version with the same major and minor version usually works, but for example Ruby-2.5.0 over 2.4.0 doesn't.
86
+
en.DirExists=The folder:%n%n%1%n%nalready exists. Would you like to install to that folder anyway?%n%nOverwriting a Ruby version with the same major and minor version usually works, but for example Ruby-3.4.0 over 3.3.0 doesn't.
0 commit comments