diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Data/Xsd/actions.xsd | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/src/WixToolset.Data/Data/Xsd/actions.xsd b/src/WixToolset.Data/Data/Xsd/actions.xsd new file mode 100644 index 00000000..bf0ccb95 --- /dev/null +++ b/src/WixToolset.Data/Data/Xsd/actions.xsd | |||
@@ -0,0 +1,73 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | |||
5 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
6 | targetNamespace="http://wixtoolset.org/schemas/v4/wi/actions" | ||
7 | xmlns="http://wixtoolset.org/schemas/v4/wi/actions"> | ||
8 | <xs:annotation> | ||
9 | <xs:documentation> | ||
10 | Schema for describing standard actions in the Windows Installer. | ||
11 | </xs:documentation> | ||
12 | </xs:annotation> | ||
13 | |||
14 | <xs:element name="actions"> | ||
15 | <xs:complexType> | ||
16 | <xs:sequence maxOccurs="unbounded"> | ||
17 | <xs:element ref="action" /> | ||
18 | </xs:sequence> | ||
19 | </xs:complexType> | ||
20 | </xs:element> | ||
21 | |||
22 | <xs:element name="action"> | ||
23 | <xs:complexType> | ||
24 | <xs:attribute name="name" type="xs:string" use="required"> | ||
25 | <xs:annotation> | ||
26 | <xs:documentation>Name of action</xs:documentation> | ||
27 | </xs:annotation> | ||
28 | </xs:attribute> | ||
29 | <xs:attribute name="condition" type="xs:string"> | ||
30 | <xs:annotation> | ||
31 | <xs:documentation>Default condition for action</xs:documentation> | ||
32 | </xs:annotation> | ||
33 | </xs:attribute> | ||
34 | <xs:attribute name="sequence" type="xs:integer" use="required"> | ||
35 | <xs:annotation> | ||
36 | <xs:documentation>Sequence of action</xs:documentation> | ||
37 | </xs:annotation> | ||
38 | </xs:attribute> | ||
39 | <xs:attribute name="AdminExecuteSequence" type="ActionsYesNoType"> | ||
40 | <xs:annotation> | ||
41 | <xs:documentation>Specifies if action is allowed in AdminExecuteSequence</xs:documentation> | ||
42 | </xs:annotation> | ||
43 | </xs:attribute> | ||
44 | <xs:attribute name="AdminUISequence" type="ActionsYesNoType"> | ||
45 | <xs:annotation> | ||
46 | <xs:documentation>Specifies if action is allowed in AdminUISequence</xs:documentation> | ||
47 | </xs:annotation> | ||
48 | </xs:attribute> | ||
49 | <xs:attribute name="AdvtExecuteSequence" type="ActionsYesNoType"> | ||
50 | <xs:annotation> | ||
51 | <xs:documentation>Specifies if action is allowed in AdvtExecuteSequence</xs:documentation> | ||
52 | </xs:annotation> | ||
53 | </xs:attribute> | ||
54 | <xs:attribute name="InstallExecuteSequence" type="ActionsYesNoType"> | ||
55 | <xs:annotation> | ||
56 | <xs:documentation>Specifies if action is allowed in InstallExecuteSequence</xs:documentation> | ||
57 | </xs:annotation> | ||
58 | </xs:attribute> | ||
59 | <xs:attribute name="InstallUISequence" type="ActionsYesNoType"> | ||
60 | <xs:annotation> | ||
61 | <xs:documentation>Specifies if action is allowed in InstallUISequence</xs:documentation> | ||
62 | </xs:annotation> | ||
63 | </xs:attribute> | ||
64 | </xs:complexType> | ||
65 | </xs:element> | ||
66 | |||
67 | <xs:simpleType name="ActionsYesNoType"> | ||
68 | <xs:restriction base="xs:NMTOKEN"> | ||
69 | <xs:enumeration value="no" /> | ||
70 | <xs:enumeration value="yes" /> | ||
71 | </xs:restriction> | ||
72 | </xs:simpleType> | ||
73 | </xs:schema> | ||