exists file whose ( name ofitas string ="rmdir.bat"OR name ofitas string ="client.bat" ) of folder ( pathname of client folder of site "bessupport" ) ORexists folder "__besdiag"of folder ( pathname of client folder of site "bessupport" )
exists file whose (name ofitas string ="rmdir.bat"OR name ofitas string ="client.bat") of folder (pathname of client folder of site "bessupport") ORexists folder "__besdiag"of folder (pathname of client folder of site "bessupport")
( ( language of version block of file "kernel32.dll"of system folder does not contain "English" ) AND ( notexists values of keys "HKLM\System\CurrentControlSet\Control\Nls\MUILanguages"of registry ) )
((language of version block of file "kernel32.dll"of system folder does not contain "English") AND (notexists values of keys "HKLM\System\CurrentControlSet\Control\Nls\MUILanguages"of registry))
exists folder "/opt/BESClient/BESLib/Inspectors"AND ( setuid of mode of folder "/opt/BESClient/BESLib/Inspectors"OR setgid of mode of folder "/opt/BESClient/BESLib/Inspectors"OR sticky of mode of folder "/opt/BESClient/BESLib/Inspectors" )
exists folder "/opt/BESClient/BESLib/Inspectors"AND (setuid of mode of folder "/opt/BESClient/BESLib/Inspectors"OR setgid of mode of folder "/opt/BESClient/BESLib/Inspectors"OR sticky of mode of folder "/opt/BESClient/BESLib/Inspectors")
( free space of drive ( first 2of ( value "value"of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client\_BESRelay_HTTPServer_ServerRootPath"of x32 registry as string ) ) + ( sum of ( sizes of files of folders of folder ( ( if ( value of setting "_BESRelay_HTTPServer_ServerRootPath"of client ) ends with"\"then ( ( value of setting "_BESRelay_HTTPServer_ServerRootPath"of client ) & "bfmirror\downloads" ) else ( ( value of setting "_BESRelay_HTTPServer_ServerRootPath"of client ) & "\bfmirror\downloads" ) ) ) ) ) ) <free space of drive whose ( type ofit="DRIVE_FIXED"AND free space ofit= maximum of ( free spaces of drives whose ( type ofit="DRIVE_FIXED" ) ) )
(free space of drive (first 2of (value "value"of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client\_BESRelay_HTTPServer_ServerRootPath"of x32 registry as string)) + (sum of (sizes of files of folders of folder ((if(value of setting "_BESRelay_HTTPServer_ServerRootPath"of client) ends with"\"then ((value of setting "_BESRelay_HTTPServer_ServerRootPath"of client) & "bfmirror\downloads") else ((value of setting "_BESRelay_HTTPServer_ServerRootPath"of client) & "\bfmirror\downloads")))))) <free space of drive whose (type ofit="DRIVE_FIXED"AND free space ofit= maximum of (free spaces of drives whose (type ofit="DRIVE_FIXED")))
( ( itstartswith"linux red hat"ANDit does not contain "enterprise"AND ( following text of last " "ofitas version ="8.0"OR following text of last " "ofitas version ="9.0" ) ) OR ( itstartswith"linux fedora core"AND following text of last " "ofitas version < "3" ) ) of ( name of operating system as lowercase )
((itstartswith"linux red hat"ANDit does not contain "enterprise"AND (following text of last " "ofitas version ="8.0"OR following text of last " "ofitas version ="9.0")) OR (itstartswith"linux fedora core"AND following text of last " "ofitas version < "3")) of (name of operating system as lowercase)
if ( existstruewhose ( iftruethen ( exists relay service ) elsefalse ) ) then ( if ( version of client >= "8.0" ) then ( version of relay service as string ) else ( version of file ( ( if ( character 0ofit="%22" ) then ( substring between "%22"ofit ) elseit ) of image path of relay service ) as string ) ) else"Not Installed"
if (existstruewhose(iftruethen(exists relay service)elsefalse)) then (if (version of client >= "8.0") then (version of relay service as string) else (version of file ((if (character 0ofit="%22") then (substring between "%22"ofit) elseit) of image path of relay service) as string)) else"Not Installed"
if ( existstruewhose ( iftruethen ( exists main gather service ) elsefalse ) ) then ( if ( version of client >= "8.0" ) then ( version of main gather service as string ) else ( version of file ( ( if ( character 0ofit="%22" ) then ( substring between "%22"ofit ) elseit ) of image path of main gather service ) as string ) ) else"Not Installed"
if (existstruewhose(iftruethen(exists main gather service)elsefalse)) then (if (version of client >= "8.0") then (version of main gather service as string) else (version of file ((if (character 0ofit="%22") then (substring between "%22"ofit) elseit) of image path of main gather service) as string)) else"Not Installed"
if ( existstruewhose ( iftruethen ( exists key "HKLM\SOFTWARE\BigFix\BESAPI\Paths"of registry ) elsefalse ) ) then version of file ( value "base"of key "HKLM\SOFTWARE\BigFix\BESAPI\Paths"of registry as string & "BESAPI.dll" ) as string else"Not Installed"
if (existstruewhose(iftruethen(exists key "HKLM\SOFTWARE\BigFix\BESAPI\Paths"of registry)elsefalse)) then version of file (value "base"of key "HKLM\SOFTWARE\BigFix\BESAPI\Paths"of registry as string & "BESAPI.dll") as string else"Not Installed"
if ( existstruewhose ( iftruethen ( exists service "BESWebReportsServer" ) elsefalse ) ) then ( if ( version of client >= "8.0" ) then ( version of service "BESWebReportsServer"as string ) else ( version of file ( ( if ( character 0ofit="%22" ) then ( substring between "%22"ofit ) elseit ) of image path of service "BESWebReportsServer" ) as string ) ) else"Not Installed"
if (existstruewhose(iftruethen(exists service "BESWebReportsServer")elsefalse)) then (if (version of client >= "8.0") then (version of service "BESWebReportsServer"as string) else (version of file ((if (character 0ofit="%22") then (substring between "%22"ofit) elseit) of image path of service "BESWebReportsServer") as string)) else"Not Installed"