仅安装 sql server express 数据库引擎

发布于 2025-01-01 12:41:27 字数 474 浏览 0 评论 0原文

我正在部署一个 wpf 应用程序,需要 sql server 2008 作为先决条件。因此,我将 sql server 安装程序嵌入到我的应用程序中。当启动时,会出现 SQL Server 安装窗口: 在此处输入图像描述

我不希望用户必须完成此安装。该程序将安装 SQL Express 和许多其他东西,例如 SQL Management Studio。

是否有地方可以仅下载 SQL Express 2008 数据库引擎?这样用户只需单击“下一步”、“同意”、“确定”...等...而无需做出复杂的决定。或者也许可以通过命令行安装 sql server express?

我将安装程序包含在我的应用程序中,因为我的应用程序应该能够在没有互联网连接的情况下安装。另外,我似乎找不到一个只能下载 SQL Server Express 数据库引擎的地方。

I am deploying a wpf application that requires sql server 2008 as a prerequisite. As a result I am embedding the sql server installer in my application. When that launches the SQL Server Installation window shows up:
enter image description here

I don't want the user to have to go through out this installation. That program will install SQL Express and many other things like SQL Management Studio.

Is there a place where I can download SQL Express 2008 the database engine only? so that the user will just have to click next, Agree, Ok... etc... without having to make complicated decisions. Or maybe is it possible to install sql server express throughout the command line?

I am including the installer in my application because my application is supposed to be able to be installed without having an interenet connection. Also I cannto seem to find a place where I can download SQL Server express the database engine only.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

凝望流年 2025-01-08 12:41:27

请转至此处并下载适当版本的 SQL Express。然后参阅如何:使用配置文件安装 SQL Server 2008 R2 MSDN 上的文章。请注意,生成安装的配置文件后,您可能会对更改配置中的以下键特别感兴趣:

; Setup will not display any user interface. 

QUIET="False"

; Setup will display progress only without any user interaction. 

QUIETSIMPLE="True"

; Automatically accept the license terms

IAcceptSQLServerLicenseTerms="True"

Go here and download the appropriate version of SQL Express. Then see the How to: Install SQL Server 2008 R2 Using a Configuration File article on MSDN. Note that after you generate the config file for the installation, changing the following keys in the config will probably be of particular interest to you:

; Setup will not display any user interface. 

QUIET="False"

; Setup will display progress only without any user interaction. 

QUIETSIMPLE="True"

; Automatically accept the license terms

IAcceptSQLServerLicenseTerms="True"
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文