cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mtissington
Level 3

Disable feature if NOT IE7FOUND

How do I disable a feature if IE 7 is not installed ?
Labels (1)
0 Kudos
(4) Replies
Christopher_Pai
Level 16

You can use a Feature condition ( Condition table ) to set the install level to 0. This will disable and hide the feature.

But care must be excericsed in considering what this means in repair/upgrade/reinstall/modify ectera if IE7FOUND becomes true.
0 Kudos
mtissington
Level 3

Thanks, that is not quite the effect that I want, I want the user still to have an option to install the feature but change the default to not install.
0 Kudos
Christopher_Pai
Level 16

Sorry, you said disable not un-select.

It's the same pattern, but now set the feature to have an install level of greater then that of the InstallLevel property ( typically 100 by default so set it to 101+ )

The user can still manually select it so either hide away the custom setup dialog or put a blocking custom action on the Next Button that disallows the feature to be selected if you so choose.

BTW, along the lines of 'too much choice is bad' paradox... whats the point of not installing this feature if IE7 isn't installed but you can still optionally install it?
0 Kudos
mtissington
Level 3

Thanks - go it.
0 Kudos