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!

KOgletree
Posts: 4
Joined: Tue Jan 28, 2014 1:22 am

Testing ODBC Connection

I am attempting to setup a test of an ODBC connection. However it does not appear to be working for me. I am following the How To on this and when I get to the step: 'Go to the Custom Actions page and add the predefined UI Custom Action "Test ODBC Connection".' The UI is completely different than that shown in the How To. I am missing General Properties, Execution Properties and Scheduling Options. I am not sure if I did something wrong, things have changed since the How To or I am just missing a selection somewhere. Any ideas?
AdvInstaller.png
AdvInstaller.png (34.33 KiB) Viewed 4488 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Testing ODBC Connection

Hello and welcome to Advanced Installer forums,

Indeed, we need to update our images from Test SQL Connection tutorial. A fix will be available in the next version of Advanced Installer. Thank you for bringing it to our attention.

Please note that you can use the Test ODBC connection predefined custom action when you want to validate user input parameters for an SQL ODBC Connection by testing the connection from within the "SQLConnectionDlg" dialog. For details please see: Test SQL Connection.

Also, this custom action is added without sequence because it should be added as a Published Events on a dialog control in the Dialogs page.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
KOgletree
Posts: 4
Joined: Tue Jan 28, 2014 1:22 am

Re: Testing ODBC Connection

I did add this, without sequence. However when I build the installer it will not connect to any SQL server we have even though the machine it is being installed on is able to connect to all of them with other applications including SQL Management Studio.
KOgletree
Posts: 4
Joined: Tue Jan 28, 2014 1:22 am

Re: Testing ODBC Connection

Since I had been testing a few different things in this setup project, I decided to wipe the entire project and start over. This time it connected right away.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Testing ODBC Connection

Hello,

I'm glad you got this working. If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”