How to show a custom feature selection dialog

ImportantThe following article uses options that are available starting with the Enterprise edition and project type.

The following sections demonstrate how to configure two UI scenarios: select which features will be installed using checkboxes or radio buttons.

Use checkboxes to select which features will be installed

  1. first, go to the Dialog Editor Page and create a new dialog
  2. select the custom dialog and set the "Dialog Name" field in the Properties pane to "FeatureSelectionDlg"
  3. create three checkboxes on the "FeatureSelectionDlg" dialog
  4. for each checkbox set the "Text" field in the "Properties" pane to an explanatory text (for example: "Install feature 1", "Install feature 2" and "Install feature 3")
  5. set the properties associated with the checkboxes to CHECK1, CHECK2 and CHECK3 (you can set the property of a checkbox in the "Property Name" field)
  6. for each checkbox set the “Value” field to install
  7. in the end you'll need to define the features for your project in the Organization Page:
    1. "Feature 1" with the Identifier Feature1 and condition CHECK1
    2. "Feature 2" with the Identifier Feature2 and condition CHECK2
    3. "Feature 3" with the Identifier Feature3 and condition CHECK3

Use radio buttons to select which features will be installed

  1. first, go to the Dialog Editor Page and create a new dialog
  2. select the custom dialog and set the "Dialog Name" field in the Properties pane to "FeatureSelectionDlg"
  3. add a radio button group on the "FeatureSelectionDlg" dialog and three radio buttons in it
  4. select the radio button group
  5. in the "Properties" pane set the "Property Name" field to RADIO
  6. select the first radio button and set the "Text" field in the "Properties" pane to "Install Feature A"
  7. set the "Value" field to RadioFeatureA
  8. set the "Selected" combo to True
  9. select the second radio button and set the "Text" field in the "Properties" pane to "Install Feature B"
  10. set the "Value" field to RadioFeatureB
  11. select the third radio button and set the "Text" field in the "Properties" pane to "Install Feature C"
  12. set the "Value" field to RadioFeatureC
  13. in the end you'll need to define the features for your project in the Organization Page:
    1. "Feature A" with the Identifier FeatureA and condition RADIO = "RadioFeatureA"
    2. "Feature B" with the Identifier FeatureB and condition RADIO = "RadioFeatureB"
    3. "Feature C" with the Identifier FeatureC and condition RADIO = "RadioFeatureC"

If you have Advanced Installer 9.3 you'll also need to add the Update Features Install States predefined custom action with sequence from the Custom Actions Page.

NoteThis article cannot be implemented in any project built with an Advanced Installer version lower than 9.3. You'll need to develop your own custom action that sets the feature states using properties set in the installation's User Interface.