This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Component condition does not work
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 01, 2008
09:53 AM
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.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 01, 2008
10:32 AM
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).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 01, 2008
11:13 AM
Thank you very much, that was it.