I am trying to build a package in BF to first check on a registry and then uninstall Firefox if the value I am checking for does not exist in registry.
here is my relevance that does not seem to work.
not exists key “HKEY_LOCAL_MACHINE\SOFTWARE\HRSA” whose (exists value “ApprovedForFF” of it AND value “ApprovedForFF” of it as integer = 1) of it of (x32 registries; x64 registries)
I have created a package including this relevance that should detect and uninstall Firefox automatically.
I am running the package as policy.
I have removed the registry from a test machine with Firefox and my expectation is that the machine should become relevant and Firefox should be uninstalled instead the FF is still sitting on my computer with big smile on her face .
Please tell what am I doing wrong.