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
- :
- Re: Dialogue Control Event handler- Need Help
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
‎Jul 19, 2012
07:32 AM
Dialogue Control Event handler- Need Help
I need a urgent help.
For Installedsheild 2012 suite package I am having 2 dialogues.
First Dialogue contain 2 check boxes
Second Dialogue contain some features to be installed.
I want the features in the second dialogue should be installed depending upon the check box selection in the first dialogue.
if checkbox 1 is checked, then first few features should be displayed in second dialog and it should get installed.
if checkbox 2 is checked, rest of the features only get installed.
How can I implement this.. Please help
For Installedsheild 2012 suite package I am having 2 dialogues.
First Dialogue contain 2 check boxes
Second Dialogue contain some features to be installed.
I want the features in the second dialogue should be installed depending upon the check box selection in the first dialogue.
if checkbox 1 is checked, then first few features should be displayed in second dialog and it should get installed.
if checkbox 2 is checked, rest of the features only get installed.
How can I implement this.. Please help
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 19, 2012
08:08 AM
Those sound like mutually exclusive options, so I would suggest using radio buttons or regular buttons instead of check boxes. It also sounds like you're trying to set the initial state, and then allow an end user to view and possibly change the features selected by the initial page. If that's correct, I would suggest putting actions on those (regular or radio) buttons that do one or more:[CODE]{SetProperty FEATURE[Feat1].actionState=install}
{SetProperty FEATURE[Feat2].actionState=}
{SetProperty FEATURE[Feat3].actionState=}[/CODE]or[CODE]{SetProperty FEATURE[Feat1].actionState=}
{SetProperty FEATURE[Feat2].actionState=install}
{SetProperty FEATURE[Feat3].actionState=install}[/CODE]respectively. Just append them all together on the Action for the button, possibly followed by a {SetActivePage nextPage}.
{SetProperty FEATURE[Feat2].actionState=}
{SetProperty FEATURE[Feat3].actionState=}[/CODE]or[CODE]{SetProperty FEATURE[Feat1].actionState=}
{SetProperty FEATURE[Feat2].actionState=install}
{SetProperty FEATURE[Feat3].actionState=install}[/CODE]respectively. Just append them all together on the Action for the button, possibly followed by a {SetActivePage nextPage}.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 20, 2012
12:02 AM
Thanks alot Michael. Let me try with this. one thing is that this is not mutualy exclusive condition. the end user can select both checkbox to ionstall all the features
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 20, 2012
01:27 AM
End user can choose server features to be installed.
If checkbox 1( for sever) is checked , only server feaures should be displayed in the second dialogue from which the end user can select the features to be installed
End user cannot choose client features to be installed.
If checkbox 2 is checked (for client ) , All the client features should get installed. so no need to display the client features.
if End user click both checkbox, All the features shud get installed ,but only the server features should get displayed for end user selection in the second dialog.
Can Anybody give the solution ?
If checkbox 1( for sever) is checked , only server feaures should be displayed in the second dialogue from which the end user can select the features to be installed
End user cannot choose client features to be installed.
If checkbox 2 is checked (for client ) , All the client features should get installed. so no need to display the client features.
if End user click both checkbox, All the features shud get installed ,but only the server features should get displayed for end user selection in the second dialog.
Can Anybody give the solution ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 25, 2012
08:37 AM
Currently I would avoid using the feature tree dialog for this scenario. Instead I would wire some checkboxes to the properties I mentioned last time by setting their Property to FEATURE[FeatName].actionState==install. You can then set the server checkbox's property to ServerSelected, and set the feature checkboxes' Enabled to {Binding ServerSelected}, or put them on the adjacent page and set its Visible to {Binding ServerSelected} so the Next button will only take you there if the server checkbox was checked.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 26, 2012
01:39 AM
Thanks Michael.
How we can put Multipe Binding Condition for visiblity /enabling a button ??
{Binding property1_name == value1}
{Binding property2_name == value2}..how can we specify these two conditions ??
ethier first condition or second (OR)
Both condition (AND)
Please reply
How we can put Multipe Binding Condition for visiblity /enabling a button ??
{Binding property1_name == value1}
{Binding property2_name == value2}..how can we specify these two conditions ??
ethier first condition or second (OR)
Both condition (AND)
Please reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 27, 2012
09:52 AM
No, currently we only support single property relations. You can condition on whether a single property matches, mismatches, or is less or more than some value.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)