从命令提示符安装 Notification Services

除了图形用户界面,Microsoft SQL Server 2005 安装程序还提供命令提示符界面。请使用本主题中的信息从命令提示符安装 Notification Services。有关从命令提示符安装 SQL Server 2005 的其他信息(包括完整的语法和参数列表),请参阅如何从命令提示符安装 SQL Server 2005

Notification Services ADDLOCAL 值

可以使用 Microsoft Windows Installer 的 ADDLOCAL 参数,从命令提示符安装每个 Notification Services 组件。要从命令行安装组件,用户必须使用正确的命令行名称。各组件的组件名称和命令行名称如下表所示。

组件名称 命令行名

所有 Notification Services 组件

Notification_Services

Engine components

NS_Engine

Client components

NS_Client

示例

以下示例说明如何从命令提示符安装 Notification Services。

安装所有 Notification Services 组件

下面的示例说明如何安装 Notification Services 的所有组件,同时显示进度对话框:

start /wait setup.exe /qb ADDLOCAL=Notification_Services

安装 Notification Services 客户端组件

下面的示例说明如何执行 Notification Services 客户端组件的新安装。不显示任何对话框,但命令提示符要等到安装完成才返回:

start /wait setup.exe /qn ADDLOCAL=NS_Client

删除 Notification Services 客户端组件

下面的示例说明如何删除 Notification Services 客户端组件,同时显示进度对话框:

start /wait setup.exe REMOVE=NS_Client

请参阅

概念

安装 SQL Server Notification Services
使用安装程序安装 Notification Services

帮助和信息

获取 SQL Server 2005 帮助