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
- :
- Re: How to access Fetaure Property <Required>
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
Aug 28, 2009
04:58 PM
How to access Fetaure Property <Required>
Hello,
I'd like to check for environmental variable during installation and depending on result make Feature either required or not. I could not find in documentation how to access that property.
Please advice.
Thank you,
Yuri
I'd like to check for environmental variable during installation and depending on result make Feature either required or not. I could not find in documentation how to access that property.
Please advice.
Thank you,
Yuri
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 28, 2009
10:38 PM
A feature's Required property is not something that can be set dynamically at runtime (without writing a custom action that modifies the in-memory copy of the MSI). Perhaps an acceptable approach would be to make the feature Not Visible, and put a condition on the feature that "selects" or "deselects" it to be installed based on the value of the environment variable.
