Skip to content

Commit f7cef11

Browse files
committed
Fix #7766 - Test for ServerComponent, not ServerInstall
1 parent 4bbc1ae commit f7cef11

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

builds/install/arch-specific/win32/FirebirdInstallEnvironmentChecks.inc

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -891,18 +891,8 @@ end;
891891

892892

893893
function IsServerInstall: Boolean;
894-
var
895-
SetupType: String;
896894
begin
897-
898-
// DOC NOTE - WizardSetupType is not well documented. If parameter is set to
899-
// True the Description of the setup type is returned. (This is useless for us
900-
// as our descriptions are I18n'ised. ) If set False the string declared in
901-
// the TYPES section is returned. BUT LOWERCASED! Aargh!!
902-
// To protect against future changes each side is the comparison is lowercased.
903-
904-
SetupType := WizardSetupType ( false );
905-
if LowerCase( SetupType ) = LowerCase( 'ServerInstall' ) then
895+
if WizardIsComponentSelected('ServerComponent') then
906896
Result := true
907897
else
908898
Result := False;

0 commit comments

Comments
 (0)