views:

461

answers:

1

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).

+1  A: 

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 '==')