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