Windows Installer Editor Reference
159
Assembling an Installation
Manual
Mark this to have the service enabled but not automatically started. If this
option is marked, the end user can start the process manually using the
Services control panel or Services application.
Service interacts with desktop
Mark this to have the service display UI (examples: an application window, an
item on the taskbar, and so on) to the end user while it is running.
7. Click OK.
The service appears. To edit it, double-click its name. To delete it, use the right-click
menu.
Controlling Services on the Destination Computer
You can start, stop, and delete services that are in the installation or services that are
already installed on the destination computer.
See
Adding a Service to the Destination Computer
on page 157.
To control a service
1. Do one of the following:
Select Installation Expert > Services page.
a. From Current Feature, select a feature or condition. (Because any item you
add must be assigned to a specific feature, you cannot add an item when All
Features is selected.)
Items that you add to a feature are installed on the destination computer
only if the feature is installed. Items that you add to a condition are installed
only if the feature is installed and the condition is true.
b. Click Add at the right of the page and select Service Control.
On the Features or Components tab in Setup Editor, right-click a feature or
component and select New > Service Control.
The Service Control Details dialog box appears.
2. Complete the dialog box:
Service Name
Select a service contained in the currently-selected feature, or enter the name
of a service you expect to be installed on the destination computer. This name is
used internally by the service to register itself properly in the registry, so this
value must match the internal name of the service that’s stored within the
application file.
Arguments
Enter any arguments to be passed to the service on the command line at
startup.
Install Action
Mark the actions to perform on the service when your application is installed.
Uninstall Action
Mark the actions to perform on the service when your application is uninstalled.