Relevance of file existing - Some PCs incorrectly reporting True

(imported topic written by SystemAdmin)

I have edited one of my Software Distribution jobs to check to see if the application is installed first by checking if the 2 key exe files are on the PC. I’m using a “Not Exists” statement to check if the files are there. Currently I have some PCs reporting the relevance as true even though they do have the files at the location required. My relevance is below.

name of operating system contains “WinXP” and (not exists file “C:\Program Files\Riverbed\Steelhead Mobile\shmobile.exe” or not exists file “C:\Program Files\Riverbed\Steelhead Mobile\rbtmon.exe”)

What steps should I take to try and fix this? The PCs do update their details and are regularly reporting updates.

(imported comment written by SystemAdmin)

try this and see if its more reliable, I think this is the correct guid for that software

name of operating system as lowercase contains "xp" and (not exists key whose (name of it = "{E793BEF9-FD80-48D0-8FA1-B5A1E4A34EEB}") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry)

(imported comment written by SystemAdmin)

Thanks. I’ll try that. We’re using a different version of Riverbed from the looks of it. Our guid for Riverbed 3.0 is 4DBE41A4-74FB-4AD5-8F06-8D2A2C26C689 according to a relevance I found to pull those out from the registry.