aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/netfx/DotNetCoreSearch.xsd
blob: d488be025d599d18234a05f90fb3198e9801c769 (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
<element name="DotNetCoreSearch">
    <annotation>
      <documentation>
        Searches for an installation of .NET Core.
        The variable gets set to the latest version of the given Runtime, Platform, and Major Version.
      </documentation>
      <appinfo>
        <parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" />
        <parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
      </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 search. If the Id is not specified, one will be generated.</documentation>
        </annotation>
      </attribute>
      <attribute name="Variable" type="xs:string" use="required">
        <annotation>
          <documentation>Name of the variable in which to place the result of the search.</documentation>
        </annotation>
      </attribute>
      <attribute name="Condition" type="xs:string">
        <annotation>
          <documentation>Condition for evaluating the search. If this evaluates to false, the search is not executed at all.</documentation>
        </annotation>
      </attribute>
      <attribute name="After" type="xs:string">
        <annotation>
          <documentation>Id of the search that this one should come after.</documentation>
        </annotation>
      </attribute>
      <attribute name="RuntimeType">
        <annotation>
          <documentation>The type of .NET Core runtime to search for.</documentation>
        </annotation>
        <simpleType>
          <restriction base="xs:NMTOKEN">
            <enumeration value="aspnet">
              <annotation>
                <documentation>
                  Attempt to check for an ASP.NET Core type runtime.
                  The ASP.NET Core Runtime enables you to run web/server applications.
                </documentation>
              </annotation>
            </enumeration>
            <enumeration value="core">
              <annotation>
                <documentation>
                  Attempt to check for a .NET type runtime.
                  The .NET Core Runtime contains just the components needed to run a console app.
                </documentation>
              </annotation>
            </enumeration>
            <enumeration value="desktop">
              <annotation>
                <documentation>
                  Attempt to check for a .NET Desktop type runtime.
                  The .NET Desktop Runtime enables you to run Windows desktop applications.
                </documentation>
              </annotation>
            </enumeration>
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="Platform" type="NetfxPreprocessorPlatformType">
        <annotation>
          <documentation>The platform to search for.</documentation>
        </annotation>
      </attribute>
      <attribute name="MajorVersion" type="wxs:Integer">
        <annotation>
          <documentation>Major version of .NET. For example, "6".</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>