aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/iis/WebError.xsd
blob: 60aa6ffa8d99e0141396a868317697c1729779ad (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
<element name="WebError">
    <annotation>
      <documentation>Custom Web Errors used by WebSites and Virtual Directories.</documentation>
      <appinfo>
        <remarks>
          You can only use error code and sub code combinations which are supported by IIS.  Attempting to set a custom error for
          an error code and sub code combination that is not supported by IIS (in the default list of error codes) will result in
          an installation failure.
        </remarks>
      </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="ErrorCode" use="required" type="wxs:Integer">
        <annotation>
          <documentation>HTTP 1.1 error code.</documentation>
        </annotation>
      </attribute>
      <attribute name="SubCode" use="required" type="wxs:Integer">
        <annotation>
          <documentation>Error sub code.  Set to 0 to get the wild card "*".</documentation>
        </annotation>
      </attribute>
      <attribute name="File" type="xs:string">
        <annotation>
          <documentation>File to be sent to the client for this error code and sub code.  This can be formatted.  For example: [#FileId].</documentation>
        </annotation>
      </attribute>
      <attribute name="URL" type="xs:string">
        <annotation>
          <documentation>URL to be sent to the client for this error code and sub code.  This can be formatted.</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>