PDA

View Full Version : Is this right?



gcggcg
10-31-2011, 04:08 PM
I've set a condition for a feature but am surprised by the result. I wanted to test the value of a property that's set via a custom dialog in the UI phase and then use that value in a feature condition to install some features and to not install others. The features in question are not visible so the user would not be able to change their installation status.

I'm using the default INSTALLLEVEL value of 100 and I set the INSTALLLEVEL for the feature to 200 when the value of the property indicates that the feature should not be installed.

When I run this, all works as planned as long as I choose the "Custom" setup type in the dialog. However, if I chose "Complete" for the setup type, all features are installed regardless of whether the condition is met or not. Is that right? Or am I doing something wrong?

Thanks for any help!