TestODBCConnection problems - 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!

vulgrin
Posts: 40
Joined: Fri Jan 11, 2008 9:49 pm

TestODBCConnection problems

Having two problems with the pre-defined custom action TestODBCConnection

1. I can't get the next dialog to come up if the check is successful. My NewDialog condition is set to: SqlConnectionOk = "1" but it still won't go to the next one.
2. If the user messes up their database name, the test doesn't seem to timeout. The installer is basically hanging there waiting, and I have to kill it with Task Manager.

Any ideas?
Dave
vulgrin
Posts: 40
Joined: Fri Jan 11, 2008 9:49 pm

Re: TestODBCConnection problems

Ok, I solved #1. It's case sensitive, so if I changed it to: SqlConnectionOK = "1" then it works. Duh.

But another question has come up - is it possible to pop up a dialog real fast while the TestODBCConnection is running? If its a bad name or there is a timeout, its tough to know that the installer is doing something. I'd like to just pop up a message box that says "Please wait while we test the connection." With a cancel button.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: TestODBCConnection problems

Hi,
is it possible to pop up a dialog real fast while the TestODBCConnection is running?
We will investigate this and see if we can find a solution. Thank you for your suggestion.
If the user messes up their database name, the test doesn't seem to timeout.
The next version of Advanced Installer will have a configurable time-out for the SQL Connection test. Until then, the test will use the default timeout (60 seconds).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vulgrin
Posts: 40
Joined: Fri Jan 11, 2008 9:49 pm

Re: TestODBCConnection problems

Is there any way that I can program in my own dialog in the meantime? I didn't know if it was possible to maybe have a dialog like the disk space checker dialog come up, then have it do the odbc connection test and report the results.

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: TestODBCConnection problems

Hi,
Is there any way that I can program in my own dialog in the meantime?
You could create a custom dialog and show it through a custom action, but you cannot determine what the custom action is doing. Therefore, the only solution would be to create your own custom action which performs the test and shows the dialog.

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

Return to “Common Problems”