Can Parse Relevance

Hi,

I’m trying to make this work, looking for values in both 32 and 64-bit areas of the registry, but it is not happening.

Q:exists key (“HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sassafras\Install\KeyAccess”) OR (“HKEY_LOCAL_MACHINE\SOFTWARE\Sassafras\Install\KeyAccess”) of registry
E: The operator “key” is not defined.

I don’t understand “E:”

Thanks

I tried this too, but it didn’t work…

Q:(value “version” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sassafras\Install\KeyAccess” of registry) OR (value “version” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Sassafras\Install\KeyAccess” of registry) else (“Not Installed”)
E: A boolean expression is required.

The problem is that the first expression before the OR isn’t of registry. The E: is reporting an error evaluating the expression saying that it can’t find a key property.

Try something like this:

exists key ("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sassafras\Install\KeyAccess") of registry or exists key ("HKEY_LOCAL_MACHINE\SOFTWARE\Sassafras\Install\KeyAccess") of registry

That did it. Thanks!

Do this instead, it is more efficient:

exists keys "HKEY_LOCAL_MACHINE\SOFTWARE\Sassafras\Install\KeyAccess" of (x64 registries; x32 registries)

This will work on both 32bit and 64bit computers and check both registries on 64bit machines and only the 32bit registry on 32bit machines.

Thanks. Now on to the mac version.

I had a typo. It is fixed above.