aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/ps/SnapIn.xsd
blob: 3734769d0dfcc1d8834fcb1993e88df5f400e875 (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
<element name="SnapIn">
    <annotation>
      <documentation>
        Identifies the parent File as a PowerShell snap-in to be registered on the system.
      </documentation>
      <appinfo>
        <parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="File" />
        <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.
        </remarks>
      </appinfo>
    </annotation>
    <complexType>
      <choice minOccurs="0" maxOccurs="unbounded">
        <element ref="FormatsFile" />
        <element ref="TypesFile" />
        <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="Id" type="xs:string" use="required">
        <annotation>
          <documentation>
            The identifier for this PowerShell snap-in.
          </documentation>
        </annotation>
      </attribute>
      <attribute name="CustomSnapInType" type="xs:string">
        <annotation>
          <documentation>
            The full type name of a class that is used to register a list of cmdlets and providers.
          </documentation>
        </annotation>
      </attribute>
      <attribute name="Description" type="xs:string">
        <annotation>
          <documentation>
            A brief description of the snap-in.
          </documentation>
        </annotation>
      </attribute>
      <attribute name="DescriptionIndirect" type="EmbeddedResource">
        <annotation>
          <documentation>
            An embedded resource that contains a brief description of the snap-in.
            This resource must be embedded in the current snap-in assembly.
          </documentation>
        </annotation>
      </attribute>
      <attribute name="RequiredPowerShellVersion" type="wxs:VersionType">
        <annotation>
          <documentation>
            The required version of PowerShell that must be installed and is associated with the
            snap-in registration. The default value is "1.0".
          </documentation>
        </annotation>
      </attribute>
      <attribute name="Vendor" type="xs:string">
        <annotation>
          <documentation>
            The name of the snap-in vendor.
          </documentation>
        </annotation>
      </attribute>
      <attribute name="VendorIndirect" type="EmbeddedResource">
        <annotation>
          <documentation>
            An embedded resource that contains the name of the snap-in vendor.
            This resource must be embedded in the current snap-in assembly.
          </documentation>
        </annotation>
      </attribute>
      <attribute name="Version" type="wxs:VersionType">
        <annotation>
          <documentation>
            The version of the snapin. If not specified, this is taken from the assembly name.
          </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>