exists key whose ( exists value "DisplayName"ofitAND value "DisplayName"ofit="BigFix Enterprise Client"AND name ofitstartswith"{" ) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
exists key whose (exists value "DisplayName"ofitAND value "DisplayName"ofit="BigFix Enterprise Client"AND name ofitstartswith"{") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
( notexists key "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall"of registry AND firewall enabled of current profile of local policy of firewall ) OR ( exists key ( "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\" & ( if ( current profile type of firewall = domain firewall profile type ) then ( "DomainProfile" ) else ( "StandardProfile" ) ) ) whose ( value "EnableFirewall"ofit=1 ) of registry )
(notexists key "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall"of registry AND firewall enabled of current profile of local policy of firewall) OR (exists key ("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\" & (if (current profile type of firewall = domain firewall profile type) then ("DomainProfile") else ("StandardProfile"))) whose (value "EnableFirewall"ofit=1) of registry)
exists key ( if ( exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall"of registry ) then ( "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\" ) else ( "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\" ) & ( if ( current profile type of firewall = domain firewall profile type ) then ( "DomainProfile" ) else ( "StandardProfile" ) ) ) whose ( value "DoNotAllowExceptions"ofit=1 ) of registry OR ( ( notexists globally open port whose ( port ofitas string = ( value "ListenPort"of key "HKLM\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions"of registry as string ) AND protocol ofit= udp AND enabled ofit ) ofitANDnotexists authorized application whose ( process image file name ofitas lowercase ends with"besclient.exe"AND enabled ofit ) ofit ) of current profile of local policy of firewall ANDexists internet connection firewall whose ( enabled ofitANDnotexists port mapping whose ( enabled ofitAND protocol ofit="udp"AND internal port ofitas string = ( value "ListenPort"of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions"of registry ) as string ) ofit ) of adapters of network )
exists key (if (exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall"of registry) then ("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\") else ("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\") & (if (current profile type of firewall = domain firewall profile type) then ("DomainProfile") else ("StandardProfile"))) whose (value "DoNotAllowExceptions"ofit=1) of registry OR ((notexists globally open port whose (port ofitas string = (value "ListenPort"of key "HKLM\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions"of registry as string) AND protocol ofit= udp AND enabled ofit) ofitANDnotexists authorized application whose (process image file name ofitas lowercase ends with"besclient.exe"AND enabled ofit) ofit) of current profile of local policy of firewall ANDexists internet connection firewall whose (enabled ofitANDnotexists port mapping whose (enabled ofitAND protocol ofit="udp"AND internal port ofitas string = (value "ListenPort"of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions"of registry) as string) ofit) of adapters of network)
( maximum seat count of client license >= 250and maximum seat count of client license < 1000and ( speed of main processor < 1400 * mhz or ( if ( it > 128 ) then ( ( ( it / 32 ) * 32 ) + ( if ( it mod 32 > 16 ) then32else0 ) ) elseit ) of ( size of ram / ( 1024*1024 ) ) < 256 ) ) OR ( maximum seat count of client license >= 1000and maximum seat count of client license < 5000and ( speed of main processor < 2000 * mhz or ( if ( it > 128 ) then ( ( ( it / 32 ) * 32 ) + ( if ( it mod 32 > 16 ) then32else0 ) ) elseit ) of ( size of ram / ( 1024*1024 ) ) < 512 ) ) OR ( maximum seat count of client license >= 5000and maximum seat count of client license < 10000and ( speed of main processor < 1800 * mhz or number of processors < 2or ( if ( it > 128 ) then ( ( ( it / 32 ) * 32 ) + ( if ( it mod 32 > 16 ) then32else0 ) ) elseit ) of ( size of ram / ( 1024*1024 ) ) < 512 ) ) OR ( maximum seat count of client license >= 10000and maximum seat count of client license < 25000and ( speed of main processor < 2000 * mhz or number of processors < 2or ( if ( it > 128 ) then ( ( ( it / 32 ) * 32 ) + ( if ( it mod 32 > 16 ) then32else0 ) ) elseit ) of ( size of ram / ( 1024*1024 ) ) < 1024 ) ) OR ( maximum seat count of client license >= 25000and maximum seat count of client license < 50000and ( speed of main processor < 2400 * mhz or number of processors < 2or ( if ( it > 128 ) then ( ( ( it / 32 ) * 32 ) + ( if ( it mod 32 > 16 ) then32else0 ) ) elseit ) of ( size of ram / ( 1024*1024 ) ) < 2048 ) ) OR ( maximum seat count of client license >= 50000and maximum seat count of client license < 75000and ( speed of main processor < 2000 * mhz or number of processors < 4or ( if ( it > 128 ) then ( ( ( it / 32 ) * 32 ) + ( if ( it mod 32 > 16 ) then32else0 ) ) elseit ) of ( size of ram / ( 1024*1024 ) ) < 2048 ) ) OR ( maximum seat count of client license >= 75000and maximum seat count of client license < 125000and ( speed of main processor < 2400 * mhz or number of processors < 4or ( if ( it > 128 ) then ( ( ( it / 32 ) * 32 ) + ( if ( it mod 32 > 16 ) then32else0 ) ) elseit ) of ( size of ram / ( 1024*1024 ) ) < 4096 ) ) OR ( maximum seat count of client license >= 125000and ( speed of main processor < 3000 * mhz or number of processors < 8or ( if ( it > 128 ) then ( ( ( it / 32 ) * 32 ) + ( if ( it mod 32 > 16 ) then32else0 ) ) elseit ) of ( size of ram / ( 1024*1024 ) ) < 8192 ) )
(maximum seat count of client license >= 250and maximum seat count of client license < 1000and (speed of main processor < 1400 * mhz or (if (it > 128) then ( ((it / 32) * 32) + (if (it mod 32 > 16) then32else0) ) elseit) of (size of ram / (1024*1024)) < 256)) OR (maximum seat count of client license >= 1000and maximum seat count of client license < 5000and (speed of main processor < 2000 * mhz or (if (it > 128) then ( ((it / 32) * 32) + (if (it mod 32 > 16) then32else0) ) elseit) of (size of ram / (1024*1024)) < 512)) OR (maximum seat count of client license >= 5000and maximum seat count of client license < 10000and (speed of main processor < 1800 * mhz or number of processors < 2or (if (it > 128) then ( ((it / 32) * 32) + (if (it mod 32 > 16) then32else0) ) elseit) of (size of ram / (1024*1024)) < 512)) OR (maximum seat count of client license >= 10000and maximum seat count of client license < 25000and (speed of main processor < 2000 * mhz or number of processors < 2or (if (it > 128) then ( ((it / 32) * 32) + (if (it mod 32 > 16) then32else0) ) elseit) of (size of ram / (1024*1024)) < 1024)) OR (maximum seat count of client license >= 25000and maximum seat count of client license < 50000and (speed of main processor < 2400 * mhz or number of processors < 2or (if (it > 128) then ( ((it / 32) * 32) + (if (it mod 32 > 16) then32else0) ) elseit) of (size of ram / (1024*1024)) < 2048)) OR (maximum seat count of client license >= 50000and maximum seat count of client license < 75000and (speed of main processor < 2000 * mhz or number of processors < 4or (if (it > 128) then ( ((it / 32) * 32) + (if (it mod 32 > 16) then32else0) ) elseit) of (size of ram / (1024*1024)) < 2048)) OR (maximum seat count of client license >= 75000and maximum seat count of client license < 125000and (speed of main processor < 2400 * mhz or number of processors < 4or (if (it > 128) then ( ((it / 32) * 32) + (if (it mod 32 > 16) then32else0) ) elseit) of (size of ram / (1024*1024)) < 4096)) OR (maximum seat count of client license >= 125000and (speed of main processor < 3000 * mhz or number of processors < 8or (if (it > 128) then ( ((it / 32) * 32) + (if (it mod 32 > 16) then32else0) ) elseit) of (size of ram / (1024*1024)) < 8192))
number of keys whose ( value "DisplayVersion"ofitas string as version ="10"AND ( character 1ofit="9"AND ( it="0"ORit="1" ) of character 2ofitAND ( it="11"ORit="12"ORit="13"ORit="28"ORit="15"ORit="16"ORit="17"ORit="18"ORit="19"ORit="1A"ORit="1B"ORit="27"ORit="29"ORit="2A"ORit="2B"ORit="3A"ORit="3B"ORit="51"ORit="54" ) of first 2of following text of first 3ofitAND ( preceding text of first "%7D"ofit ends with"6000-11D3-8CFE-0050048383C9" ) ) of name ofit ) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry > 1
number of keys whose (value "DisplayVersion"ofitas string as version ="10"AND (character 1ofit="9"AND (it="0"ORit="1") of character 2ofitAND (it="11"ORit="12"ORit="13"ORit="28"ORit="15"ORit="16"ORit="17"ORit="18"ORit="19"ORit="1A"ORit="1B"ORit="27"ORit="29"ORit="2A"ORit="2B"ORit="3A"ORit="3B"ORit="51"ORit="54") of first 2of following text of first 3ofitAND (preceding text of first "%7D"ofit ends with"6000-11D3-8CFE-0050048383C9")) of name ofit) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry > 1
exists key ( if ( exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall"of registry ) then ( "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\" ) else ( "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\" ) & ( if ( current profile type of firewall = domain firewall profile type ) then ( "DomainProfile" ) else ( "StandardProfile" ) ) ) whose ( value "DoNotAllowExceptions"ofit=1 ) of registry OR ( ( notexists globally open port whose ( enabled ofitAND port ofitas string = ( value "ListenPort"of key "HKLM\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions"of registry as string ) AND protocol ofit= tcp ) of current profile of local policy of firewall ) AND ( exists internet connection firewall whose ( enabled ofitAND ( notexists port mapping whose ( enabled ofitAND protocol ofit="tcp"AND internal port ofitas string = ( value "ListenPort"of key "HKLM\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions"of registry as string ) ) ofit ) ) of adapters of network ) AND ( notexists authorized application whose ( enabled ofitAND ( it ends with"besrelay.exe"ORit ends with"filldb.exe" ) of ( process image file name ofitas lowercase ) ) of current profile of local policy of firewall ) ) OR ( ( notexists globally open port whose ( enabled ofitAND port ofitas string = ( value "ListenPort"of key "HKLM\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions"of registry as string ) AND protocol ofit= udp ) of current profile of local policy of firewall ) AND ( exists internet connection firewall whose ( enabled ofitAND ( notexists port mapping whose ( enabled ofitAND protocol ofit="udp"AND internal port ofitas string = ( value "ListenPort"of key "HKLM\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions"of registry as string ) ) ofit ) ) of adapters of network ) AND ( notexists authorized application whose ( enabled ofitAND ( it ends with"besclient.exe" ) of ( process image file name ofitas lowercase ) ) of current profile of local policy of firewall ) )
exists key (if (exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall"of registry) then ("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\") else ("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\") & (if (current profile type of firewall = domain firewall profile type) then ("DomainProfile") else ("StandardProfile"))) whose (value "DoNotAllowExceptions"ofit=1) of registry OR ((notexists globally open port whose (enabled ofitAND port ofitas string = (value "ListenPort"of key "HKLM\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions"of registry as string) AND protocol ofit= tcp) of current profile of local policy of firewall) AND (exists internet connection firewall whose (enabled ofitAND (notexists port mapping whose (enabled ofitAND protocol ofit="tcp"AND internal port ofitas string = (value "ListenPort"of key "HKLM\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions"of registry as string)) ofit)) of adapters of network) AND (notexists authorized application whose (enabled ofitAND (it ends with"besrelay.exe"ORit ends with"filldb.exe") of (process image file name ofitas lowercase)) of current profile of local policy of firewall)) OR ((notexists globally open port whose (enabled ofitAND port ofitas string = (value "ListenPort"of key "HKLM\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions"of registry as string) AND protocol ofit= udp) of current profile of local policy of firewall) AND (exists internet connection firewall whose (enabled ofitAND (notexists port mapping whose (enabled ofitAND protocol ofit="udp"AND internal port ofitas string = (value "ListenPort"of key "HKLM\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions"of registry as string)) ofit)) of adapters of network) AND (notexists authorized application whose (enabled ofitAND (it ends with"besclient.exe") of (process image file name ofitas lowercase)) of current profile of local policy of firewall))
exists key whose ( value "DisplayName"ofitas string contains"BigFix Enterprise Suite Installation Generator"AND value "DisplayVersion"ofitas string as version < "6.0.28.4"AND value "DisplayVersion"ofitas string as version !="6.0.8.5" ) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
exists key whose (value "DisplayName"ofitas string contains"BigFix Enterprise Suite Installation Generator"AND value "DisplayVersion"ofitas string as version < "6.0.28.4"AND value "DisplayVersion"ofitas string as version !="6.0.8.5") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
exists key whose ( ( value "DisplayName"ofit="BES Relay"OR value "DisplayName"ofit="BigFix Enterprise Relay" ) AND value "DisplayVersion"ofitas string as version < "6.0" ) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
exists key whose ((value "DisplayName"ofit="BES Relay"OR value "DisplayName"ofit="BigFix Enterprise Relay") AND value "DisplayVersion"ofitas string as version < "6.0") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
exists key whose ( ( value "DisplayName"ofit="BigFix Enterprise Suite API"or value "DisplayName"ofit="BigFix Enterprise Server API" ) AND value "DisplayVersion"ofitas string as version < "6.0.28.4"AND value "DisplayVersion"ofitas string as version !="6.0.8.5" ) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
exists key whose ((value "DisplayName"ofit="BigFix Enterprise Suite API"or value "DisplayName"ofit="BigFix Enterprise Server API") AND value "DisplayVersion"ofitas string as version < "6.0.28.4"AND value "DisplayVersion"ofitas string as version !="6.0.8.5") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
exists key whose ( ( value "DisplayName"ofit="BES Relay"OR value "DisplayName"ofit="BigFix Enterprise Relay" ) AND value "DisplayVersion"ofitas string as version < "6.0.5.13"AND value "DisplayVersion"ofitas string as version >= "6.0" ) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
exists key whose ((value "DisplayName"ofit="BES Relay"OR value "DisplayName"ofit="BigFix Enterprise Relay") AND value "DisplayVersion"ofitas string as version < "6.0.5.13"AND value "DisplayVersion"ofitas string as version >= "6.0") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
if ( name of operating system startswith"Win" ) then ( ( exists key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\BESPendingRestart"ofitANDexists value "BESPendingRestart"of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\BESPendingRestart"ofit ) of registry OR ( exists key "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce"ofitANDexists value "BESPendingRestart"of key "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce"ofit ) of registry ) else ( true )
if(name of operating system startswith"Win") then((exists key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\BESPendingRestart"ofitANDexists value "BESPendingRestart"of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\BESPendingRestart"ofit) of registry OR (exists key "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce"ofitANDexists value "BESPendingRestart"of key "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce"ofit) of registry) else (true)
NOT ( exists key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\BESPendingRestart"ofitANDexists value "BESPendingRestart"of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\BESPendingRestart"ofit ) of registry ANDNOT ( exists key "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce"ofitANDexists value "BESPendingRestart"of key "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce"ofit ) of registry
NOT (exists key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\BESPendingRestart"ofitANDexists value "BESPendingRestart"of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\BESPendingRestart"ofit) of registry ANDNOT (exists key "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce"ofitANDexists value "BESPendingRestart"of key "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce"ofit) of registry
( version of regapp "iexplore.exe" < "5" ) OR ( ( version of regapp "iexplore.exe"="5" ) AND ( first 4of ( value "IE"of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version Vector"of registry as string ) < "5.50" ) ) OR ( ( version of regapp "iexplore.exe"="5" ) AND ( first 4of ( value "IE"of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version Vector"of registry as string ) ="5.50"AND ( ( notexists value "MinorVersion"of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings"of registry ) OR ( value "MinorVersion"of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings"of registry as string as lowercase does not contain "sp2" ) ) ) )
(version of regapp "iexplore.exe" < "5") OR ((version of regapp "iexplore.exe"="5") AND (first 4of (value "IE"of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version Vector"of registry as string) < "5.50")) OR ((version of regapp "iexplore.exe"="5") AND (first 4of (value "IE"of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version Vector"of registry as string) ="5.50"AND ((notexists value "MinorVersion"of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings"of registry) OR (value "MinorVersion"of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings"of registry as string as lowercase does not contain "sp2"))))
exists key whose ( value "DisplayName"ofitas string contains"BigFix Enterprise Suite Installation Generator"AND value "DisplayVersion"ofitas string as version < "6.0.8.5"AND value "DisplayVersion"ofitas string as version >= "6.0" ) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
exists key whose (value "DisplayName"ofitas string contains"BigFix Enterprise Suite Installation Generator"AND value "DisplayVersion"ofitas string as version < "6.0.8.5"AND value "DisplayVersion"ofitas string as version >= "6.0") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
exists key whose ( ( value "DisplayName"ofit="BES Relay"OR value "DisplayName"ofit="BigFix Enterprise Relay" ) AND value "DisplayVersion"ofitas string as version < "6.0.8.5"AND value "DisplayVersion"ofitas string as version >= "6.0" ) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
exists key whose ((value "DisplayName"ofit="BES Relay"OR value "DisplayName"ofit="BigFix Enterprise Relay") AND value "DisplayVersion"ofitas string as version < "6.0.8.5"AND value "DisplayVersion"ofitas string as version >= "6.0") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
exists key whose ( ( value "DisplayName"ofit="BES Relay"OR value "DisplayName"ofit="BigFix Enterprise Relay" ) AND value "DisplayVersion"ofitas string as version >= "6.0.5.13"AND value "DisplayVersion"ofitas string as version < "6.0.28.4"AND value "DisplayVersion"ofitas string as version !="6.0.8.5" ) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry
exists key whose ((value "DisplayName"ofit="BES Relay"OR value "DisplayName"ofit="BigFix Enterprise Relay") AND value "DisplayVersion"ofitas string as version >= "6.0.5.13"AND value "DisplayVersion"ofitas string as version < "6.0.28.4"AND value "DisplayVersion"ofitas string as version !="6.0.8.5") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"of registry