Custom SqlConnectionDlg - Advanced Installer Community
rpetrushevski
Posts: 1
Joined: Thu May 10, 2018 3:42 pm

Custom SqlConnectionDlg

Hello Support,

We are building an installer where we would like to have an advanced sql connection dialog where we can browse the server and we can choose the type of credentials (windows or sql). We would also like to choose a database. I understand this is not a standard dialog for the advanced installer but can you give us some guidance how to implement this? We have already designed the form but we are having problems displaying a dialog for server browsing (see attach).

Ratko
Attachments
AI_issue.png
AI_issue.png (7.85 KiB) Viewed 1818 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom SqlConnectionDlg

Hi Ratko and welcome to our forums.

A dialog with the options you need already exists in Advanced Installer. It is the "SQLServerConnectionDlg" dialog which you can add in the "Dialogs" page.

The "Browse for servers" and "Browser for databases" actions will be automatically added in the "SQL Databases" page when that dialog is added.

Let me know if you have other questions.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”