Hi,
I'm afraid that a condition for creating a shortcut cannot be placed on the "ExitDialog", that condition should be placed before the "ProgressDlg" dialog, before the installation/creation of the files. You can only create your own custom action if you want to have the condition on the "ExitDialog".
However, you can still use the "ShortcutDlg" dialog through which you can achieve what you want. Please keep in mind that, as mentioned in the
Optional Install Dialogs article:
These shortcuts must be created in the Files and Folders page in order to be installed. This dialog doesn't create the shortcuts automatically, it simply conditions their creation.
So, if you want to install only one shortcut in the "Startup" folder, then you can go in the Files and Folders page and create only the shortcut you want in that folder. Then, the "ShortcutDlg" dialog will condition the installation of that shortcut.
Let us know if this helped, otherwise give us more details about your scenario.
Best regards,
Eusebiu
FOLLOW US
Get the latest news in Application Packaging