diff options
Diffstat (limited to '')
-rw-r--r-- | src/xsd/difxapp.xsd | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/src/xsd/difxapp.xsd b/src/xsd/difxapp.xsd new file mode 100644 index 00000000..f918faee --- /dev/null +++ b/src/xsd/difxapp.xsd | |||
@@ -0,0 +1,119 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | |||
5 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
6 | xmlns:xse="http://wixtoolset.org/schemas/XmlSchemaExtension" | ||
7 | xmlns:html="http://www.w3.org/1999/xhtml" | ||
8 | xmlns:wxs="http://wixtoolset.org/schemas/v4/wxs" | ||
9 | targetNamespace="http://wixtoolset.org/schemas/v4/wxs/difxapp" | ||
10 | xmlns="http://wixtoolset.org/schemas/v4/wxs/difxapp"> | ||
11 | <xs:annotation> | ||
12 | <xs:documentation> | ||
13 | The source code schema for the WiX Toolset Driver Install Frameworks for Applications Extension. | ||
14 | |||
15 | ## WixToolset.DifxApp.wixext was deprecated in WiX v4 | ||
16 | |||
17 | ## WixToolset.DifxApp.wixext was removed in WiX v5 | ||
18 | </xs:documentation> | ||
19 | </xs:annotation> | ||
20 | |||
21 | <xs:import namespace="http://wixtoolset.org/schemas/v4/wxs" /> | ||
22 | |||
23 | <xs:element name="Driver"> | ||
24 | <xs:annotation> | ||
25 | <xs:appinfo> | ||
26 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" /> | ||
27 | </xs:appinfo> | ||
28 | <xs:documentation> | ||
29 | Installs a driver. To use this element, you need to reference the WixDifxAppExtension extension and add the | ||
30 | .wixlib appropriate for the target platform (difxapp_x86.wixlib or difxapp_x64.wixlib) | ||
31 | to your project. | ||
32 | </xs:documentation> | ||
33 | </xs:annotation> | ||
34 | <xs:complexType> | ||
35 | <xs:choice minOccurs="0" maxOccurs="unbounded"> | ||
36 | <xs:any namespace="##other" processContents="lax"> | ||
37 | <xs:annotation> | ||
38 | <xs:documentation> | ||
39 | Extensibility point in the WiX XML Schema. Schema extensions can register additional | ||
40 | elements at this point in the schema. | ||
41 | </xs:documentation> | ||
42 | </xs:annotation> | ||
43 | </xs:any> | ||
44 | </xs:choice> | ||
45 | <xs:attribute name="AddRemovePrograms" type="wxs:YesNoTypeUnion"> | ||
46 | <xs:annotation> | ||
47 | <xs:documentation> | ||
48 | Specifies that the DIFxApp CustomActions should add an entry in the Add/Remove Programs Control | ||
49 | Panel applet. The default is 'yes'. | ||
50 | </xs:documentation> | ||
51 | </xs:annotation> | ||
52 | </xs:attribute> | ||
53 | <xs:attribute name="DeleteFiles" type="wxs:YesNoTypeUnion"> | ||
54 | <xs:annotation> | ||
55 | <xs:documentation> | ||
56 | If set to "yes", configures DIFxApp to delete binary files that were copied to the system from the driver | ||
57 | store when a driver package was installed. If this attribute is set to "no" or not present, DIFxApp does not | ||
58 | remove these files from a system. Note that configuring DIFxApp to delete these files is controlled by the | ||
59 | Flags entry value of the component that represents the driver package in the MsiDriverPackages custom table. | ||
60 | Setting DeleteFiles to "yes" sets the corresponding bit in the Flags entry value. Setting DeleteFiles to "no" | ||
61 | clears the corresponding bit in the Flags entry value. If this attribute is not present, DIFxApp uses a | ||
62 | default value of "no". | ||
63 | </xs:documentation> | ||
64 | </xs:annotation> | ||
65 | </xs:attribute> | ||
66 | <xs:attribute name="ForceInstall" type="wxs:YesNoTypeUnion"> | ||
67 | <xs:annotation> | ||
68 | <xs:documentation> | ||
69 | Specifies that the DIFxApp CustomActions should force the installation of a new Plug and Play driver | ||
70 | on a device, even if the currently installed driver on the device is a better match than the new driver. | ||
71 | Specifying 'no' is an excellent way to ensure the DIFxApp CustomActions recognize the Component contains | ||
72 | a driver for installation. The default is null which means the Component does not install a driver via | ||
73 | DIFxApp CustomActions. See http://www.microsoft.com/whdc/driver/install/difxtools.mspx for more information. | ||
74 | </xs:documentation> | ||
75 | </xs:annotation> | ||
76 | </xs:attribute> | ||
77 | <xs:attribute name="Legacy" type="wxs:YesNoTypeUnion"> | ||
78 | <xs:annotation> | ||
79 | <xs:documentation> | ||
80 | If set to "yes", configures DIFxApp to install unsigned driver packages and driver packages with missing | ||
81 | files. For more information, see "Installing Unsigned Driver Packages in Legacy Mode" earlier in this paper. | ||
82 | If this attribute is set to "no" or not present, DIFxApp will install only signed driver packages. Note | ||
83 | that configuring DIFxApp to install unsigned drivers is controlled by the Flags entry value of the component | ||
84 | that represents the driver package in the MsiDriverPackages custom table. Setting Legacy to "yes" sets | ||
85 | the corresponding bit in the Flags entry value. Setting Legacy to "no" clears the bit in the Flags | ||
86 | entry value that configures DIFxApp to install unsigned driver packages. If this attribute is not present, | ||
87 | DIFxApp uses a default value of "no". | ||
88 | </xs:documentation> | ||
89 | </xs:annotation> | ||
90 | </xs:attribute> | ||
91 | <xs:attribute name="PlugAndPlayPrompt" type="wxs:YesNoTypeUnion"> | ||
92 | <xs:annotation> | ||
93 | <xs:documentation> | ||
94 | Specifies that the DIFxApp CustomActions should prompt the user to connect the Plug and Play | ||
95 | device if it is not connected. The default is 'yes'. | ||
96 | </xs:documentation> | ||
97 | </xs:annotation> | ||
98 | </xs:attribute> | ||
99 | <xs:attribute name="Sequence" type="wxs:Integer"> | ||
100 | <xs:annotation> | ||
101 | <xs:documentation> | ||
102 | Specifies an optional installation sequence number. DIFxApp CustomActions install the driver packages in | ||
103 | an installation package in the order of increasing sequence numbers. The same sequence number can be used | ||
104 | for more than one driver; however, the order in which packages with the same sequence number are actually | ||
105 | installed cannot be determined. | ||
106 | </xs:documentation> | ||
107 | </xs:annotation> | ||
108 | </xs:attribute> | ||
109 | <xs:anyAttribute namespace="##other" processContents="lax"> | ||
110 | <xs:annotation> | ||
111 | <xs:documentation> | ||
112 | Extensibility point in the WiX XML Schema. Schema extensions can register additional | ||
113 | attributes at this point in the schema. | ||
114 | </xs:documentation> | ||
115 | </xs:annotation> | ||
116 | </xs:anyAttribute> | ||
117 | </xs:complexType> | ||
118 | </xs:element> | ||
119 | </xs:schema> | ||