Custom Inventory Rule - checking file version in 2 paths
I am having an issue trying to confirm the file version when it could be in one of two paths. I am trying to find the confirm the Lync.exe file and it could be in either the PF or PFx86 folder. In the rule below either works by itself, but when I put in the OR statement it fails when checking either the PF or PFx86 folder paths.
FileVersionEquals(C:\Program Files (x86)\Microsoft Office\Office15\lync.exe, 15.0.4711.1002) or
FileVersionEquals(C:\Program Files\Microsoft Office\Office15\lync.exe, 15.0.4711.1002)
Is there a special bracketing or anything I need to do?
Answer Chosen by the Author
To troubleshoot, you can see what the custom inventory rule returns most of the time by running "kdeploy -custominventory" in the c:\program files (x86)\dell\kace directory.