MBAM Registry relevance to check existing registry key and its value

Hello,

Been struggling with MBAM uninstall registry key relevance and I’m about to lose what little remaining hair I have left.

I am brand new to BF so I apologize if this is a very obvious question.

I have tested with other registry keys, and it seems like the logic works but once I insert the MBAM values into the relevance statement it doesn’t work.

(NOT exists keys “{AEC5BCA3-A2C5-46D7-9873-7698E6D3CAA4}” whose ( value “DisplayVersion” of it as string as version >= “2.5.1100.0” as version AND value “Language” of it as string = “1033”) of keys “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of ( x32 registry; (if exists x64 registry then x64 registry else nothing) )) else false

I’m away from a computer right now, but on first reading all I see is to remove the ‘else false’ at the end, because there is no ‘if’ statement to go with that.

2 Likes

Removing “Else false” did it for me!!!

Thanks Jason!!

Want to add that after extracting the MBAM EXE file to an MSI via this command:

“MBAMClientSetup.exe /extract /acceptEula=Yes”

Then importing the resulting MSI into BF. The same registry key relevance was created automatically.

1 Like

A hint for new players is that using plural relevance

....of ( x32 registry; (if exists x64 registry then x64 registry else nothing) )
can be written as
...of ( x32 registries; x64 registries)

It is functionally equivalent, quicker to type and easier to read

2 Likes