Page 1 of 2 12 LastLast
Results 1 to 5 of 7

Thread: Dialogue Control Event handler- Need Help

  1. #1
    Join Date
    Jul 2012
    Posts
    14

    Smile 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

  2. #2
    MichaelU's Avatar
    MichaelU is offline InstallShield Software Engineer
    Join Date
    Jan 2004
    Location
    Schaumburg, IL
    Posts
    4,263
    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=}
    or
    Code:
    {SetProperty FEATURE[Feat1].actionState=}
    {SetProperty FEATURE[Feat2].actionState=install}
    {SetProperty FEATURE[Feat3].actionState=install}
    respectively. Just append them all together on the Action for the button, possibly followed by a {SetActivePage nextPage}.
    Michael Urman - Staff Software Engineer - Flexera Software: InstallShield Team

  3. #3
    Join Date
    Jul 2012
    Posts
    14
    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
    Last edited by aneesh; 07-20-2012 at 12:31 AM.

  4. #4
    Join Date
    Jul 2012
    Posts
    14

    please help for the below 3 situations

    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 ?

  5. #5
    MichaelU's Avatar
    MichaelU is offline InstallShield Software Engineer
    Join Date
    Jan 2004
    Location
    Schaumburg, IL
    Posts
    4,263
    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.
    Michael Urman - Staff Software Engineer - Flexera Software: InstallShield Team

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •