Skip to content

Commit

Permalink
Fix #7766 - Test for ServerComponent, not ServerInstall
Browse files Browse the repository at this point in the history
  • Loading branch information
reevespaul committed Sep 27, 2023
1 parent 4bbc1ae commit f7cef11
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -891,18 +891,8 @@ end;


function IsServerInstall: Boolean;
var
SetupType: String;
begin

// DOC NOTE - WizardSetupType is not well documented. If parameter is set to
// True the Description of the setup type is returned. (This is useless for us
// as our descriptions are I18n'ised. ) If set False the string declared in
// the TYPES section is returned. BUT LOWERCASED! Aargh!!
// To protect against future changes each side is the comparison is lowercased.

SetupType := WizardSetupType ( false );
if LowerCase( SetupType ) = LowerCase( 'ServerInstall' ) then
if WizardIsComponentSelected('ServerComponent') then
Result := true
else
Result := False;
Expand Down

0 comments on commit f7cef11

Please sign in to comment.