Mastering Service Management: Understanding Service Control Settings

Mastering Service Management: Understanding Service Control Settings

Joseph Lv8

Mastering Service Management: Understanding Service Control Settings

Table of Contents

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

Service Control Properties

A service Control Operation allows you to control the service’s behavior after it is installed.

Service Control Operation

Service Name

This field contains the name of the controlled service. This string can be localized and it can contain installer properties. You may choose a service to be installed from the combo box or you can enter the name of a service already installed on the target machine.

Attached Component

In this field, you can specify the component which will contain the control operation. You may choose it from the drop-down list box which contains all the package’s components.

Actions on install

There are three available options for your service after it is installed:

  • Start - the service will start
  • Stop - the service will stop
  • Delete - the service will be removed

NoteIf all three options are checked, the existing service will be stopped and removed and the service in the package will be installed and started.

https://techidaily.com

Actions on uninstall

There are three available options for your service when it is uninstalled by your installation package:

  • Start - the service will start
  • Stop - the service will stop
  • Delete - the service will be removed

NoteFor the package’s uninstallation, you can only start a service which will still be present on the target machine after the uninstall is complete.

https://techidaily.com

Service Parameters

In this section, you can specify a list of arguments separated by [~] which will be executed when the service starts. You can localize the value of these arguments. This field is of Formatted Type and can be edited using Smart Edit Control

ImportantIn case of Merge Module projects the following attributes can be made configurable at merge time:

https://techidaily.com
  • Name
  • Events
  • Argument
  • Wait
https://techidaily.com

Wait until the service completes

If this option is enabled, the installer will wait a maximum of 30 seconds for the service to complete before continuing. This delay can be used to wait an additional amount of time in case a critical event returns a failure error.

If this option is disabled, the installer will wait until the Service Control Manager (SCM) reports that the service is in a pending state before proceeding.

TipFor more information about the resources and attributes that can be configured, please see: Configurable Merge Modules Page .

Did you find this page useful?

Please give it a rating:

Thanks!

Report a problem on this page

Information is incorrect or missing

Information is unclear or confusing

Something else

Can you tell us what’s wrong?

Send message

Also read:

  • Title: Mastering Service Management: Understanding Service Control Settings
  • Author: Joseph
  • Created at : 2024-10-03 19:24:46
  • Updated at : 2024-10-10 22:51:27
  • Link: https://fox-tls.techidaily.com/mastering-service-management-understanding-service-control-settings/
  • License: This work is licensed under CC BY-NC-SA 4.0.