sskanna82
Posts: 7
Joined: Wed Jun 24, 2009 7:59 am

change the Sequence of SQLConnectionDlg

Hi,

Can i change the Sequence of SQLConnectionDlg? I want to change the sequence from original position to after VerifyDlg.
It is possible then how can i change can anyone suggest me?

Thanks in Advance,
Regards,
Kannan.S
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: change the Sequence of SQLConnectionDlg

Hello,

You cannot place the SQLConnectionDL after VerifyDlg. Although it is not recommended, you can use NewDialog events on the 'Next' buttons of various dialogs to jump over the SQLConnectionDlg dialog.
You will need to do the following:
- copy VerifyReadyDlg's Install button and paste it over SQLConnectionDlg's Next button
- set SQLConnectionDlg's Next button's Visible attribute to false
- on the Dialog previous to SQLConnectionDlg, on its Next button place a NewDialog event pointing to VerifyReadyDlg
- replace VerifyReadyDlg's Install button with a Next button
- place a NewDialog event on that Next button, pointing it to SQLConnectionDlg
- make sure you also edit the "Back" buttons on dialogs to properly point to the previous dialogs in sequence
Perhaps this tutorial might help you: Conditionally displaying an install dialog

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”