- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Adding ComboBox in SelectionTree
- 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
Adding ComboBox in SelectionTree
Hi All,
I need to know how a selection tree automatically carries feature list, where can we modify it, My requirement is to add a list of Combobox in selection tree with feature list and associate feature list with ComboBox
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Vishalsa ,
selection tree works based on feature list(feature table) which is from Microsoft:
https://docs.microsoft.com/en-us/windows/win32/msi/selectiontree-control
Based on your project type you can play around:
- If it is basic MSI you can't do much since it is a predefined one.
- If it is InstallScript/InstallScript MSI you can view the code of SdFeatureTree dialog under InstallScript view->Dialog Source->SdFeatureTree,you can try modifying based on your requirement
Thanks,
Jenifer
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
The Scaffolding Plugin is a bit too expensive, as we only need dropdown menus. ... 2 In the menu bar choose "insert template items",The difference between a List box and a Combo box is that a List box is simply a list .... When adding items to a sorted list or Combo box.
Adding a Combo Box. If a long list of check boxes or radio buttons takes up too much space in your form, you can list options in a combo box.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Is there any way to edit the same thing in the Installshield suite UI project?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Vishalsa ,
Suite feature selection tree is an enhanced UI control by InstallShield since there is no table approach in Suite project.The available feature related support from Suite:
FEATURE[name].actionState
FEATURE[name].installState
FEATURE[name].displayName
FEATURE[name].description
FEATURE[name].cost
FEATURE[featurename].actionState==n} (n = install, "empty", remove, repair)
FEATURE[featurename].installState!=number} (number = 0 -not installed, 1 - installed)
- There is no API type support to get list of features but you can read it from .issuite file under SelectionTree\Selection xml node
- All selection nodes are features
- On going for combobox based approach,you might need to select features and set feature state based on your need.
Thanks,
Jenifer
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Is there a way to deselect any feature by selecting any other feature like the radio button works in-suite feature selection tree?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Vishalsa ,
As i mentioned in this thread:
The current support InstallShield has is:you can handle pre-selected features based on condition.How about handling it via Suite action of control's click event?
You can try picking any suite action(C++ extension,installscript code) where you can have a function which gets the current control ID and selects that which in turn can deselect all the remaining controls.
You need to try how to access these wizard control-ID's via code for which i dont have any sample to provide.
Thanks,
Jenifer
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)