简体   繁体   English

部署VB.net 2010 Win Forms应用程序

[英]Deploying a VB.net 2010 Win Forms application

I am deploying a VB.net 2010 winforms application, and when I install it on the client's machine, the install process also installs an instance of SQL Server 2005 Express. 我正在部署VB.net 2010 winforms应用程序,并且在将其安装在客户端计算机上时,安装过程还将安装SQL Server 2005 Express的实例。 The application connects to a central SQL database on the server. 该应用程序连接到服务器上的中央SQL数据库。 To install, I am using the "Publish" option in VS 2010 要安装,我在VS 2010中使用“发布”选项

Why does it do that? 为什么这样做呢? There should be no need for a local instance of SQL Express. 不需要SQL Express的本地实例。 Is there a way to avoid installing SQL 2005 Express (I know it is free, but I would rather not have it installed if possible) 有没有一种方法可以避免安装SQL 2005 Express(我知道它是免费的,但是我宁愿不安装它)

It's likely that whatever technology you're using for packaging/deployment is including the installer for SQL. 您用于打包/部署的任何技术都可能包括SQL安装程序。 For the default setup project, I believe it is a checkbox for a pre-requisite. 对于默认的安装项目,我认为它是先决条件的复选框。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM