cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
RomanGuzi
Level 3

Howto: programmatically define what features to install

Hello,

I have two features in my installshield project and it does not make any sence to display user overwhelmed CustomSetup dialog. I want rather display something very simple - dialog with 2 checkboxes. Each checkbox is responcible for installation of one specific feature.
Each checkbox sets its property - so I have checkbox value (checked/unchecked), but how can I transform that value to something that will make feature to install or not install.
Should I create custom action to set some properties manually?
What are those properties?

Thank You.
Labels (1)
0 Kudos
(3) Replies
RobertDickau
Flexera Alumni

Perhaps look into using the Remove and AddLocal control events on the Next button of your dialog box?
0 Kudos
achal009
Level 4

2 things

1) As rebert mentioned use addlocal and the feature name.
2) Also the installlevel of each feature should be higher than the installers INSTALLLEVEL property filed. (you can see this in property manager)
0 Kudos
RomanGuzi
Level 3

Thank you guys. It worked.
0 Kudos