Scripting Question

The correct way of setting Custom Inventory Rules

07/07/2015 947 views

I am having some difficulty setting custom inventory rules. So if it returns true, it will not proceed to install? The rules I have set is something like this: 

(FileVersionGreaterThan(X) OR FileVersionEquals(A, B) ) AND FileExists(Y)

I need to confirm the following: 
- I've run kdeploy -custominventory which return false and true. Will it proceed to install?
- Boolean logic does apply in this case? E.g. If X or Y is true, it will return true. 
- If the above syntax is wrong? 
- Where can i get the file version. Is it under file properties e.g. right-click on the file under attributes? 

0 Comments   [ + ] Show comments


Be the first to answer this question

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