Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 90aafd9

Browse files
committed
Version 2.4, address compiler warnings
1 parent c92cf06 commit 90aafd9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

ElixirWeb.iss

+4-6
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
[Setup]
2323
AppName=Elixir
24-
AppVersion=2.3
24+
AppVersion=2.4
2525
OutputBaseFilename=elixir-websetup
2626
SolidCompression=yes
2727

@@ -121,12 +121,11 @@ end;
121121
122122
procedure CurPageChanged(CurPageID: Integer);
123123
var
124-
ListBoxesToCheck: array[0..1] of TNewCheckListBox;
125124
_int: Integer;
126125
begin
127126
if CurPageID = wpPreparing then begin
128127
// We're on the page after the "Ready To Install" page but before [Files] and [Run] are processed
129-
if IsTaskSelected('unins_previous') then
128+
if WizardIsTaskSelected('unins_previous') then
130129
ExecAsOriginalUser(GetPreviousUninsExe, '/SILENT', '', SW_SHOW, ewWaitUntilTerminated, _int);
131130
end else if CurPageID = wpSelectTasks then begin
132131
if GetLatestErlangPath = '' then begin
@@ -141,7 +140,6 @@ end;
141140
function NextButtonClick(CurPageID: Integer): Boolean;
142141
var
143142
i: Integer;
144-
RefMatch: TObject;
145143
begin
146144
Result := True;
147145
@@ -156,10 +154,10 @@ begin
156154
end else if CurPageID = wpReady then begin
157155
GlobalPageDownload.Clear;
158156
with GlobalErlangData do begin
159-
if IsTaskSelected('erlang\32') then
157+
if WizardIsTaskSelected('erlang\32') then
160158
// 32-bit OTP needs to be downloaded before it's installed
161159
GlobalPageDownload.Add(URL32, Exe32, '');
162-
if IsTaskSelected('erlang\64') then
160+
if WizardIsTaskSelected('erlang\64') then
163161
// 64-bit OTP needs to be downloaded before it's installed
164162
GlobalPageDownload.Add(URL64, Exe64, '');
165163
end;

0 commit comments

Comments
 (0)