- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to disable next button until feature selection?
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
How to disable next button until feature selection?
hi,
Does anyone know how to disable NEXT button until user select at least one feature in the list? Also, if user select COMPLETE installation, how to programatically select all features?
thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @levAnni ,
Few options to help out disable "Install" button on feature selection.Hope you are asking about Suite-install features dialog.If not please correct me!!
You can try setting property like these
- FEATURE[name].actionState
- FEATURE[name].installState
- FEATURE[name].displayName
- FEATURE[name].description
- FEATURE[name].cost
on item changed event.That you can compare on Install button's enabled property.
Similar discussion you can find here:https://community.flexera.com/t5/InstallShield-Forum/Suite-Feature-Selection-Tree-Question/td-p/82744/page/2
About second question:
" Also, if user select COMPLETE installation, how to programatically select all features?"
By default complete will install all the features thereby you need not to make them pro-grammatically install.
If this question is basic MSI based you can get more information from this article:
https://blogs.flexera.com/installtalk/2011/07/old-jokes-and-feature-selections/
Thanks,
Jenifer
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi,
In advance Ui suite, for example if you have 3 features - add the below condition in Next button or Install button.
Steps:
Go to Wizard Interface->Installation Feature->Install->Enabled->Any->Property Comparison
Then under Name section add this condition : FEATURE[your first feature name].actionState
Name - FEATURE[second feature name].actionState
Name - FEATURE[third feature name].actionState
Note: By default if you want to unselect all the features in Installation tree, in Organization -> Features
Select first feature and add condition as NONE.