Custom Inventory - add support for brackets to allow ANDs and ORs in the order I need them
Currently using both ANDs and ORs in the same custom inventory rule is unsupported according to the documentation. I was told that they are evaluated from left to right rather than using the normal rules of precedence. This would be particularly handy when you are trying to detect a program whose file might be in more than one location (especially c:\program files\ and c:\program files (x86)).

-
Thomas Hughes commented
Yes this would be very helpful especially since I'm supporting x86 and x64 environments that have different locations for Program files directory.
-
Aaron commented
Also need support for NOT. Such as: rule 1 AND NOT rule 2.
-
Jonas M. Hunziker commented
I agree. Being able to use AND and OR in the same rule with allow for better custom rules. I've had situations where this would've been very handy!