diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-07-10 21:25:44 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-07-10 22:10:26 +1000 |
commit | f866ab77f8fd0790f4d6628f54dcdf0bd66fccb6 (patch) | |
tree | b3705d3655e678003d4fce590e7c5cb1c836778e /src/wixext/util.xsd | |
parent | af43f098d7d7cc0fe21c7d7b0fe991763e9cae07 (diff) | |
download | wix-f866ab77f8fd0790f4d6628f54dcdf0bd66fccb6.tar.gz wix-f866ab77f8fd0790f4d6628f54dcdf0bd66fccb6.tar.bz2 wix-f866ab77f8fd0790f4d6628f54dcdf0bd66fccb6.zip |
Change the DetectSHA2Support element to WindowsFeatureSearch. This will make it easier to add support for other Windows features in the future.
Diffstat (limited to 'src/wixext/util.xsd')
-rw-r--r-- | src/wixext/util.xsd | 62 |
1 files changed, 38 insertions, 24 deletions
diff --git a/src/wixext/util.xsd b/src/wixext/util.xsd index bb7a1e39..b6f0365b 100644 --- a/src/wixext/util.xsd +++ b/src/wixext/util.xsd | |||
@@ -174,30 +174,6 @@ | |||
174 | <xs:attribute name="Id" type="xs:string" use="required" /> | 174 | <xs:attribute name="Id" type="xs:string" use="required" /> |
175 | </xs:complexType> | 175 | </xs:complexType> |
176 | </xs:element> | 176 | </xs:element> |
177 | <xs:element name="DetectSHA2Support"> | ||
178 | <xs:annotation> | ||
179 | <xs:documentation>Detects support for SHA2.</xs:documentation> | ||
180 | <xs:appinfo> | ||
181 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" /> | ||
182 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" /> | ||
183 | </xs:appinfo> | ||
184 | </xs:annotation> | ||
185 | <xs:complexType> | ||
186 | <xs:attributeGroup ref="SearchCommonAttributes" /> | ||
187 | </xs:complexType> | ||
188 | </xs:element> | ||
189 | <xs:element name="DetectSHA2SupportRef"> | ||
190 | <xs:annotation> | ||
191 | <xs:documentation>References a DetectSHA2Support.</xs:documentation> | ||
192 | <xs:appinfo> | ||
193 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" /> | ||
194 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" /> | ||
195 | </xs:appinfo> | ||
196 | </xs:annotation> | ||
197 | <xs:complexType> | ||
198 | <xs:attribute name="Id" type="xs:string" use="required" /> | ||
199 | </xs:complexType> | ||
200 | </xs:element> | ||
201 | <xs:element name="DirectorySearch"> | 177 | <xs:element name="DirectorySearch"> |
202 | <xs:annotation> | 178 | <xs:annotation> |
203 | <xs:documentation>Describes a directory search.</xs:documentation> | 179 | <xs:documentation>Describes a directory search.</xs:documentation> |
@@ -1389,6 +1365,44 @@ | |||
1389 | </xs:attribute> | 1365 | </xs:attribute> |
1390 | </xs:complexType> | 1366 | </xs:complexType> |
1391 | </xs:element> | 1367 | </xs:element> |
1368 | <xs:element name="WindowsFeatureSearch"> | ||
1369 | <xs:annotation> | ||
1370 | <xs:documentation>Detects the existence of a Windows feature.</xs:documentation> | ||
1371 | <xs:appinfo> | ||
1372 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" /> | ||
1373 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" /> | ||
1374 | </xs:appinfo> | ||
1375 | </xs:annotation> | ||
1376 | <xs:complexType> | ||
1377 | <xs:attributeGroup ref="SearchCommonAttributes" /> | ||
1378 | <xs:attribute name="Feature" use="required"> | ||
1379 | <xs:annotation> | ||
1380 | <xs:documentation>The feature to detect.</xs:documentation> | ||
1381 | </xs:annotation> | ||
1382 | <xs:simpleType> | ||
1383 | <xs:restriction base="xs:NMTOKEN"> | ||
1384 | <xs:enumeration value="sha2CodeSigning"> | ||
1385 | <xs:annotation> | ||
1386 | <xs:documentation>The oldest OS with this feature is Win7 SP1 with KB3033929.</xs:documentation> | ||
1387 | </xs:annotation> | ||
1388 | </xs:enumeration> | ||
1389 | </xs:restriction> | ||
1390 | </xs:simpleType> | ||
1391 | </xs:attribute> | ||
1392 | </xs:complexType> | ||
1393 | </xs:element> | ||
1394 | <xs:element name="WindowsFeatureSearchRef"> | ||
1395 | <xs:annotation> | ||
1396 | <xs:documentation>References a WindowsFeatureSearch.</xs:documentation> | ||
1397 | <xs:appinfo> | ||
1398 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" /> | ||
1399 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" /> | ||
1400 | </xs:appinfo> | ||
1401 | </xs:annotation> | ||
1402 | <xs:complexType> | ||
1403 | <xs:attribute name="Id" type="xs:string" use="required" /> | ||
1404 | </xs:complexType> | ||
1405 | </xs:element> | ||
1392 | <xs:element name="XmlFile"> | 1406 | <xs:element name="XmlFile"> |
1393 | <xs:annotation> | 1407 | <xs:annotation> |
1394 | <xs:documentation> | 1408 | <xs:documentation> |