cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jepwga
Level 3

Component condition does not work

I have an install that needs to control the installation of a file used by the main executable. The existents of the file is part of the program’s logic. The problem is that I have put the file in a component with a condition set to a public property that is always set to 0 for testing and the file is always installed. How can this happen? As always, any help would be greatly appreciated and this was all due yesterday.
Labels (1)
0 Kudos
(2) Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

If your condition looks like MYPROP, and MYPROP is set to 0, this condition is true. For it to be false, MYPROP should not be defined (and/or it should be overridden on the command line to the empty string).
0 Kudos
jepwga
Level 3

Thank you very much, that was it.
0 Kudos