aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/netfx/DotNetCompatibilityCheck.xsd
blob: c8cd4bbac17dd01ec54412723b7b4a0f68a8129f (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
<element name="DotNetCompatibilityCheck">
    <annotation>
      <documentation>
        Validates whether the specified .NET is installed on the computer.
      </documentation>
      <appinfo>
        <parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Package" />
        <parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Module" />
      </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="Id" type="xs:string">
        <annotation>
          <documentation>Identifier for the compatibility check. If the Id is not specified, one will be generated.</documentation>
        </annotation>
      </attribute>
      <attribute name="Property" type="xs:string" use="required">
        <annotation>
          <documentation>
            Name of the property in which to place the result of the compatibility check. The possible values are:
              - 0 - Successful compatibility check.
              - 13 - Requested platform is not compatible with OS. _Introduced in WiX v5._
              - 12289 - No runtime is installed.
              - 12290 - Required runtime is not installed.
              - 12291 - Failed to get hostfxr exports.
              - 12292 - Invalid arguments.
              - 12293 - Failed to construct temp json file path.
              - 12294 - Failed to create temp json file.
          </documentation>
        </annotation>
      </attribute>
      <attribute name="RuntimeType">
        <annotation>
          <documentation>The .NET runtime to check against.</documentation>
        </annotation>
        <simpleType>
          <restriction base="xs:NMTOKEN">
            <enumeration value="aspnet" />
            <enumeration value="core" />
            <enumeration value="desktop" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="Platform" type="NetfxPreprocessorPlatformType">
        <annotation>
          <documentation>The platform to use to validate.</documentation>
        </annotation>
      </attribute>
      <attribute name="Version" type="wxs:StrictThreePartVersionType">
        <annotation>
          <documentation>Version of .NET to check against.</documentation>
        </annotation>
      </attribute>
      <attribute name="RollForward">
        <annotation>
          <documentation>The roll forward policy to use while validating.</documentation>
        </annotation>
        <simpleType>
          <restriction base="xs:NMTOKEN">
            <enumeration value="latestMajor" />
            <enumeration value="major" />
            <enumeration value="latestMinor" />
            <enumeration value="minor" />
            <enumeration value="latestPatch" />
            <enumeration value="disable" />
          </restriction>
        </simpleType>
      </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>