Please note that the Show a custom feature selection dialog how-to explains how to control features through VBScript. If this is not what you need, can you please give me more details?
1) Have three features in a dialog as radio buttons.
2) As per feature selection, the sub features related to that particular feature will be checked and displayed in the selection tree which is avalable in the next dialog.
3) In the selection tree, all the available features are getting displayed irrespective of the selection (both checked and unchecked features). I want to display only the checked subfeatures in the selection tree and restrict the display of unchecked subfeatures in the selection tree.
You can do the following:
- on the "Next" button on the dialog where you select your main features, you will have three published events conditioned depending on which radio was selected.
Each custom action would set one of the features as to be installed using the API used in the help article provided by Cosmin (see Session.FeatureRequestState calls)
FOLLOW US
Get the latest news in Application Packaging