templates: Don't hide path selection on first 'Static' install

Fixes #669
This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2021-10-18 10:14:05 +02:00
parent 1cb84fa6b5
commit f0c878aa3e

View file

@ -334,9 +334,14 @@ end;
function ShouldSkipPage(PageID: Integer): Boolean;
begin
Result := False;
if ((not IsPortablePagePortableChoiceChecked()) and (PageID = wpSelectDir)) then begin
Result := True;
end
if (PageID = wpSelectDir) then begin
if (not IsPortablePagePortableChoiceChecked()) then begin
if (IsUpgrade()) then begin
Result := True;
Exit;
end;
end;
end;
end;
// ------------------------------------------------------------------------------------------------------------------ //