setuptype and folder dialogs - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jilly.knight
Posts: 2
Joined: Wed May 21, 2008 5:04 pm

setuptype and folder dialogs

Why can I not have both a setuptype and a folder dialog for my 'First Time Install'?
I need to be able to chose the install location for all install types.
Thanks
Jilly
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: setuptype and folder dialogs

Hi Jilly,

Please note that the "FolderDlg" and "SetupTypeDlg" dialogs are mutually exclusive. This is because "SetupTypeDlg" contains the "Custom" button which allows the user to set the installation folder. Also, the "Complete" and "Typical" buttons use the default installation path specified in the Install Parameters page.

If you need to set the installation path for the "Complete" and "Typical" options, you can use the Dialog Editor to modify the "VerifyReadyDlg" dialog (or create a custom dialog). Please note that you can copy/paste the Path Edit control and the Browse button from "FolderDlg". Also, for the "Next" button of the custom dialog you need to create this control event:

Code: Select all

SetTargetPath          APPDIR          1
The Browse for folder how-to explains the settings you can use. Note that this can be done only in an Enterprise project.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”