blob: 7371f0c2bbb044bc3442c4ec5e381a39c888d303 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
<element name="ServiceConfig">
<annotation>
<documentation>Service configuration information for failure actions.</documentation>
<appinfo>
<parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" />
<parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="ServiceInstall" />
<remarks>
Nesting a ServiceConfig element under a ServiceInstall element will result in the service being installed to be configured.
Nesting a ServiceConfig element under a component element will result in an already installed service to be configured. If the service does not exist prior to the install of the MSI package, the install will fail.
</remarks>
</appinfo>
</annotation>
<complexType>
<choice minOccurs="0" maxOccurs="unbounded">
<any namespace="##other" processContents="lax">
<annotation>
<documentation>
Extensibility point in the WiX XML Schema. Schema extensions can register additional
elements at this point in the schema.
</documentation>
</annotation>
</any>
</choice>
<attribute name="ServiceName" type="xs:string">
<annotation>
<documentation>Required if not under a ServiceInstall element.</documentation>
</annotation>
</attribute>
<attribute name="FirstFailureActionType" use="required">
<annotation>
<documentation>Action to take on the first failure of the service.</documentation>
</annotation>
<simpleType>
<restriction base="xs:NMTOKEN">
<enumeration value="none" />
<enumeration value="reboot" />
<enumeration value="restart" />
<enumeration value="runCommand" />
</restriction>
</simpleType>
</attribute>
<attribute name="SecondFailureActionType" use="required">
<annotation>
<documentation>Action to take on the second failure of the service.</documentation>
</annotation>
<simpleType>
<restriction base="xs:NMTOKEN">
<enumeration value="none" />
<enumeration value="reboot" />
<enumeration value="restart" />
<enumeration value="runCommand" />
</restriction>
</simpleType>
</attribute>
<attribute name="ThirdFailureActionType" use="required">
<annotation>
<documentation>Action to take on the third failure of the service.</documentation>
</annotation>
<simpleType>
<restriction base="xs:NMTOKEN">
<enumeration value="none" />
<enumeration value="reboot" />
<enumeration value="restart" />
<enumeration value="runCommand" />
</restriction>
</simpleType>
</attribute>
<attribute name="ResetPeriodInDays" type="wxs:Integer">
<annotation>
<documentation>Number of days after which to reset the failure count to zero if there are no failures.</documentation>
</annotation>
</attribute>
<attribute name="RestartServiceDelayInSeconds" type="wxs:Integer">
<annotation>
<documentation>If any of the three *ActionType attributes is "restart", this specifies the number of seconds to wait before doing so.</documentation>
</annotation>
</attribute>
<attribute name="ProgramCommandLine" type="xs:string">
<annotation>
<documentation>If any of the three *ActionType attributes is "runCommand", this specifies the command to run when doing so. This value is formatted.</documentation>
</annotation>
</attribute>
<attribute name="RebootMessage" type="xs:string">
<annotation>
<documentation>If any of the three *ActionType attributes is "reboot", this specifies the message to broadcast to server users before doing so.</documentation>
</annotation>
</attribute>
<anyAttribute namespace="##other" processContents="lax">
<annotation>
<documentation>
Extensibility point in the WiX XML Schema. Schema extensions can register additional
attributes at this point in the schema.
</documentation>
</annotation>
</anyAttribute>
</complexType>
</element>
|