Implementing SQL Server express 2005 with my application

How can I embed Sql Server 2005 Express Edition with my installation package as one file?

Thanks.

PS: This is a Windows application.

+1


a source to share


2 answers


See http://msdn.microsoft.com/en-us/library/bb264562.aspx for embedding instructions.

Don't be intimidated by the Using Wrapper section ... you don't need this. But you need command line switches. The installer is a single executable file that can be run from the main installer, and the command line switches provide all the control you need to install successfully.



See also here:

Configuring SQL Express during installation http://blogs.msdn.com/sqlexpress/archive/2006/09/20/763956.aspx .

+3


a source


Well, technically, to really embed a database, you'll need to use something like SqlCe, SQLite, etc. SQL Express still runs as a service, so I don't know if you can embed it.



+2


a source







All Articles