This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- tree selection control code
Subscribe
- 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
‎Mar 04, 2011
02:18 PM
tree selection control code
I am using IS 2010 installscript project..
does anyone know how to add items in tree selection control and process them - insert into tree nodes, read tree nodes, get status of each times selected or not ...etc..
I can't find any codes in this forum or anywhere..
thanks in advance..
does anyone know how to add items in tree selection control and process them - insert into tree nodes, read tree nodes, get status of each times selected or not ...etc..
I can't find any codes in this forum or anywhere..
thanks in advance..
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 07, 2011
01:09 PM
Hi There,
Is this for InstallScript/InstallScript MSI type projects, or is it for Basic MSI projects?
The two use very different engines for the User Interface, so the approaches will be different. Offhand, I'm not sure this is possible for Basic MSI, since the SelectionTree control is only written to show the contents of the Feature table:
SelectionTree Control:
http://msdn.microsoft.com/en-us/library/aa371604(v=vs.85).aspx
While it's possible in MSI to dynamically insert records into a table, this is a VERY bad idea to do with features in the Feature table.
Regards,
Is this for InstallScript/InstallScript MSI type projects, or is it for Basic MSI projects?
The two use very different engines for the User Interface, so the approaches will be different. Offhand, I'm not sure this is possible for Basic MSI, since the SelectionTree control is only written to show the contents of the Feature table:
SelectionTree Control:
http://msdn.microsoft.com/en-us/library/aa371604(v=vs.85).aspx
While it's possible in MSI to dynamically insert records into a table, this is a VERY bad idea to do with features in the Feature table.
Regards,
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 07, 2011
03:59 PM
This is for IS 2010 - InstallScript project, not MSI.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 07, 2011
04:37 PM
In that case, I would look at FeatureAddItem, which is included as a Feature function:
Feature Functions
http://kb.flexerasoftware.com/doc/Helpnet/installshield16helplib_sp1/mergedProjects/installshield16langref/LangrefFeature_functions.htm
Selection Tree controls are still used for listing Feature sets in InstallScript projects, though.
Feature Functions
http://kb.flexerasoftware.com/doc/Helpnet/installshield16helplib_sp1/mergedProjects/installshield16langref/LangrefFeature_functions.htm
Selection Tree controls are still used for listing Feature sets in InstallScript projects, though.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 11, 2011
01:58 PM
Cary,
Thank you.
But feature functions are more for installation of features.
I am interested in simple tree selection codes where it will have parent nodes, which can have as many child nodes, and child nodes can have many grand child nodes... etc.. where you can add select child node or grandchild nodes.. and disable some grand child nodes ...etc..
Do you have a test code where I can add child or children and get the status of it ..etc?
Thanks in advance and sorry for the late reply..
Thank you.
But feature functions are more for installation of features.
I am interested in simple tree selection codes where it will have parent nodes, which can have as many child nodes, and child nodes can have many grand child nodes... etc.. where you can add select child node or grandchild nodes.. and disable some grand child nodes ...etc..
Do you have a test code where I can add child or children and get the status of it ..etc?
Thanks in advance and sorry for the late reply..
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)