aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/util/InternetShortcut.xsd
blob: 4e8099cf16286a9b6ae4ae6d59e6398595575b5e (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
<element name="InternetShortcut">
    <annotation>
      <appinfo>
        <parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" />
        <howtoRef href="files_and_registry/create_internet_shortcut.html">How To: Create a shortcut to a webpage</howtoRef>
      </appinfo>
      <documentation>Creates a shortcut to a URL.</documentation>
    </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>Unique identifier in your installation package for this Internet shortcut.</documentation>
        </annotation>
      </attribute>
      <attribute name="Directory" type="xs:string">
        <annotation>
          <documentation>Identifier reference to Directory element where shortcut is to be created. This attribute's value defaults to the parent Component directory.</documentation>
        </annotation>
      </attribute>
      <attribute name="Name" type="xs:string" use="required">
        <annotation>
          <documentation>
            The name of the shortcut file, which is visible to the user. (The .lnk
            extension is added automatically and by default, is not shown to the user.)
          </documentation>
        </annotation>
      </attribute>
      <attribute name="Target" type="xs:string" use="required">
        <annotation>
          <documentation>
            URL that should be opened when the user selects the shortcut. Windows
            opens the URL in the appropriate handler for the protocol specified
            in the URL. Note that this is a formatted field, so you can use
            [#fileId] syntax to refer to a file being installed (using the file:
            protocol).
          </documentation>
        </annotation>
      </attribute>
      <attribute name="Type">
        <annotation>
          <documentation>Which type of shortcut should be created.</documentation>
        </annotation>
        <simpleType>
          <restriction base="xs:NMTOKEN">
            <enumeration value="url">
              <annotation>
                <documentation>Creates .url files using IUniformResourceLocatorW.</documentation>
              </annotation>
            </enumeration>
            <enumeration value="link">
              <annotation>
                <documentation>Creates .lnk files using IShellLinkW (default).</documentation>
              </annotation>
            </enumeration>
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="IconFile" type="xs:string">
        <annotation>
          <documentation>
            Icon file that should be displayed. Note that this is a formatted field, so you can use
            [#fileId] syntax to refer to a file being installed (using the file:
            protocol).
          </documentation>
        </annotation>
      </attribute>
      <attribute name="IconIndex" type="wxs:Integer">
        <annotation>
          <documentation>
            Index of the icon being referenced.
          </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>