/build/static/layout/Breadcrumb_cap_w.png

Software Deployment Question


Custom Inventory Rule - checking file version in 2 paths

05/13/2015 1751 views

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

Comments


Answer Chosen by the Author

1
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

All Answers

0
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
8th Degree Black Belt

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ