lines whose
(
it as lowercase contains "gathererror" and it as lowercase does not contain "shutdown while in gatherpending" and it as lowercase does not contain "hasite_"
)
of file
(
if
(
name of operating system as lowercase starts with "win"
)
then
(
if
(
(
value whose
(
name of it as string as lowercase contains "version"
)
of key "HKLM\Software\BigFix\Enterprise Server\" of registry as string
)
< "8"
)
then
(
value "InboxLocation" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Enterprise Server\GatherService" of registry as string & "\GatherState.xml"
)
else
(
(
value "StoragePath" of key "HKEY_LOCAL_MACHINE\Software\BigFix\Enterprise Server\GlobalOptions" of registry as string
)
& "Mirror Server\inbox\GatherState.xml"
)
)
else
(
pathname of parent folder of folder
(
value of setting "_BESRelay_HTTPServer_ServerRootPath" of client
)
& "/Mirror Server/inbox/GatherState.xml"
)
)
lines whose (it as lowercase contains "gathererror" and it as lowercase does not contain "shutdown while in gatherpending" and it as lowercase does not contain "hasite_") of file (if (name of operating system as lowercase starts with "win") then (if ((value whose (name of it as string as lowercase contains "version") of key "HKLM\Software\BigFix\Enterprise Server\" of registry as string) < "8") then (value "InboxLocation" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Enterprise Server\GatherService" of registry as string & "\GatherState.xml") else ((value "StoragePath" of key "HKEY_LOCAL_MACHINE\Software\BigFix\Enterprise Server\GlobalOptions" of registry as string) & "Mirror Server\inbox\GatherState.xml")) else (pathname of parent folder of folder (value of setting "_BESRelay_HTTPServer_ServerRootPath" of client) & "/Mirror Server/inbox/GatherState.xml"))