Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

Use Fake.Installer.Wix instead (FAKE0001 - package: Fake.Installer.Wix - member: Fake.Installer.Wix.ServiceInstall)

WiXServiceInstall

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<WiXServiceConfig>

Service configuration information for failure actions.

ServiceDependencies
Signature: seq<WiXServiceDependency>

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>
Attributes:
[<Obsolete("Use Fake.Installer.Wix instead (FAKE0001 - package: Fake.Installer.Wix - member: Fake.Installer.Wix.ServiceInstall.createAttributeList)")>]
OBSOLETE

Use Fake.Installer.Wix instead (FAKE0001 - package: Fake.Installer.Wix - member: Fake.Installer.Wix.ServiceInstall.createAttributeList)