Reputation: 605
In a visual studio setup project, how do I get the inverse of a condition? Specifically, I am looking to run a script if a file does not exist (ie the Exists condition is false).
Upvotes: 1
Views: 1354
Reputation:
Check for 'False' on your property, so instead of the condition being 'MYPROPERTY', make it 'MYPROPERTY = False'. (And yes, in spite of your better instincts, use a single '=' not '==')
Upvotes: 3