2
votes

I am deploying a wpf application that requires sql server 2008 as a prerequisite. As a result I am embedding the sql server installer in my application. When that launches the SQL Server Installation window shows up: enter image description here

I don't want the user to have to go through out this installation. That program will install SQL Express and many other things like SQL Management Studio.

Is there a place where I can download SQL Express 2008 the database engine only? so that the user will just have to click next, Agree, Ok... etc... without having to make complicated decisions. Or maybe is it possible to install sql server express throughout the command line?

I am including the installer in my application because my application is supposed to be able to be installed without having an interenet connection. Also I cannto seem to find a place where I can download SQL Server express the database engine only.

1
Incidentally, leaving out the client tools could result in a support nightmare for you (or just general nightmares for the client) - Andrew Barber

1 Answers

3
votes

Go here and download the appropriate version of SQL Express. Then see the How to: Install SQL Server 2008 R2 Using a Configuration File article on MSDN. Note that after you generate the config file for the installation, changing the following keys in the config will probably be of particular interest to you:

; Setup will not display any user interface. 

QUIET="False"

; Setup will display progress only without any user interaction. 

QUIETSIMPLE="True"

; Automatically accept the license terms

IAcceptSQLServerLicenseTerms="True"