Force PrepareDlg to always show - 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!

jsheldon
Posts: 10
Joined: Mon Feb 15, 2010 11:07 pm

Force PrepareDlg to always show

How do I force the PrepareDlg to always show and stay up until the next button is pressed? I want the users to make some choices on that dialog before moving onto the WelcomeDlg.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Force PrepareDlg to always show

Hi,

Usually this is done in custom dialogs after WelcomeDlg. However, if you really want to retrieve user information in PrepareDlg, you can try this approach:
- make sure that you are using an Enterprise project
- go to "Dialogs" page and select PrepareDlg
- in Properties pane set "Modal" to True
- select "Next" button
- in Properties pane set "Enabled" to True
- add this published control event:

Code: Select all

EndDialog      Return
- save and build your project

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jsheldon
Posts: 10
Joined: Mon Feb 15, 2010 11:07 pm

Re: Force PrepareDlg to always show

That worked perfect. Thank you for a quick response!

Return to “Common Problems”