Hello P.J.,
What you want to achieve is indeed possible, but not entirely.
What I mean by this is:
between the ProgressDlg and ExitDlg dialogs
After the
"ProgressDlg", you can only add a dialog in sequence. Dialogs in sequence are dialogs that are triggered by the same action, therefore they can not be conditioned individually.
What is, however, possible, is to add a new dialog right after the
"SetupTypeDlg" where the user can insert the path. To achieve your whole scenario, please follow these steps:
- go to "Dialogs" page
- select
"SetupTypeDlg" and click on the
"New dialog" button from the toolbar
In order to condition the dialog, we can use the
"InstallMode" property, which is set to
"InstallModeCustom" if the
"Custom" button is pressed in the
"SetupTypeDlg" dialog.
- right click on the newly added dialog -->
"Show only if..." --> use a condition as it follows:
- in the dialog, add a new control that will store the path, e.g. an
"Edit Box" control. You can add the control by using the
"Controls Toolbox" button from the toolbar
- if you click on the control, on the right side you will be able to see the control's properties. What we are looking for here is the control's property (in our case, the property will store whatever the user will input in the EditBox control)
- Property.png (283.55KiB)Viewed 2159 times
- now please go to
"Registry" page --> add a new value --> in the
"Data" field, add the name of the property enclosed between square brackets, e.g.:
- Data.png (60.46KiB)Viewed 2159 times
This way, the user's input will be written in the registry during the installation.
Hope this helps!
Best regards,
Catalin