blob: fce957d8562f15d625deece5465b3dc400b74094 (
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
|
<?xml version="1.0" encoding="utf-8"?>
<!-- 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. -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xse="http://wixtoolset.org/schemas/XmlSchemaExtension"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:wxs="http://wixtoolset.org/schemas/v4/wxs"
targetNamespace="http://wixtoolset.org/schemas/v4/wxs/powershell"
xmlns="http://wixtoolset.org/schemas/v4/wxs/powershell">
<xs:annotation>
<xs:documentation>
The source code schema for the WiX Toolset PowerShell Extension.
</xs:documentation>
</xs:annotation>
<xs:import namespace="http://wixtoolset.org/schemas/v4/wxs" />
<xs:element name="FormatsFile">
<xs:annotation>
<xs:documentation>
Identifies the parent File as a formats XML file for the referenced PowerShell snap-in.
</xs:documentation>
<xs:appinfo>
<xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="File" />
<xse:remarks>
A formats XML file that defines output formats for objects on the pipeline.
</xse:remarks>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:any namespace="##other" processContents="lax">
<xs:annotation>
<xs:documentation>
Extensibility point in the WiX XML Schema. Schema extensions can register additional
elements at this point in the schema.
</xs:documentation>
</xs:annotation>
</xs:any>
</xs:choice>
<xs:attribute name="FileId" type="xs:string">
<xs:annotation>
<xs:documentation>
Reference to the formats File ID. This is required when nested under the SnapIn element.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="SnapIn" type="xs:string">
<xs:annotation>
<xs:documentation>
Reference to the PowerShell snap-in ID for which this formats file is associated. This is required when nested under the File element.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" processContents="lax">
<xs:annotation>
<xs:documentation>
Extensibility point in the WiX XML Schema. Schema extensions can register additional
attributes at this point in the schema.
</xs:documentation>
</xs:annotation>
</xs:anyAttribute>
</xs:complexType>
</xs:element>
<xs:element name="TypesFile">
<xs:annotation>
<xs:documentation>
Identifies the parent File as a types XML file for the referenced PowerShell snap-in.
</xs:documentation>
<xs:appinfo>
<xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="File" />
<xse:remarks>
A types XML file used by the extensible type system.
</xse:remarks>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:any namespace="##other" processContents="lax">
<xs:annotation>
<xs:documentation>
Extensibility point in the WiX XML Schema. Schema extensions can register additional
elements at this point in the schema.
</xs:documentation>
</xs:annotation>
</xs:any>
</xs:choice>
<xs:attribute name="FileId" type="xs:string">
<xs:annotation>
<xs:documentation>
Reference to the types File ID. This is required when nested under the SnapIn element.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="SnapIn" type="xs:string">
<xs:annotation>
<xs:documentation>
Reference to the PowerShell snap-in ID for which this types file is associated. This is required when nested under the File element.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" processContents="lax">
<xs:annotation>
<xs:documentation>
Extensibility point in the WiX XML Schema. Schema extensions can register additional
attributes at this point in the schema.
</xs:documentation>
</xs:annotation>
</xs:anyAttribute>
</xs:complexType>
</xs:element>
<xs:element name="SnapIn">
<xs:annotation>
<xs:documentation>
Identifies the parent File as a PowerShell snap-in to be registered on the system.
</xs:documentation>
<xs:appinfo>
<xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="File" />
<xse:remarks>
[PowerShell](http://www.microsoft.com/powershell) snap-ins allow developers to
extend the functionality of of the PowerShell engine. Add this element to identify
the parent File as a PowerShell snap-in that will get registered on the system.
</xse:remarks>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="FormatsFile" />
<xs:element ref="TypesFile" />
<xs:any namespace="##other" processContents="lax">
<xs:annotation>
<xs:documentation>
Extensibility point in the WiX XML Schema. Schema extensions can register additional
elements at this point in the schema.
</xs:documentation>
</xs:annotation>
</xs:any>
</xs:choice>
<xs:attribute name="Id" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The identifier for this PowerShell snap-in.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="CustomSnapInType" type="xs:string">
<xs:annotation>
<xs:documentation>
The full type name of a class that is used to register a list of cmdlets and providers.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Description" type="xs:string">
<xs:annotation>
<xs:documentation>
A brief description of the snap-in.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DescriptionIndirect" type="EmbeddedResource">
<xs:annotation>
<xs:documentation>
An embedded resource that contains a brief description of the snap-in.
This resource must be embedded in the current snap-in assembly.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RequiredPowerShellVersion" type="wxs:VersionType">
<xs:annotation>
<xs:documentation>
The required version of PowerShell that must be installed and is associated with the
snap-in registration. The default value is "1.0".
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Vendor" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of the snap-in vendor.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="VendorIndirect" type="EmbeddedResource">
<xs:annotation>
<xs:documentation>
An embedded resource that contains the name of the snap-in vendor.
This resource must be embedded in the current snap-in assembly.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Version" type="wxs:VersionType">
<xs:annotation>
<xs:documentation>
The version of the snapin. If not specified, this is taken from the assembly name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" processContents="lax">
<xs:annotation>
<xs:documentation>
Extensibility point in the WiX XML Schema. Schema extensions can register additional
attributes at this point in the schema.
</xs:documentation>
</xs:annotation>
</xs:anyAttribute>
</xs:complexType>
</xs:element>
<xs:simpleType name="EmbeddedResource">
<xs:annotation>
<xs:documentation>
<html:p>
Values should be in the format *ResourceName,StringName*, where *ResourceName*
is the name of the embedded resource in your assembly sans the ".resources" extension, and *StringName*
is the name of the string resource in the embedded resource.
</html:p>
<html:p>
Example: UtilityMshSnapInResources,Description
</html:p>
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string" />
</xs:simpleType>
</xs:schema>
|