Control Service Component Type

InstallShield 2024 » Component Wizard

Project: This information applies to the following project types:

Basic MSI
DIM
InstallScript MSI
Merge Module
MSI Database
MSM Database

Note:If you want to create a component that installs, starts, stops, or deletes a service during installation or uninstallation, you can use the Services view. You can also use this view to configure extended service customization options, which are not configurable through the Component Wizard. For more information, see Installing, Controlling, and Configuring Windows Services.

The Control Service component type is used start or stop a single service during installation or uninstallation. For example, you might need to delete a running service before updating it in your setup.

The wizard takes you through a series of panels prompting you for information about the service you want to control. Once you have completed the wizard, you have a new component consisting only of default properties and the advanced settings necessary for controlling a service. Later you can add data such as files, shortcuts, and registry entries to your component through the Setup Design or Components view.

To control another service:

Launch the wizard again or modify the component’s Control Service advanced setting.

To install a service:

Launch the wizard again and select the Install Services component type or add the service’s file to the Control Service component you have created in the wizard and edit its Services node in the Advanced Setting area of the Components view.

See Also