Hi,
I want to install a feature only when a condition is met. To do this I have selected a feature, clicked on the 'Conditional install level" added 2 conditions, one for level 1 and another for level 2
Please note that the correct approach is this:
- set the feature to be installed by default or to be disabled
- create two conditional install levels:
a) when the condition is true set the install level to 1 (typical) or 4 (complete)
b) when the condition is false set the install level to 0
A typical installation of a feature will install the sub-features using their configurations. A complete installation of a feature should install all sub-features. With the above approach the feature will be installed only if your condition is true.
and in the 'greater than' field I have selected 1.
Please note that the "Install the feature only if
INSTALLLEVEL property is greater than" option is not related to the conditional install level. This property affects all features, while the conditional install level affects only the feature which uses it. Also,
the conditional install level does not affect the INSTALLLEVEL property.
But as soon as I navigate away from the page the selection get reset to 'Installed by defaut'.
Unfortunately we are unable to reproduce this behavior on our test machines. Please try using the approach I explained and let me know if the problem persists.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging