if
(
not exists key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client" whose
(
exists key "_BESClient_Download_DownloadsCacheLimitMB" of it AND exists value "value" of key "_BESClient_Download_DownloadsCacheLimitMB" of it
)
of registry
)
then ERROR "not set - 20" else
(
value "value" of key "_BESClient_Download_DownloadsCacheLimitMB" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client" whose
(
exists key "_BESClient_Download_DownloadsCacheLimitMB" of it AND exists value "value" of key "_BESClient_Download_DownloadsCacheLimitMB" of it
)
of registry
)
as string
if (not exists key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client" whose(exists key "_BESClient_Download_DownloadsCacheLimitMB" of it AND exists value "value" of key "_BESClient_Download_DownloadsCacheLimitMB" of it) of registry) then ERROR "not set - 20" else (value "value" of key "_BESClient_Download_DownloadsCacheLimitMB" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client" whose(exists key "_BESClient_Download_DownloadsCacheLimitMB" of it AND exists value "value" of key "_BESClient_Download_DownloadsCacheLimitMB" of it) of registry) as string