PDA

View Full Version : Feature



divya_abrol
05-16-2007, 07:17 PM
Hi
Can we have a feature shown in the feature tree that is grayed out rather than not show at all if the pre-requisites aren’t there for that feature, hence the user will know that the feature is part of the msi but the user will not have the option to select and install it.
--Divya

Christopher Painter
05-16-2007, 10:29 PM
Basic MSI doesn't support this, with an external UI handler it could be done.

The way I've done this is to have a SystemSearch set a property with the state of the prereq. Then I use the Condition table to default the feature to install or no action. Finally I put a check on the Next button of CustomSetup dialog that prevents going to the next dialog and throws a message telling the user that there is a problem when &SOMEFEATURE=3 And Not SOMETHINGINSTALED