Installing Notification Services from the Command Prompt

SQL Server Setup

The Microsoft SQL Server 2005 Setup program provides a command prompt interface in addition to the graphical user interface. Use the information in this topic to install Notification Services from the command prompt. For additional information about installing SQL Server 2005 from the command prompt, including the complete syntax and list of parameters, see How to: Install SQL Server 2005 from the Command Prompt.

Notification Services ADDLOCAL Values

Each Notification Services component can be installed from the command prompt using the ADDLOCAL argument for Microsoft Windows Installer. To install a component from a command prompt, you must use the correct command-line name. The component name and command-line name for each component are shown in the following table.

Component Name Command-Line Name

All Notification Services components

Notification_Services

Engine components

NS_Engine

Client components

NS_Client

Examples

The following examples show how to install Notification Services from the command prompt.

Installing all Notification Services components

This example shows how to install all components of Notification Services, displaying progress dialog boxes:

start /wait setup.exe /qb ADDLOCAL=Notification_Services

Installing Notification Services client components

This example shows how to perform a new installation of the Notification Services client components. No dialog boxes are displayed, but the command prompt does not return until installation is complete:

start /wait setup.exe /qn ADDLOCAL=NS_Client

Removing Notification Services client components

This example shows how to remove Notification Services client components, displaying progress dialog boxes:

start /wait setup.exe REMOVE=NS_Client

See Also