Automatic installation of a SQL Server instance - 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!

Schultz
Posts: 5
Joined: Fri Nov 04, 2011 11:06 am

Automatic installation of a SQL Server instance

Hello,

I would like to install a own SQL Server 2008 R2 Express instance with my software. What is the recommended approach?

Prerequisites is is not the solution, because I want to install a separate instance. Can I merge the SQLEXPR.EXE file and run this with parameters?

Many thanks for help!

Regards, Andreas
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Automatic installation of a SQL Server instance

Hi Andreas,

You can try to use global prerequisites. We recently introduced a feature called "Skip post-install searches" with which you can always install the prerequisite.

To achieve this you must specify an invalid install condition for your prerequisite( the default one when adding a new prerequisite is a good example ). Once you have done this, simply enable the "Skip post-install searches" flag from the Options tab, described in this user guide article. This way the prerequisite will always be marked for installation and the user can choose to skip it in the global prerequisites list.
Please keep in mind that this approach will not allow the installer to correctly detect if the prerequisite already exists on the target machine. The prerequisite will be installed whether the user choses or not.

If you don't want the prerequisite installed before the main installation, you can also use a feature based prerequisite with the same settings.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”