BigFix Relevance Query - Install Location

I am trying to print Install Location for Application but I am not getting out, Please suggest!!

(unique values of (it as string as trimmed string) of values “InstallLocation” of keys of keys “HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall” of (native registry)) whose (“DisplayName” of it contains “BigFix”)

Your whose() filter is applying against the final result - which is just the InstallLocation string value, you’ve lost the reference to the registry key by then.

Put the filter earlier in the query -

Values "InstallLocation" of keys whose (value "DisplayName" of it...) of keys

Thanks, Tried below query but still same output
(Values “InstallLocation” of keys whose (value “DisplayName” of it as string starts with “BigFix”) of keys of keys “HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall” of (native registry))

Is this is a 64-bit OS?

If so you are looking in the wrong registry

(value "DisplayName" of it, value "InstallLocation" of it) of keys whose (exists value "DisplayName" whose (it as string as lowercase contains "bigfix") of it) of keys "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall" of (x32 registry)

1 Like