Search code examples
sql-server-2008.net-3.5installation-package

Install SQL Server 2008 R2 & .Net 3.5 during setup


I need to create a setup package that will not install SQL Server 2008 R2, a sample database, data and .Net 3.5 SP1 along with a setup installation.

I am using Visual Studio 2008. How do i do this?

Is it possible to install the full version, not express from setup package?


Solution

  • You can add other installers to setup packages; however it isn't normally customary to include one for SQL Server for the following reasons:

    1, What if they have a different version installed (i.e. you are installing SQL Standard and they already have SQL Enterprise available)?

    2, What if they have a SQL server installed on another server that they wish to use?

    3, In a couple of years time Microsoft release the next version of SQL server and your software is still installing SQL Server 2008?

    For the sample database and data just add the SQL in as a resource and get the app to run the script on first execution.