David Beckman
David Beckman

Reputation: 605

Visual Studio: Setup Project - !Condition

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

Answers (1)

Snixtor
Snixtor

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

Related Questions