The end goal here is to have a package that will install the Log & Event Manager Agent on any machine that doesn't currently have the agent. My package successfully installs the agent and returns a success but I can't seem to get the applicability rule working to prevent installs on systems already containing the LEM agent.
I have tried using the File Version rule below but it still installs on machines containing the agent. (I got the version of 14.0.0.0 from windows going to properties > details tab on the LEM agent exe)
Also tried using the NOT File Exists rule with a full hard coded path and also tried common path variables.
And my last option was to try a registry key exists rule but I am running into a parsing error with the path due to it containing the '&' character. Here is the full registry path I need to check for HKEY_LOCAL_MACHINE\software\wow6432node\microsoft\windows\current version\uninstall\solarwinds log & event manager agent. I am very new to Patch Manager but have noticed nearly all of the catalog packages always use registry checks and I am starting to see why since the only custom packages I have been able to get working right have been with registry not file exist rules.