部署依赖于SQL Server 2008 Express数据库的C#应用​​程序 [英] Deploying a C# application which depends on a SQL Server 2008 Express database

查看:107
本文介绍了部署依赖于SQL Server 2008 Express数据库的C#应用​​程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi
我正在尝试部署C#应用程序,它使用SQL Server 2008 Express版本内置的数据库。在应用程序的安装项目中,我已将SQL Server 2008 Express检查为先决条件。

我想知道这将做什么。它会检查是否安装了SQL Server 2008 Express,如果没有安装,它将下载SQL Server并安装它吗?

Hi I am trying to deploy a C# application, it uses a database built in SQL Server 2008 Express edition. in application's setup project I have checked SQL Server 2008 Express as "Prerequisite".
I want to know what this will do exactly. Will it check if SQL Server 2008 Express is installed or not, and if it is not installed, it will download SQL Server and install it?

推荐答案

基本上你是正确的,它将检查目标机器上的先决条件,如果不存在则下载并安装它......但你必须指定在哪里找到安装程序。



请参阅此 TechNet博客 [ ^ ]了解如何使用您的应用程序检查并在必要时安装sql server express。



msdn参考 [ ^ ]
Essentially you are correct, it will check for the prerequisite on the target machine and if not present will download and install it ... but you have to specify where to find the installer.

See this TechNet blog[^] for a walk through of how to check for, and if necessary install, sql server express with your application.

and the msdn reference[^]


这篇关于部署依赖于SQL Server 2008 Express数据库的C#应用​​程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆