且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

部署桌面应用程序(C#2008,SQL SERVER 2005)

更新时间:2023-02-06 22:47:58

我们不能保证没有错误 - 这是你的事! :笑:



首先要注意的是,你不应该尝试安装SQL服务器 - 将其留给客户端,或使用不同的DB是单用户而不是。扩散SQL服务器实例不是一个好主意!



大部分工作可以通过在应用程序解决方案中创建安装和部署项目来完成。要添加数据库本身,请看一下: http:// techbrij。 com / 145 / install-sql-server-database-with-visual-studio-setup [ ^ ]
We can''t guarantee a lack of errors - that is your business! :laugh:

The first thing to note, is that you shouldn''t try to install SQL server - leave that to the client, or use a different DB that is single user instead. Proliferating SQL server instances is not a good idea!

Most of the work can be done by creating a "Setup and Deployment" project within your application solution. To add the databse itself, have a look at this: http://techbrij.com/145/install-sql-server-database-with-visual-studio-setup[^]


流程太长,无法解释,请访问以下链接>


http://msdn.microsoft.com/en -us / library / ms953320.aspx [ ^ ]



http://msdn.microsoft.com/en-us/library/k3bb4tfd(v = vs.80).aspx [ ^ ]



跳他们会帮助你
The Process is too long to explain so please visit the following links

http://msdn.microsoft.com/en-us/library/ms953320.aspx[^]

http://msdn.microsoft.com/en-us/library/k3bb4tfd(v=vs.80).aspx[^]

Hope they will help you


你需要在你的解决方案中添加安装项目,你可以选择先决条件,你只需要选择你需要的软件&它将在安装您的应用程序时在客户端计算机上安装它,如sql server,.net framework。希望这会有所帮助。



请查看此链接。



http://vijirajkumar.blogspot.in/2010/03/create-setup-and-deployment-project.html [ ^ ]



http:/ /www.c-sharpcorner.com/UploadFile/vishnuprasad2005/SetupProjects12022005022406AM/SetupProjects.aspx [ ^ ]
You need to add the setup project in your solution, there you have the option of prerequisites, you just need to selects the your required software & it will install it, like sql server, .net framework on client machine while installing your application. Hope this helps.

Please check out this links.

http://vijirajkumar.blogspot.in/2010/03/create-setup-and-deployment-project.html[^]

http://www.c-sharpcorner.com/UploadFile/vishnuprasad2005/SetupProjects12022005022406AM/SetupProjects.aspx[^]