SQL Server Connection - 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!

andrewmcc
Posts: 1
Joined: Fri Jan 21, 2011 1:32 am

SQL Server Connection

HI

I am currently evaluating the product - it looks really good and should do what we require.

We have a .NET application that needs to be installed and the application requires SQL Server (this is added as a pre req.)

We have now have come to the point of running SQL Scripts during installation.

My question is how do we connect to the newly installed server (the pre req). Using ODBC is not working as I assume the driver is not present on the computer. Is there a better method than using old technology like ODBC. How is the best way to run the required SQL scripts on setup?

Thanks
Andrew
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: SQL Server Connection

Hello Andrew and welcome to the Advanced Installer Forums,
Using ODBC is not working as I assume the driver is not present on the computer.
The driver can be used to connect to the SQL Server if it's installed in the same package. You can add the driver from the ODBC page and if it's not already installed on the target machine, it will be installed along with your package.
Is there a better method than using old technology like ODBC.
Our predefined connection mode is either through an ODBC Driver or an ODBC Data Source. You can still implement a more compatible connection mode from within your own custom action.
How is the best way to run the required SQL scripts on setup?
The best way to run your SQL scripts is from the SQL Scripts page which is available from the Enterprise project type and license.

Thank you for considering Advanced Installer,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”