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.ServiceConfig)

WiXServiceConfig

Service configuration information for failure actions.

Record Fields

Record FieldDescription
FirstFailureActionType
Signature: ServiceFailureActionType
ProgramCommandLine
Signature: string

If any of the three *ActionType attributes is "runCommand", this specifies the command to run when doing so. This value is formatted.

RebootMessage
Signature: string

If any of the three *ActionType attributes is "reboot", this specifies the message to broadcast to server users before doing so.

ResetPeriodInDays
Signature: int

Number of days after which to reset the failure count to zero if there are no failures.

RestartServiceDelayInSeconds
Signature: int

If any of the three *ActionType attributes is "restart", this specifies the number of seconds to wait before doing so.

SecondFailureActionType
Signature: ServiceFailureActionType
ServiceName
Signature: String

Required if not under a ServiceInstall element.

ThirdFailureActionType
Signature: ServiceFailureActionType

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.ServiceConfig.createAttributeList)")>]
OBSOLETE

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