(
if
(
exists
(
key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Firewall" of registry
)
AND exists
(
value "CA_FW" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\LoggingService\Plugins\Locations" of registry
)
)
then
(
if
(
exists file
(
it as string
)
)
then
(
version of file
(
it as string
)
as string
)
else
(
"Error: Invalid Path"
)
)
of value "CA_FW" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\LoggingService\Plugins\Locations" of registry else
(
"Not Installed"
)
)
(if (exists (key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Firewall" of registry) AND exists (value "CA_FW" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\LoggingService\Plugins\Locations" of registry)) then (if (exists file (it as string)) then (version of file (it as string) as string) else ("Error: Invalid Path")) of value "CA_FW" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\LoggingService\Plugins\Locations" of registry else ("Not Installed"))