If I understand your requirements correctly, you want a machine to report as FALSE if the ZixSelect folder exists in either Program Files folders.

If my assumption is correct, you’re using the wrong Operator; OR with two not statements will return true if either is true. You’re most likely wanting to use an AND operator in this case, because you want the statement to be FALSE if either or both folders exists.

This is one of the most common issues with boolean logic, wrapping your head around when AND or OR statements are appropriate.

Let me use the BigFix Enterprise folder as an example.

Check if folder does not exists in 32-bit program files using dynamic rather than hardcoded path

Here we are checking for the existence of X OR Y, instead of the non-existance. Then, we wrap that inspection into a NOT statement. Both of the latter statements achieve the same result, this is more of an exercise in figuring out how to work with boolean operators.