How can I embed Sql server 2005 express edition with my Setup package as one file?
Thanks.
PS:It's a Windows Application.
See http://msdn.microsoft.com/en-us/library/bb264562.aspx for embedding instructions.
Don't let the "Using a Wrapper" section intimidate...You won't need that. But you will need the command line switches. The installer is a single executable that can be fired off from your main installer, and the command line switches provide all of the control you will need for a successful installation.
See also here:
Configuring SQL Express During Installation http://blogs.msdn.com/sqlexpress/archive/2006/09/20/763956.aspx .
从技术上讲,要真正嵌入数据库,您必须使用SqlCe,SQLite等工具。SQLExpress仍作为服务运行,因此我不知道您是否真的可以嵌入它。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.