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 Summary:
0 Comments   [ + ] Show Comments


Please log in to comment

Answer Chosen by the Author

The OR should be capitalized and both arguments should be on the same line.  Don't press Enter/Return.  Past that, it should work.

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.

Answered 05/13/2015 by: jknox
Red Belt

Please log in to comment


I will give that a try. I know I had lower case OR and I did have a new line
Answered 05/13/2015 by: JordanNolan
Third Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity