Variable SQL server connection parameters - 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!

OldReliable
Posts: 2
Joined: Tue Mar 10, 2009 8:43 pm

Variable SQL server connection parameters

We are creating an install package for an Active Server Page based web application.
The installation will be carried out by the customer's server administrator.

Since each site may have different DB machine|drive|folder|filename values, we need to collect these values and pass them, via the Windows installer package to the global.asa (or to an interim text file) and also make the proper odbc connection between the application and the database.

We explored the possibility of using prerequisites, the database (odbc) functions in the advanced installer, and everything else we can think of up to this point.

Does anyone have suggestion for passing this information so the customer/admin does not need to perform these tasks after the installer msi exits.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Variable SQL server connection parameters

Hi,

What you need could be done by using custom installation dialogs and a custom action. Please note that the User Guide contains the Create a new dialog tutorial which may help you. The properties of the controls on the custom dialogs can be used by a custom action which writes into the "global.asa" file. Perhaps the Write text into a file how-to will help you.

To create SQL connections you can use the SQL Scripts page. Please note that the User Guide contains a SQL script tutorial.

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

Return to “Common Problems”