如何在VS2010中部署SQL DB文件和SQL安装程序

问题描述:

我正在使用visual studio 2010和sql express 2008

我想用安装和部署项目部署我的项目,并希望包含sql数据库文件和sql express安装程序。因此用户可以轻松安装和使用该应用程序。



i想知道一步一步的说明或任何可以帮助的链接。

i am using visual studio 2010 and sql express 2008
i would like to deploy my project with setup and deployment project and would like to include the sql database file and sql express installer. so user can easily install and use the application.

i would like to know step by step instructions or any link that can help.

请不要。用户可能已经安装了SQL Server,甚至可能是比您更新的SQL Server,也许是一台服务器。文档中的简单状态,需要SQL Server,并让用户决定如何最好地访问它。
Please don't. The user may already have SQL Server installed, perhaps even a newer one than you have, perhaps one a server. Simple state in the documentation that SQL Server is required and let the user decide how best to access it.