cancel
Showing results for 
Search instead for 
Did you mean: 
Vishalsa
Occasional contributor

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

Labels (1)
0 Kudos
7 Replies
Highlighted
Flexera Jenifer
Flexera

Re: Adding ComboBox in SelectionTree

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

jacklin456
Wanderer

Re: Adding ComboBox in SelectionTree

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.

https://customerfeedbacks.info/

0 Kudos
Vishalsa
Occasional contributor

Re: Adding ComboBox in SelectionTree

Hello Jenifer,

Is there any way to edit the same thing in the Installshield suite UI project?
0 Kudos
Flexera Jenifer
Flexera

Re: Adding ComboBox in SelectionTree

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

0 Kudos
Vishalsa
Occasional contributor

Re: Adding ComboBox in SelectionTree

Hi Jenifer,

Is there a way to deselect any feature by selecting any other feature like the radio button works in-suite feature selection tree?
0 Kudos

Re: Adding ComboBox in SelectionTree

Thanks for this information. It useful
0 Kudos
Flexera Jenifer
Flexera

Re: Adding ComboBox in SelectionTree

Hi @Vishalsa ,

 

As i mentioned in this thread:

https://community.flexera.com/t5/InstallShield-Forum/Configuring-Feature-selection-in-UI/m-p/117944#...

 

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

0 Kudos