ServiceInstall

Adds services for parent Component. Use the ServiceControl element to remove services.

Record Fields

Record FieldDescription
Account
Signature: string

Fully qualified names must be used even for local accounts, e.g.: ".\LOCAL_ACCOUNT". Valid only when ServiceType is ownProcess.

Arguments
Signature: string

Contains any command line arguments or properties required to run the service.

Description
Signature: string

Sets the description of the service.

DisplayName
Signature: string

This column is the localizable string that user interface programs use to identify the service.

EraseDescription
Signature: YesOrNo option

Determines whether the existing service description will be ignored. If 'yes', the service description will be null, even if the Description attribute is set.

ErrorControl
Signature: ErrorControl
Id
Signature: string

Unique identifier for this service configuration. This value will default to the Name attribute if not specified.

Interactive
Signature: YesOrNo option

Whether or not the service interacts with the desktop.

LoadOrderGroup
Signature: string

The load ordering group that this service should be a part of.

Name
Signature: string
Password
Signature: string

The password for the account. Valid only when the account has a password.

ServiceConfig
Signature: seq<ServiceConfig>

Service configuration information for failure actions.

ServiceDependencies
Signature: seq<ServiceDependency>

Services or groups of services that must start before the parent service.

Start
Signature: ServiceInstallStart
Type
Signature: ServiceInstallType
Vital
Signature: YesOrNo

The overall install should fail if this service fails to install. (Default: Yes)

Instance members

Instance memberDescription
x.createAttributeList()
Signature: unit -> seq<string * string>