Hello Markus,
In order to achieve what you want you can proceed like this:
- Go to "Dialogs" page and add a new dialog (e.g. MyDialog) in the "First Time Install" tree node.
- Delete the "MyDialog" dialog from "First Time Install" tree node.
- On "InstallDlg" dialog add a new button control with the following
control conditions:
- Condition: AGREE_CHECKBOX
Action: Enable
Condition: NOT AGREE_CHECKBOX
Action: Disable
- On the above button add the following
published events:
- Name: [Advanced]
Argument: 1
Name: Display a specific dialog
Argument: MyDialog
Show entire condition -checked
Condition: AI_INSTALL AND Advanced
- Select the "InstallDlg -> Advanced -> MyDialog" and on the [Back] button add the following published events:
- Name: Display a specific dialog
Argument: InstallDlg
- Drag and drop the "ShortcutsDlg" and "FileAssociationsDlg" dialogs under "InstallDlg -> Advanced" subchain dialogs.
- Dlete the "MyDialog" dialog from "InstallDlg -> Advanced" subchain dialogs.
- Build and run your project.
Also, you can use a check box control instead of a button control to achieve this. Here are the steps to proceed:
- Add a check box control on "InstallDlg" like this:
- Property Name: Advanced
Value: checked
- Add a new dialog (MyDialog) and using its "Show only if..." context menu option add the following condition:
- Drag and drop the "ShortcutsDlg" and "FileAssociationsDlg" dialogs under "InstallDlg -> Advanced="checked"" subchain dialogs.
- Dlete the "MyDialog" dialog from "InstallDlg -> Advanced" subchain dialogs.
- Build and run your project.
Let us know if this helped.
All the best,
Daniel