ServiceControl Table
[This is preliminary documentation and subject to change.]
The ServiceControl table is used to control installed or uninstalled services.
The ServiceControl table has the following columns.
Columns
-
ServiceControl
-
This is the primary key of this table.
-
Name
-
This column is the string naming the service. This column can be used to control a service that is not installed.
-
Event
-
This column contains the operations to be performed on the name service. The values are bitfields that can be combined into a single value that represents several operations.
The following values are only used during an install.
| Value |
Meaning |
| 1 |
Starts the service during the StartServices action. |
| 2 |
Stops the service during the StopServices action. |
| 4 |
<reserved> |
| 8 |
Deletes the service during the DeleteServices action. |
The following values are only used during an uninstall
| Value |
Meaning |
| 16 |
Starts the service during the StartServices action. |
| 32 |
Stops the service during the StopServices action. |
| 64 |
<reserved> |
| 128 |
Deletes the service during the DeleteServices action. |
-
Arguments
-
A list of arguments for starting services. The arguments are separated by null characters [~]. For example, the list of arguments One, Two, and Three are listed as: One[~]Two[~]Three.
-
Wait
-
A value of 1 in this column means to wait until the service actually completes before proceeding. This implies that the event is critical to the install, and that if the event fails the resulting error cannot be ignored. A value of 0 in this column means to wait only until the service control manager (SCM) reports that this service is in a pending state.
-
Component_
-
External key to column one of the Component Table.
Remarks
None.