Updating WiX toolset 1.
This commit is contained in:
parent
68d0b77357
commit
cb25d8a5ae
190 changed files with 0 additions and 47509 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,15 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
<copyright file="app.config" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<configuration>
|
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
||||||
<supportedRuntime version="v4.0" />
|
|
||||||
<supportedRuntime version="v2.0.50727" />
|
|
||||||
</startup>
|
|
||||||
</configuration>
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,18 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
<copyright file="app.config" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<configuration>
|
|
||||||
<appSettings>
|
|
||||||
<add key="extensions" value="WixDifxAppExtension;WixDependencyExtension;WixDirectXExtension;WixFirewallExtension;WixGamingExtension;WixIIsExtension;WixNetFxExtension;WixSqlExtension;WixUIExtension;WixUtilExtension;WixVSExtension" />
|
|
||||||
</appSettings>
|
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
||||||
<supportedRuntime version="v4.0" />
|
|
||||||
<supportedRuntime version="v2.0.50727" />
|
|
||||||
</startup>
|
|
||||||
</configuration>
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,226 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="Dependency.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:html="http://www.w3.org/1999/xhtml" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension" targetNamespace="http://schemas.microsoft.com/wix/DependencyExtension" xmlns="http://schemas.microsoft.com/wix/DependencyExtension">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The source code schema for the Windows Installer XML Toolset Dependency Extension.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:element name="Provides">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Describes the information for this product or feature that serves as a dependency of other products or features.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="ExePackage" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="MsiPackage" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="MspPackage" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="MsuPackage" />
|
|
||||||
<xse:remarks>
|
|
||||||
<html:p>
|
|
||||||
This element is required for any product, feature, or bundle that will use the Dependency feature to properly reference count
|
|
||||||
other products or features. It should be authored into a component that is always installed and removed with the
|
|
||||||
product or features that contain it. This guarantees that product dependencies are not removed before those products that
|
|
||||||
depend on them.
|
|
||||||
</html:p>
|
|
||||||
<html:p>
|
|
||||||
The @Key attribute should identify a version range for your product that you guarantee will be backward compatible.
|
|
||||||
This key is designed to persist throughout compatible upgrades so that dependent products do not have to be reinstalled
|
|
||||||
and will not prevent your product from being upgraded. If this attribute is not authored, the value is the ProductCode
|
|
||||||
and will not automatically support upgrades.
|
|
||||||
</html:p>
|
|
||||||
<html:p>
|
|
||||||
By default this uses the Product/@Id attribute value, which may be automatically generated.
|
|
||||||
</html:p>
|
|
||||||
</xse:remarks>
|
|
||||||
<xse:howtoRef href="author_product_dependencies.htm">How To: Author product dependencies</xse:howtoRef>
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:element ref="Requires" />
|
|
||||||
<xs:element ref="RequiresRef" />
|
|
||||||
</xs:choice>
|
|
||||||
<xs:attribute name="Id" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Dependency provider identity. If this attribute is not specified, an identifier will be generated automatically.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Key" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Optional unique registry key name that identifies a product version range on which other products can depend.
|
|
||||||
This attribute is required in package authoring, but optional for components.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Version" type="VersionType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The version of the package. For MSI packages, the ProductVersion will be used by default
|
|
||||||
and this attribute should not be specified.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="DisplayName" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Optional display name of the package. For MSI packages, the ProductName will be used by default.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="Requires">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Describes a dependency on a provider for the current component or package.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Bundle" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Fragment" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Module" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Product" />
|
|
||||||
<xse:remarks>
|
|
||||||
<html:p>
|
|
||||||
This element declares a dependency on any product that uses the Provides element. If that product is uninstalled
|
|
||||||
before a product that requires it, the uninstall will err or warn the user that other products are installed
|
|
||||||
which depend on that product. This behavior can be modified by changing the attribute values on the Requires element.
|
|
||||||
</html:p>
|
|
||||||
<html:p>
|
|
||||||
If you do not nest this element under a Provides element, you must specify the @Id attribute
|
|
||||||
so that it can be referenced by a RequiresRef element nested under a Provides element.
|
|
||||||
</html:p>
|
|
||||||
</xse:remarks>
|
|
||||||
<xse:seeAlso ref="RequiresRef" />
|
|
||||||
<xse:howtoRef href="author_product_dependencies.htm">How To: Author product dependencies</xse:howtoRef>
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Dependency requirement identity. If this attribute is not specified, an identifier will be generated automatically.
|
|
||||||
If this element is not authored under a Provides element, this attribute is required.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ProviderKey" type="xs:string" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The unique registry key name for the dependency provider to require during installation of this product.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Minimum" type="VersionType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The minimum version of the dependency provider required to be installed. The default is unbound.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Maximum" type="VersionType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The maximum version of the dependency provider required to be installed. The default is unbound.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="IncludeMinimum" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Set to "yes" to make the range of dependency provider versions required include the value specified in Minimum.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="IncludeMaximum" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Set to "yes" to make the range of dependency provider versions required include the value specified in Maximum.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="RequiresRef">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
References existing authoring for a dependency on a provider for the current component or package.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:remarks>
|
|
||||||
<html:p>
|
|
||||||
This element references a dependency on any product that uses the Provides element. If that product is uninstalled
|
|
||||||
before a product that requires it, the uninstall will err or warn the user that other products are installed
|
|
||||||
which depend on that product. This behavior can be modified by changing the attribute values on the Requires element.
|
|
||||||
</html:p>
|
|
||||||
</xse:remarks>
|
|
||||||
<xse:seeAlso ref="Requires" />
|
|
||||||
<xse:howtoRef href="author_product_dependencies.htm">How To: Author product dependencies</xse:howtoRef>
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" type="xs:string" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The identifier of the Requires element to reference.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:attribute name="ProviderKey" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Optional attribute to explicitly author the provider key for the entire bundle.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Bundle" />
|
|
||||||
<xse:remarks>
|
|
||||||
<html:p>
|
|
||||||
This provider key is designed to persist throughout compatible upgrades so that dependent bundles do not have to be reinstalled
|
|
||||||
and will not prevent your product from being upgraded. If this attribute is not authored, the value is the
|
|
||||||
automatically-generated bundle ID and will not automatically support upgrades.
|
|
||||||
</html:p>
|
|
||||||
<html:p>
|
|
||||||
Only a single provider key is supported for bundles. To author that your bundle provides additional features via
|
|
||||||
packages, author different provider keys for your packages.
|
|
||||||
</html:p>
|
|
||||||
</xse:remarks>
|
|
||||||
<xse:seeAlso ref="Provides" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:simpleType name="VersionType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Values of this type will look like: "x.x.x.x" where x is an integer from 0 to 65534.
|
|
||||||
This can also be a preprocessor, binder, or WiX variable.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:pattern value="(\d{1,5}\.){3}\d{1,5}|[!$]\((var|bind|wix)\.[_A-Za-z][\w\.]*\)" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
<xs:simpleType name="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Values of this type will either be "yes" or "no".
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="no" />
|
|
||||||
<xs:enumeration value="yes" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:schema>
|
|
|
@ -1,242 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="IsolatedApp.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
targetNamespace="http://wix.sourceforge.net/schemas/clickthrough/isolatedapp/2006"
|
|
||||||
xmlns="http://wix.sourceforge.net/schemas/clickthrough/isolatedapp/2006">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Schema for describing Isolated Applications.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:element name="IsolatedApp">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element ref="Package"/>
|
|
||||||
<xs:element ref="Application"/>
|
|
||||||
<xs:element ref="PreviousFeed" minOccurs="0"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Package">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:element ref="Description"/>
|
|
||||||
<xs:element ref="Feed"/>
|
|
||||||
<xs:element ref="Icon"/>
|
|
||||||
<xs:element ref="Id"/>
|
|
||||||
<xs:element ref="Manufacturer"/>
|
|
||||||
<xs:element ref="UpdateRate"/>
|
|
||||||
<xs:element ref="Version"/>
|
|
||||||
</xs:choice>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Application">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:element ref="Details"/>
|
|
||||||
<xs:element ref="EntryPoint"/>
|
|
||||||
<xs:element ref="Icon"/>
|
|
||||||
<xs:element ref="Id"/>
|
|
||||||
<xs:element ref="Name"/>
|
|
||||||
<xs:element ref="Source"/>
|
|
||||||
</xs:choice>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="PreviousFeed">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Description">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Details">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="EntryPoint">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation><xs:documentation></xs:documentation></xs:annotation>
|
|
||||||
<xs:attribute name="PackageVersion" type="xs:boolean" use="optional">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation></xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Feed">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Id">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="uuid"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Icon">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation><xs:documentation></xs:documentation></xs:annotation>
|
|
||||||
<xs:attribute name="Index" type="xs:integer" use="optional">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation></xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Manufacturer">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Name">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Source">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="UpdateRate">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:integer"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Version">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="VersionType"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<!-- - - - - - - - - - - Simple Type Definitions - - - - - - - - - - - - -->
|
|
||||||
|
|
||||||
<xs:simpleType name="uuid">
|
|
||||||
<xs:annotation><xs:documentation>Values of this type will look like: "01234567-89AB-CDEF-0123-456789ABCDEF" or "{01234567-89AB-CDEF-0123-456789ABCDEF}".</xs:documentation></xs:annotation>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:pattern value="[{(]?[0-9A-Fa-f]{8}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{12}[})]?"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
|
|
||||||
<xs:simpleType name="VersionType">
|
|
||||||
<xs:annotation><xs:documentation>Values of this type will look like: "x.x.x.x" where x is an integer from 0 to 65534.</xs:documentation></xs:annotation>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:pattern value="(\d{1,5}\.){3}\d{1,5}"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:schema>
|
|
|
@ -1,262 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="OfficeAddin.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
targetNamespace="http://wix.sourceforge.net/schemas/clickthrough/officeaddin/2006"
|
|
||||||
xmlns="http://wix.sourceforge.net/schemas/clickthrough/officeaddin/2006">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Schema for describing Office Addins.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:element name="OfficeAddin">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element ref="Package"/>
|
|
||||||
<xs:element ref="Application"/>
|
|
||||||
<xs:element ref="PreviousFeed" minOccurs="0"/>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Package">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:element ref="Description"/>
|
|
||||||
<xs:element ref="Feed"/>
|
|
||||||
<xs:element ref="Icon"/>
|
|
||||||
<xs:element ref="Id"/>
|
|
||||||
<xs:element ref="Manufacturer"/>
|
|
||||||
<xs:element ref="UpdateRate"/>
|
|
||||||
<xs:element ref="Version"/>
|
|
||||||
</xs:choice>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Application">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="1">
|
|
||||||
<xs:element ref="Details"/>
|
|
||||||
<xs:element ref="EntryPoint"/>
|
|
||||||
<xs:element ref="ExtendsApplication"/>
|
|
||||||
<xs:element ref="Icon"/>
|
|
||||||
<xs:element ref="Id"/>
|
|
||||||
<xs:element ref="Name"/>
|
|
||||||
<xs:element ref="Source"/>
|
|
||||||
</xs:choice>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="PreviousFeed">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Description">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Details">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="EntryPoint">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ExtendsApplication">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="SupportedOfficeApplications"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Feed">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Id">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="uuid"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Icon">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation><xs:documentation></xs:documentation></xs:annotation>
|
|
||||||
<xs:attribute name="Index" type="xs:integer" use="optional">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation></xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Manufacturer">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Name">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Source">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="UpdateRate">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:integer"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Version">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="VersionType"/>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<!-- - - - - - - - - - - Simple Type Definitions - - - - - - - - - - - - -->
|
|
||||||
|
|
||||||
<xs:simpleType name="SupportedOfficeApplications">
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="Excel2003" />
|
|
||||||
<xs:enumeration value="Outlook2003" />
|
|
||||||
<xs:enumeration value="PowerPoint2003" />
|
|
||||||
<xs:enumeration value="Word2003" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
|
|
||||||
<xs:simpleType name="uuid">
|
|
||||||
<xs:annotation><xs:documentation>Values of this type will look like: "01234567-89AB-CDEF-0123-456789ABCDEF" or "{01234567-89AB-CDEF-0123-456789ABCDEF}".</xs:documentation></xs:annotation>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:pattern value="[{(]?[0-9A-Fa-f]{8}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{12}[})]?"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
|
|
||||||
<xs:simpleType name="VersionType">
|
|
||||||
<xs:annotation><xs:documentation>Values of this type will look like: "x.x.x.x" where x is an integer from 0 to 65534.</xs:documentation></xs:annotation>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:pattern value="(\d{1,5}\.){3}\d{1,5}"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:schema>
|
|
|
@ -1,171 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="bal.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
|
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
targetNamespace="http://schemas.microsoft.com/wix/BalExtension"
|
|
||||||
xmlns="http://schemas.microsoft.com/wix/BalExtension">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The source code schema for the Windows Installer XML Toolset Burn User Experience Extension.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:import namespace="http://schemas.microsoft.com/wix/2006/wi" />
|
|
||||||
|
|
||||||
<xs:element name="Condition">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Conditions for a bundle. The condition is specified in the inner text of the element.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Bundle" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Fragment" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The condition that must evaluate to true for the installation to continue.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:attribute name="Message" type="xs:string" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Set the value to the text to display when the condition fails and the installation must be terminated.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="WixStandardBootstrapperApplication">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Configures WixStandardBootstrapperApplication for a Bundle.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="BootstrapperApplicationRef" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="LicenseFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Source file of the RTF license file. Cannot be used simultaneously with LicenseUrl.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="LicenseUrl" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>URL target of the license link. Cannot be used simultaneously with LicenseFile. This attribute can be empty to hide the license link completely.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="LogoFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Source file of the logo graphic.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ThemeFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Source file of the theme XML.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="LocalizationFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Source file of the theme localization .wxl file.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SuppressOptionsUI" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>If set to "yes", the Options button will not be shown and the user will not be able to choose an installation directory.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SuppressDowngradeFailure" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>If set to "yes", attempting to installer a downgraded version of a bundle will be treated as a successful do-nothing operation.
|
|
||||||
The default behavior (or when explicitly set to "no") is to treat downgrade attempts as failures. </xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:attribute name="Overridable">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
When set to "yes", lets the user override the variable's default value by specifying another value on the command line,
|
|
||||||
in the form Variable=Value. Otherwise, WixStdBA won't overwrite the default value and will log
|
|
||||||
"Ignoring attempt to set non-overridable variable: 'BAR'."
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Variable" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:element name="WixManagedBootstrapperApplicationHost">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Configures the ManagedBootstrapperApplicationHost for a Bundle.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="BootstrapperApplicationRef" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="LicenseFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Source file of the RTF license file. Cannot be used simultaneously with LicenseUrl.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="LicenseUrl" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>URL target of the license link. Cannot be used simultaneously with LicenseFile.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="LogoFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Source file of the logo graphic.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ThemeFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Source file of the theme XML.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="LocalizationFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Source file of the theme localization .wxl file.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="NetFxPackageId" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Identifier of the bundle package that contains the .NET Framework. ManagedBootstrapperApplicationHost uses
|
|
||||||
this identifier to determine whether .NET needs to be installed before the managed bootstrapper application
|
|
||||||
can be launched.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:simpleType name="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="no"/>
|
|
||||||
<xs:enumeration value="yes"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:schema>
|
|
|
@ -1,949 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="complus.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"
|
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
|
|
||||||
targetNamespace="http://schemas.microsoft.com/wix/ComPlusExtension"
|
|
||||||
xmlns="http://schemas.microsoft.com/wix/ComPlusExtension">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The source code schema for the Windows Installer XML Toolset COM+ Extension.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:import namespace="http://schemas.microsoft.com/wix/2006/wi" />
|
|
||||||
|
|
||||||
<xs:element name="ComPlusPartition">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Fragment" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Module" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Product" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>
|
|
||||||
Defines a COM+ partition. If this element is a child of a
|
|
||||||
Component element, the partition will be created in association with this
|
|
||||||
component. If the element is a child of any of the Fragment, Module or Product
|
|
||||||
elements it is considered to be a locater, referencing an existing partition.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:element ref="ComPlusPartitionRole" />
|
|
||||||
<xs:element ref="ComPlusPartitionUser" />
|
|
||||||
<xs:element ref="ComPlusApplication" />
|
|
||||||
</xs:choice>
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="PartitionId" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Id for the partition. This attribute can be omitted, in
|
|
||||||
which case an id will be generated on install. If the element is a locater,
|
|
||||||
this attribute can be omitted if a value is provided for the Name attribute.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Name" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Name of the partition. This attribute can be omitted if
|
|
||||||
the element is a locater, and a value is provided for the PartitionId
|
|
||||||
attribute.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Changeable" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="Deleteable" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="Description" use="optional" type="xs:string" />
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusPartitionRole">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Fragment" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Module" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Product" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>
|
|
||||||
Defines a COM+ partition role. Partition roles can not be
|
|
||||||
created; this element can only be used as a locater to reference an existing
|
|
||||||
role.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:element ref="ComPlusUserInPartitionRole" />
|
|
||||||
<xs:element ref="ComPlusGroupInPartitionRole" />
|
|
||||||
</xs:choice>
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Partition" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
The id of a ComPlusPartition element representing the partition
|
|
||||||
the role belongs to.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Name" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Name of the partition role.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusUserInPartitionRole">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>
|
|
||||||
This element represents a user membership in a partition
|
|
||||||
role. When the parent component of this element is installed, the user will be
|
|
||||||
added to the associated partition role.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="PartitionRole" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
The id of a ComPlusPartitionRole element representing the
|
|
||||||
partition the user should be added to.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="User" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Foreign key into the User table.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusGroupInPartitionRole">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>
|
|
||||||
This element represents a security group membership in a
|
|
||||||
partition role. When the parent component of this element is installed, the
|
|
||||||
security group will be added to the associated partition role.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="PartitionRole" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
The id of a ComPlusPartitionRole element representing the
|
|
||||||
partition the user should be added to.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Group" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Foreign key into the Group table.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusPartitionUser">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>
|
|
||||||
Represents a default partition definition for a user. When
|
|
||||||
the parent component of this element is installed, the default partition of the
|
|
||||||
user will be set to the referenced partition.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Partition" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
The id of a ComPlusPartition element representing the
|
|
||||||
partition that will be the default partition for the user.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="User" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Foreign key into the User table.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusApplication">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Fragment" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Module" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Product" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>
|
|
||||||
Defines a COM+ application. If this element is a descendent
|
|
||||||
of a Component element, the application will be created in association with
|
|
||||||
this component. If the element is a child of any of the Fragment, Module or
|
|
||||||
Product elements it is considered to be a locater, referencing an existing
|
|
||||||
application.
|
|
||||||
|
|
||||||
If the element is a child of a ComPlusPartition element,
|
|
||||||
or have its Partition attribute set, the application will be installed under
|
|
||||||
the referenced partition.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:element ref="ComPlusApplicationRole" />
|
|
||||||
<xs:element ref="ComPlusAssembly" />
|
|
||||||
</xs:choice>
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Partition" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
If the element is not a child of a ComPlusPartition
|
|
||||||
element, this attribute can be provided with the id of a ComPlusPartition
|
|
||||||
element representing the partition the application belongs to.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ApplicationId" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Id for the application. This attribute can be omitted, in
|
|
||||||
which case an id will be generated on install. If the element is a locater,
|
|
||||||
this attribute can be omitted if a value is provided for the Name attribute.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Name" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Name of the application. This attribute can be omitted if
|
|
||||||
the element is a locater, and a value is provided for the PartitionId
|
|
||||||
attribute.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ThreeGigSupportEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="AccessChecksLevel" use="optional">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="applicationLevel" />
|
|
||||||
<xs:enumeration value="applicationComponentLevel" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Activation" use="optional">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="inproc" />
|
|
||||||
<xs:enumeration value="local" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ApplicationAccessChecksEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="ApplicationDirectory" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="Authentication" use="optional">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="default" />
|
|
||||||
<xs:enumeration value="none" />
|
|
||||||
<xs:enumeration value="connect" />
|
|
||||||
<xs:enumeration value="call" />
|
|
||||||
<xs:enumeration value="packet" />
|
|
||||||
<xs:enumeration value="integrity" />
|
|
||||||
<xs:enumeration value="privacy" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="AuthenticationCapability" use="optional">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="none" />
|
|
||||||
<xs:enumeration value="secureReference" />
|
|
||||||
<xs:enumeration value="staticCloaking" />
|
|
||||||
<xs:enumeration value="dynamicCloaking" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Changeable" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="CommandLine" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="ConcurrentApps" use="optional" type="xs:int" />
|
|
||||||
<xs:attribute name="CreatedBy" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="CRMEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="CRMLogFile" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="Deleteable" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="Description" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="DumpEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="DumpOnException" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="DumpOnFailfast" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="DumpPath" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="EventsEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="Identity" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="ImpersonationLevel" use="optional">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="anonymous" />
|
|
||||||
<xs:enumeration value="identify" />
|
|
||||||
<xs:enumeration value="impersonate" />
|
|
||||||
<xs:enumeration value="delegate" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="IsEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="MaxDumpCount" use="optional" type="xs:int" />
|
|
||||||
<xs:attribute name="Password" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="QCAuthenticateMsgs" use="optional">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="secureApps" />
|
|
||||||
<xs:enumeration value="off" />
|
|
||||||
<xs:enumeration value="on" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="QCListenerMaxThreads" use="optional" type="xs:int" />
|
|
||||||
<xs:attribute name="QueueListenerEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="QueuingEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="RecycleActivationLimit" use="optional" type="xs:int" />
|
|
||||||
<xs:attribute name="RecycleCallLimit" use="optional" type="xs:int" />
|
|
||||||
<xs:attribute name="RecycleExpirationTimeout" use="optional" type="xs:int" />
|
|
||||||
<xs:attribute name="RecycleLifetimeLimit" use="optional" type="xs:int" />
|
|
||||||
<xs:attribute name="RecycleMemoryLimit" use="optional" type="xs:int" />
|
|
||||||
<xs:attribute name="Replicable" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="RunForever" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="ShutdownAfter" use="optional" type="xs:int" />
|
|
||||||
<xs:attribute name="SoapActivated" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="SoapBaseUrl" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="SoapMailTo" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="SoapVRoot" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="SRPEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="SRPTrustLevel" use="optional">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="disallowed" />
|
|
||||||
<xs:enumeration value="fullyTrusted" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusApplicationRole">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Fragment" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Module" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Product" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>
|
|
||||||
Defines an application role. If this element is a descendent
|
|
||||||
of a Component element, the application role will be created in association
|
|
||||||
with this component. If the element is a child of any of the Fragment, Module
|
|
||||||
or Product elements it is considered to be a locater, referencing an existing
|
|
||||||
application role.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:element ref="ComPlusUserInApplicationRole" />
|
|
||||||
<xs:element ref="ComPlusGroupInApplicationRole" />
|
|
||||||
</xs:choice>
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Application" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
If the element is not a child of a ComPlusApplication
|
|
||||||
element, this attribute should be provided with the id of a
|
|
||||||
ComPlusApplication element representing the application the role belongs to.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Name" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Name of the application role.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Description" use="optional" type="xs:string" />
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusUserInApplicationRole">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>
|
|
||||||
This element represents a user membership in an
|
|
||||||
application role. When the parent component of this element is installed, the
|
|
||||||
user will be added to the associated application role. This element must be a descendent
|
|
||||||
of a Component element; it can not be a child of a ComPlusApplicationRole
|
|
||||||
locater element. To reference a locater element use the ApplicationRole
|
|
||||||
attribute.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ApplicationRole" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
If the element is not a child of a ComPlusApplicationRole
|
|
||||||
element, this attribute should be provided with the id of a
|
|
||||||
ComPlusApplicationRole element representing the application role the user is
|
|
||||||
to be added to.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="User" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Foreign key into the User table.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusGroupInApplicationRole">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>
|
|
||||||
This element represents a security group membership in an
|
|
||||||
application role. When the parent component of this element is installed, the
|
|
||||||
user will be added to the associated application role. This element must be a
|
|
||||||
descendent of a Component element; it can not be a child of a
|
|
||||||
ComPlusApplicationRole locater element. To reference a locater element use the
|
|
||||||
ApplicationRole attribute.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ApplicationRole" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
If the element is not a child of a ComPlusApplicationRole
|
|
||||||
element, this attribute should be provided with the id of a
|
|
||||||
ComPlusApplicationRole element representing the application role the user is
|
|
||||||
to be added to.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Group" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Foreign key into the Group table.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusAssembly">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Represents a DLL or assembly to be registered with COM+. If
|
|
||||||
this element is a child of a ComPlusApplication element, the assembly will be
|
|
||||||
registered in this application. Other ways the Application attribute must be
|
|
||||||
set to an application. The element must be a descendent of a Component element,
|
|
||||||
it can not be a child of a ComPlusApplication locator element.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
<xse:remarks>
|
|
||||||
<html:p>
|
|
||||||
When installing a native assembly, all components
|
|
||||||
contained in the assembly must be represented as ComPlusComponent elements
|
|
||||||
under this element. Any component not listed will not be removed during
|
|
||||||
uninstall.
|
|
||||||
</html:p>
|
|
||||||
|
|
||||||
<html:p>
|
|
||||||
The fields DllPath, TlbPath and PSDllPath are formatted
|
|
||||||
fields that should contain file paths to there respective file types. A typical
|
|
||||||
value for DllPath for example, should be something like “[#MyAssembly_dll]”,
|
|
||||||
where “MyAssembly_dll” is the key of the dll file in the File table.
|
|
||||||
</html:p>
|
|
||||||
|
|
||||||
<html:p>
|
|
||||||
<html:b>Warning</html:b>: The assembly name provided in the AssemblyName
|
|
||||||
attribute must be a fully specified assembly name, if a partial name is
|
|
||||||
provided a random assembly matching the partial name will be selected.
|
|
||||||
</html:p>
|
|
||||||
</xse:remarks>
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:element ref="ComPlusAssemblyDependency" />
|
|
||||||
<xs:element ref="ComPlusComponent" />
|
|
||||||
</xs:choice>
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Application" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
If the element is not a child of a ComPlusApplication
|
|
||||||
element, this attribute should be provided with the id of a ComPlusApplication
|
|
||||||
element representing the application the assembly is to be registered in.
|
|
||||||
This attribute can be omitted for a .NET assembly even if the application is
|
|
||||||
not a child of a ComPlusApplication element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="AssemblyName" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
The name of the assembly used to identify the assembly in
|
|
||||||
the GAC. This attribute can be provided only if DllPathFromGAC is set to
|
|
||||||
“yes”.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="DllPath" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
The path to locate the assembly DLL during registration.
|
|
||||||
This attribute should be provided if DllPathFromGAC is not set to “yes”.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="TlbPath" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
An optional path to an external type lib for the assembly.
|
|
||||||
This attribute must be provided if the Type attribute is set to “.net”.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="PSDllPath" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
An optional path to an external proxy/stub DLL for the assembly.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Type" use="required">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="native" />
|
|
||||||
<xs:enumeration value=".net" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="EventClass" use="optional" type="YesNoType">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Indicates that the assembly is to be installed as an event
|
|
||||||
class DLL. This attribute is only valid for native assemblies. The assembly
|
|
||||||
will be installed with the COM+ catalog’s InstallEventClass() function.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="DllPathFromGAC" use="optional" type="YesNoType">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Indicates that the DLL path should be extracted from the
|
|
||||||
GAC instead for being provided in the DllPath attribute. If this attribute is
|
|
||||||
set to “yes”, the name of the assembly can be provided using the AssemblyName
|
|
||||||
attribute. Or, if this AssemblyName attribute is missing, the name will be
|
|
||||||
extracted from the MsiAssemblyName table using the id of the parent Component
|
|
||||||
element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="RegisterInCommit" use="optional" type="YesNoType">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Indicates that the assembly should be installed in the
|
|
||||||
commit custom action instead of the normal deferred custom action. This is
|
|
||||||
necessary when installing .NET assemblies to the GAC in the same
|
|
||||||
installation, as the assemblies are not visible in the GAC until after the
|
|
||||||
InstallFinalize action has run.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusAssemblyDependency">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Defines a dependency between two assemblies. This element
|
|
||||||
affects the order in which assembles are registered. Any assemblies referenced
|
|
||||||
by this element are guarantied to be registered before, and unregistered after,
|
|
||||||
the assembly referenced by the parent ComPlusAssembly element.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:remarks>
|
|
||||||
It is only necessary to explicitly specify dependencies between
|
|
||||||
assemblies contained in the same package (MSI or MSM). Assemblies merged in to a
|
|
||||||
package from a merge module will always be installed before any assemblies
|
|
||||||
specified in the base package. Assemblies merged in from different merge
|
|
||||||
modules are sequenced using the ModuleDependency MSI table. It is not possible
|
|
||||||
to have cross dependencies between merge modules or have an assembly in a merge
|
|
||||||
module depend on an assembly in the base package.
|
|
||||||
</xse:remarks>
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="RequiredAssembly" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Reference to the id of the assembly required by the parent
|
|
||||||
ComPlusAssembly element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusComponent">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Represents a COM+ component in an assembly.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:element ref="ComPlusRoleForComponent" />
|
|
||||||
<xs:element ref="ComPlusInterface" />
|
|
||||||
<xs:element ref="ComPlusSubscription" />
|
|
||||||
</xs:choice>
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="CLSID" use="required" type="uuid">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
CLSID of the component.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="AllowInprocSubscribers" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="ComponentAccessChecksEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="ComponentTransactionTimeout" use="optional" type="xs:int" />
|
|
||||||
<xs:attribute name="ComponentTransactionTimeoutEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="COMTIIntrinsics" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="ConstructionEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="ConstructorString" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="CreationTimeout" use="optional" type="xs:int" />
|
|
||||||
<xs:attribute name="Description" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="EventTrackingEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="ExceptionClass" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="FireInParallel" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="IISIntrinsics" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="InitializesServerApplication" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="IsEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="IsPrivateComponent" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="JustInTimeActivation" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="LoadBalancingSupported" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="MaxPoolSize" use="optional" type="xs:int" />
|
|
||||||
<xs:attribute name="MinPoolSize" use="optional" type="xs:int" />
|
|
||||||
<xs:attribute name="MultiInterfacePublisherFilterCLSID" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="MustRunInClientContext" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="MustRunInDefaultContext" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="ObjectPoolingEnabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="PublisherID" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="SoapAssemblyName" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="SoapTypeName" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="Synchronization" use="optional">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="ignored" />
|
|
||||||
<xs:enumeration value="none" />
|
|
||||||
<xs:enumeration value="supported" />
|
|
||||||
<xs:enumeration value="required" />
|
|
||||||
<xs:enumeration value="requiresNew" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Transaction" use="optional">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="ignored" />
|
|
||||||
<xs:enumeration value="none" />
|
|
||||||
<xs:enumeration value="supported" />
|
|
||||||
<xs:enumeration value="required" />
|
|
||||||
<xs:enumeration value="requiresNew" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="TxIsolationLevel" use="optional">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="any" />
|
|
||||||
<xs:enumeration value="readUnCommitted" />
|
|
||||||
<xs:enumeration value="readCommitted" />
|
|
||||||
<xs:enumeration value="repeatableRead" />
|
|
||||||
<xs:enumeration value="serializable" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusRoleForComponent">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>
|
|
||||||
Represents a role assignment to a COM+ component.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Component" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
If the element is not a child of a ComPlusComponent
|
|
||||||
element, this attribute should be provided with the id of a ComPlusComponent
|
|
||||||
element representing the component the role is to be added to.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ApplicationRole" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Id of the ComPlusApplicationRole element representing the
|
|
||||||
role that shall be granted access to the component.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusInterface">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Represents an interface for a COM+ component.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:element ref="ComPlusRoleForInterface" />
|
|
||||||
<xs:element ref="ComPlusMethod" />
|
|
||||||
</xs:choice>
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="IID" use="required" type="uuid">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
IID of the interface.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Description" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="QueuingEnabled" use="optional" type="YesNoType" />
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusRoleForInterface">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>
|
|
||||||
Represents a role assignment to an interface.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Interface" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
If the element is not a child of a ComPlusInterface
|
|
||||||
element, this attribute should be provided with the id of a ComPlusInterface
|
|
||||||
element representing the interface the role is to be added to.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ApplicationRole" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Id of the ComPlusApplicationRole element representing the
|
|
||||||
role that shall be granted access to the interface.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusMethod">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Represents a method for an interface.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element ref="ComPlusRoleForMethod" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Index" use="optional" type="xs:int">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Dispatch id of the method. If this attribute is not set a
|
|
||||||
value must be provided for the Name attribute.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Name" use="optional" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Name of the method. If this attribute is not set a value
|
|
||||||
must be provided for the Index attribute.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="AutoComplete" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="Description" use="optional" type="xs:string" />
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusRoleForMethod">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>
|
|
||||||
Represents a role assignment to a COM+ method.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Method" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
If the element is not a child of a ComPlusMethod element,
|
|
||||||
this attribute should be provided with the id of a ComPlusMethod element
|
|
||||||
representing the method the role is to be added to.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ApplicationRole" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Id of the ComPlusApplicationRole element representing the
|
|
||||||
role that shall be granted access to the method.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ComPlusSubscription">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>
|
|
||||||
Defines an event subscription for a COM+ component.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Identifier for the element.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Component" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
If the element is not a child of a ComPlusComponent
|
|
||||||
element, this attribute should be provided with the id of a ComPlusComponent
|
|
||||||
element representing the component the subscription is to be created for.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SubscriptionId" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Id of the subscription. If a value is not provided for
|
|
||||||
this attribute, an id will be generated during installation.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Name" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Name of the subscription.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="EventCLSID" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
CLSID of the event class for the subscription. If a value
|
|
||||||
for this attribute is not provided, a value for the PublisherID attribute
|
|
||||||
must be provided.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="PublisherID" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Publisher id for the subscription. If a value for this
|
|
||||||
attribute is not provided, a value for the EventCLSID attribute must be
|
|
||||||
provided.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Description" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="Enabled" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="EventClassPartitionID" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="FilterCriteria" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="InterfaceID" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="MachineName" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="MethodName" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="PerUser" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="Queued" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="SubscriberMoniker" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="UserName" use="optional" type="xs:string" />
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:simpleType name="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="no" />
|
|
||||||
<xs:enumeration value="yes" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
|
|
||||||
<xs:simpleType name="uuid">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Values of this type will look like: "01234567-89AB-CDEF-0123-456789ABCDEF".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:pattern value="[0-9A-Fa-f]{8}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{12}" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
|
|
||||||
</xs:schema>
|
|
|
@ -1,113 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="difxapp.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"
|
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
|
|
||||||
targetNamespace="http://schemas.microsoft.com/wix/DifxAppExtension"
|
|
||||||
xmlns="http://schemas.microsoft.com/wix/DifxAppExtension">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The source code schema for the Windows Installer XML Toolset Driver Install Frameworks for Applications Extension.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:import namespace="http://schemas.microsoft.com/wix/2006/wi" />
|
|
||||||
|
|
||||||
<xs:element name="Driver">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>
|
|
||||||
Installs a driver. To use this element, you need to reference the WixDifxAppExtension extension and add the
|
|
||||||
.wixlib appropriate for the target platform (difxapp_x86.wixlib, difxapp_x64.wixlib, or difxapp_ia64.wixlib)
|
|
||||||
to your project.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="AddRemovePrograms" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies that the DIFxApp CustomActions should add an entry in the Add/Remove Programs Control
|
|
||||||
Panel applet. The default is 'yes'.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="DeleteFiles" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
If set to "yes", configures DIFxApp to delete binary files that were copied to the system from the driver
|
|
||||||
store when a driver package was installed. If this attribute is set to "no" or not present, DIFxApp does not
|
|
||||||
remove these files from a system. Note that configuring DIFxApp to delete these files is controlled by the
|
|
||||||
Flags entry value of the component that represents the driver package in the MsiDriverPackages custom table.
|
|
||||||
Setting DeleteFiles to "yes" sets the corresponding bit in the Flags entry value. Setting DeleteFiles to "no"
|
|
||||||
clears the corresponding bit in the Flags entry value. If this attribute is not present, DIFxApp uses a
|
|
||||||
default value of "no".
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ForceInstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies that the DIFxApp CustomActions should force the installation of a new Plug and Play driver
|
|
||||||
on a device, even if the currently installed driver on the device is a better match than the new driver.
|
|
||||||
Specifying 'no' is an excellent way to ensure the DIFxApp CustomActions recognize the Component contains
|
|
||||||
a driver for installation. The default is null which means the Component does not install a driver via
|
|
||||||
DIFxApp CustomActions. See <html:a href='http://www.microsoft.com/whdc/driver/install/difxtools.mspx'>http://www.microsoft.com/whdc/driver/install/difxtools.mspx</html:a>
|
|
||||||
for more information.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Legacy" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
If set to "yes", configures DIFxApp to install unsigned driver packages and driver packages with missing
|
|
||||||
files. For more information, see "Installing Unsigned Driver Packages in Legacy Mode" earlier in this paper.
|
|
||||||
If this attribute is set to "no" or not present, DIFxApp will install only signed driver packages. Note
|
|
||||||
that configuring DIFxApp to install unsigned drivers is controlled by the Flags entry value of the component
|
|
||||||
that represents the driver package in the MsiDriverPackages custom table. Setting Legacy to "yes" sets
|
|
||||||
the corresponding bit in the Flags entry value. Setting Legacy to "no" clears the bit in the Flags
|
|
||||||
entry value that configures DIFxApp to install unsigned driver packages. If this attribute is not present,
|
|
||||||
DIFxApp uses a default value of "no".
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="PlugAndPlayPrompt" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies that the DIFxApp CustomActions should prompt the user to connect the Plug and Play
|
|
||||||
device if it is not connected. The default is 'yes'.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Sequence" type="xs:integer">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies an optional installation sequence number. DIFxApp CustomActions install the driver packages in
|
|
||||||
an installation package in the order of increasing sequence numbers. The same sequence number can be used
|
|
||||||
for more than one driver; however, the order in which packages with the same sequence number are actually
|
|
||||||
installed cannot be determined.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:simpleType name="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base='xs:NMTOKEN'>
|
|
||||||
<xs:enumeration value="no"/>
|
|
||||||
<xs:enumeration value="yes"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:schema>
|
|
|
@ -1,216 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="firewall.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
|
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
targetNamespace="http://schemas.microsoft.com/wix/FirewallExtension"
|
|
||||||
xmlns="http://schemas.microsoft.com/wix/FirewallExtension">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The source code schema for the Windows Installer XML Toolset Firewall Extension.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:import namespace="http://schemas.microsoft.com/wix/2006/wi" />
|
|
||||||
|
|
||||||
<xs:element name="FirewallException">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Registers an exception for a program or a specific port and protocol in the Windows Firewall
|
|
||||||
on Windows XP SP2, Windows Server 2003 SP1, and later. For more information about the Windows
|
|
||||||
Firewall, see <html:a href="http://msdn2.microsoft.com/en-us/library/aa364679.aspx">
|
|
||||||
About Windows Firewall API</html:a>.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="File" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Explicitly-listed remote addresses that this exception allows through the
|
|
||||||
firewall.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:element ref="RemoteAddress" />
|
|
||||||
</xs:choice>
|
|
||||||
|
|
||||||
<xs:attribute name="Id" type="xs:string" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Unique ID of this firewall exception.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="Name" type="xs:string" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Name of this firewall exception, visible to the user in the firewall
|
|
||||||
control panel.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="Scope">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The scope of this firewall exception, which indicates whether incoming
|
|
||||||
connections can come from any computer including those on the Internet
|
|
||||||
or only those on the local network subnet. To more precisely specify
|
|
||||||
allowed remote address, specify a custom scope using RemoteAddress
|
|
||||||
child elements.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="any" />
|
|
||||||
<xs:enumeration value="localSubnet" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="Port" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Port to allow through the firewall for this exception.
|
|
||||||
|
|
||||||
If you use Port and also File or Program in the same
|
|
||||||
FirewallException element, the exception will fail to install on
|
|
||||||
Windows XP and Windows Server 2003. IgnoreFailure="yes" can be used to
|
|
||||||
ignore the resulting failure, but the exception will not be added.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="Protocol">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
IP protocol used for this firewall exception. If Port is defined,
|
|
||||||
"tcp" is assumed if the protocol is not specified.
|
|
||||||
|
|
||||||
If you use Protocol and also File or Program in the same
|
|
||||||
FirewallException element, the exception will fail to install on
|
|
||||||
Windows XP and Windows Server 2003. IgnoreFailure="yes" can be used to
|
|
||||||
ignore the resulting failure, but the exception will not be added.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="tcp" />
|
|
||||||
<xs:enumeration value="udp" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="File" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Identifier of a file to be granted access to all incoming ports and
|
|
||||||
protocols. If you use File, you cannot also use Program.
|
|
||||||
|
|
||||||
If you use File and also Port or Protocol in the same
|
|
||||||
FirewallException element, the exception will fail to install on
|
|
||||||
Windows XP and Windows Server 2003. IgnoreFailure="yes" can be used to
|
|
||||||
ignore the resulting failure, but the exception will not be added.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="Program" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Path to a target program to be granted access to all incoming ports and
|
|
||||||
protocols. Note that this is a formatted field, so you can use [#fileId]
|
|
||||||
syntax to refer to a file being installed. If you use Program, you cannot
|
|
||||||
also use File.
|
|
||||||
|
|
||||||
If you use Program and also Port or Protocol in the same
|
|
||||||
FirewallException element, the exception will fail to install on
|
|
||||||
Windows XP and Windows Server 2003. IgnoreFailure="yes" can be used to
|
|
||||||
ignore the resulting failure, but the exception will not be added.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="IgnoreFailure" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
If "yes," failures to register this firewall exception will be silently
|
|
||||||
ignored. If "no" (the default), failures will cause rollback.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="Profile">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Profile type for this firewall exception. Default is "all".
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="domain" />
|
|
||||||
<xs:enumeration value="private" />
|
|
||||||
<xs:enumeration value="public" />
|
|
||||||
<xs:enumeration value="all" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Description" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Description for this firewall rule displayed in Windows Firewall manager in
|
|
||||||
Windows Vista and later.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="RemoteAddress">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
A remote address to which the port or program can listen. Address formats vary
|
|
||||||
based on the version of Windows and Windows Firewall the program is being installed
|
|
||||||
on. For Windows XP SP2 and Windows Server 2003 SP1, see
|
|
||||||
<html:a href="http://msdn2.microsoft.com/en-us/library/aa365270.aspx">
|
|
||||||
RemoteAddresses Property</html:a>.
|
|
||||||
For Windows Vista and Windows Server 2008, see
|
|
||||||
<html:a href="http://msdn2.microsoft.com/en-us/library/aa365366.aspx">
|
|
||||||
RemoteAddresses Property</html:a>.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
A remote address.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:simpleType name="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base='xs:NMTOKEN'>
|
|
||||||
<xs:enumeration value="no"/>
|
|
||||||
<xs:enumeration value="yes"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:schema>
|
|
|
@ -1,132 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="gaming.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
|
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
targetNamespace="http://schemas.microsoft.com/wix/GamingExtension"
|
|
||||||
xmlns="http://schemas.microsoft.com/wix/GamingExtension">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The source code schema for the Windows Installer XML Toolset Gaming Extension.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:import namespace="http://schemas.microsoft.com/wix/2006/wi" />
|
|
||||||
|
|
||||||
<xs:attribute name="IsRichSavedGame">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Registers this extension for the
|
|
||||||
<html:a href="http://msdn.microsoft.com/library/bb173448.aspx" target="_blank">rich saved games</html:a>
|
|
||||||
property handler on Windows Vista and later.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Extension" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:element name="Game">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Registers a game in Game Explorer on Windows Vista and later. The executable must have an
|
|
||||||
embedded Game Definition File. For more information about Game Explorer and GDFs, see
|
|
||||||
<html:a href="http://msdn.microsoft.com/library/bb173432.aspx" target="_blank">The Windows Vista Game Explorer</html:a>.
|
|
||||||
This registration is accomplished via custom action.
|
|
||||||
|
|
||||||
On Windows XP, this element instead records the same information in the registry so that
|
|
||||||
later upgrades to Windows Vista register the game in Game Explorer.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="File" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Each game can support multiple play and support tasks that are shown in the Game Explorer context menu. PlayTask and SupportTask are not needed when using when authoring the tasks in the GDF using ExtendedProperties\GameTasks available in Windows 7. At least one play task should be created using either PlayTask or the ExtendedProperties\GameTasks\Play in the GDF.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:element ref="PlayTask"/>
|
|
||||||
<xs:element ref="SupportTask"/>
|
|
||||||
</xs:choice>
|
|
||||||
|
|
||||||
<xs:attribute name="Id" type="Guid" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>The game's instance ID.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="GdfResourceFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Identifier of the file that contains the game's GDF resource, if it doesn't exist in the parent file.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ExecutableFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Identifier of the file that is the game's executable, if it isn't the parent file.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="PlayTask">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Creates a shortcut to the parent File and registers it as a "play task" in Game Explorer. For more information, see
|
|
||||||
<html:a href="http://msdn.microsoft.com/library/bb173450.aspx" target="_blank">
|
|
||||||
Game Explorer Tasks
|
|
||||||
</html:a>. PlayTask should not be used when authoring the tasks in the GDF using ExtendedProperties\GameTasks available in Windows 7.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Name" type="xs:string" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>User-visible task name Game Explorer shows on its context menu. Note that the first task is named "Play" regardless of the name you provide.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Arguments" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Command-line arguments to be passed to the game executable for this task.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="SupportTask">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Creates an Internet shortcut and registers it as a "support task" in Game Explorer. For more information, see
|
|
||||||
<html:a href="http://msdn.microsoft.com/library/bb173450.aspx" target="_blank">
|
|
||||||
Game Explorer Tasks
|
|
||||||
</html:a>. SupportTask should not be used when authoring the tasks in the GDF using ExtendedProperties\GameTasks available in Windows 7.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Name" type="xs:string" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>User-visible task name Game Explorer shows on its context menu. Note that the first task is named "Play" regardless of the name you provide.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Address" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>URI for this task.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:simpleType name="Guid">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Values of this type will look like: "01234567-89AB-CDEF-0123-456789ABCDEF" or "{01234567-89AB-CDEF-0123-456789ABCDEF}". Also allows "PUT-GUID-HERE" for use in examples.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:pattern value="[{(]?[0-9A-Fa-f]{8}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{12}[})]?|PUT\-GUID\-HERE|([!$])\(loc\.[_A-Za-z][0-9A-Za-z_.]*\)|!\(wix\.[_A-Za-z][0-9A-Za-z_.]*\)"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:schema>
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,226 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="lux.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
|
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
targetNamespace="http://schemas.microsoft.com/wix/2009/Lux"
|
|
||||||
xmlns="http://schemas.microsoft.com/wix/2009/Lux">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The source code schema for the Windows Installer XML Toolset Lux Extension.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:import namespace="http://schemas.microsoft.com/wix/2006/wi" />
|
|
||||||
|
|
||||||
<xs:element name="Mutation">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Test mutations let you author unit tests with different expected results. The mutation
|
|
||||||
id is passed as the value of the WIXLUX_RUNNING_MUTATION property. Your custom action,
|
|
||||||
typically in an '#ifdef DEBUG' block, can retrieve the WIXLUX_RUNNING_MUTATION property
|
|
||||||
and hard-code different behavior based on the mutation. To author test mutations, use
|
|
||||||
the Mutation element with UnitTest elements as children.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Fragment" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Child UnitTest elements are validated when the parent mutation is being executed.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:element ref="UnitTest"/>
|
|
||||||
</xs:choice>
|
|
||||||
|
|
||||||
<xs:attribute name="Id" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Value of the WIXLUX_RUNNING_MUTATION property set by the mutation.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="UnitTest">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Describes a unit test to be executed against a particular custom action, resulting in a
|
|
||||||
particular property value. Single-value properties, multi-value properties, and
|
|
||||||
name/value-pair properties can all be tested declaratively.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2009/Lux" ref="Mutation" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Fragment" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Child UnitTest elements are used to test multi-value properties. Note that Property
|
|
||||||
and ValueDelimiter or NameValueDelimiter must be specified in the parent element.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:element ref="Condition"/>
|
|
||||||
<xs:element ref="Expression"/>
|
|
||||||
<xs:element ref="UnitTest"/>
|
|
||||||
</xs:choice>
|
|
||||||
|
|
||||||
<xs:attribute name="Id" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Identifier of the unit test. If you omit this attribute, a stable identifier is generated for you.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="CustomAction" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Identifier of the custom action to be tested.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="Property" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Name of the property set by the custom action.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="Operator" default="equal">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The operator to apply to the property and value. Default is "equal."
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="equal">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
(Default) Compares Property to Value and succeeds if they are equal.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:enumeration>
|
|
||||||
<xs:enumeration value="notEqual">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Compares Property to Value and succeeds if they are NOT equal.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:enumeration>
|
|
||||||
<xs:enumeration value="caseInsensitiveEqual">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Compares Property to Value and succeeds if they are equal (ignoring case).
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:enumeration>
|
|
||||||
<xs:enumeration value="caseInsensitiveNotEqual">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Compares Property to Value and succeeds if they are NOT equal (ignoring case).
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:enumeration>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="Value" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The value to compare to the property.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="ValueSeparator" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
One character that is used to separate values in a multi-value property.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="NameValueSeparator" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
One character that is used to separate values in a name/value-pair multi-value property.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
|
|
||||||
<xs:attribute name="Index" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
A formatted string that evaluates to either an integer index into a multi-value property or a string name of a name/value-pair multi-value property.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Condition">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Conditions for a unit test.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string" />
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Expression">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
An expression that must evaluate to true to succeed. Cannot be specified if Property is specified.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string" />
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="UnitTestRef">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Identifies a unit test to be linked into a project.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Fragment" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Product" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Identifier of the unit test to be included.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
</xs:schema>
|
|
|
@ -1,126 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="msmq.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"
|
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
|
|
||||||
targetNamespace="http://schemas.microsoft.com/wix/MsmqExtension"
|
|
||||||
xmlns="http://schemas.microsoft.com/wix/MsmqExtension">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The source code schema for the Windows Installer XML Toolset MSMQ Extension.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:import namespace="http://schemas.microsoft.com/wix/2006/wi" />
|
|
||||||
|
|
||||||
<xs:element name="MessageQueue">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element ref="MessageQueuePermission" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Authenticate" use="optional" type="YesNoType">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Default: No.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="BasePriority" use="optional" type="xs:integer" />
|
|
||||||
<xs:attribute name="Journal" use="optional" type="YesNoType">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Default: No.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="JournalQuota" use="optional" type="xs:integer" />
|
|
||||||
<xs:attribute name="Label" use="required" type="xs:string" />
|
|
||||||
<xs:attribute name="MulticastAddress" use="optional" type="xs:string" />
|
|
||||||
<xs:attribute name="PathName" use="required" type="xs:string" />
|
|
||||||
<xs:attribute name="PrivLevel" use="optional">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="none" />
|
|
||||||
<xs:enumeration value="optional" />
|
|
||||||
<xs:enumeration value="body" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Quota" use="optional" type="xs:integer" />
|
|
||||||
<xs:attribute name="Transactional" use="optional" type="YesNoType">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Default: No.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ServiceTypeGuid" use="optional" type="xs:string" />
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="MessageQueuePermission">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="MessageQueue" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="User" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Group" use="optional" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="DeleteMessage" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="PeekMessage" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="WriteMessage" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="DeleteJournalMessage" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="SetQueueProperties" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="GetQueueProperties" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="DeleteQueue" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="GetQueuePermissions" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="ChangeQueuePermissions" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="TakeQueueOwnership" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="ReceiveMessage" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="ReceiveJournalMessage" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="QueueGenericRead" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="QueueGenericWrite" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="QueueGenericExecute" use="optional" type="YesNoType" />
|
|
||||||
<xs:attribute name="QueueGenericAll" use="optional" type="YesNoType" />
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:simpleType name="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="no" />
|
|
||||||
<xs:enumeration value="yes" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
|
|
||||||
</xs:schema>
|
|
|
@ -1,240 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="netfx.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
|
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
targetNamespace="http://schemas.microsoft.com/wix/NetFxExtension"
|
|
||||||
xmlns="http://schemas.microsoft.com/wix/NetFxExtension">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The source code schema for the Windows Installer XML Toolset .NET Framework Extension.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:element name="NativeImage">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Improves the performance of managed applications by creating native images.
|
|
||||||
Requires the .NET Framework 2.0 or newer to be installed on the target machine since
|
|
||||||
it runs <html:a href="http://msdn2.microsoft.com/en-us/library/6t9t5wcf.aspx">NGen</html:a>.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="File" />
|
|
||||||
<xse:remarks>
|
|
||||||
<html:p>
|
|
||||||
Native images are files containing compiled processor-specific machine code, which
|
|
||||||
are installed into the native image cache on the local computer. The runtime
|
|
||||||
can use native images from the cache instead using the just-in-time (JIT)
|
|
||||||
compiler to compile the original assembly.
|
|
||||||
</html:p>
|
|
||||||
<html:p>
|
|
||||||
The native image custom actions are configured to ignore failures so that failing
|
|
||||||
to generate or remove a native image will not cause setup to fail and roll back.
|
|
||||||
</html:p>
|
|
||||||
<html:p>
|
|
||||||
<html:b>Note for patches:</html:b> if you built your target, or baseline, MSI with
|
|
||||||
previous versions 3.0 or 3.5 of this extension and want to upgrade to formattable
|
|
||||||
values for @AssemblyApplication or @AppBaseDirectory you must also include a
|
|
||||||
BinaryRef to "NetFxCA" to pull in necessary changes. If you do use formattable
|
|
||||||
values and do not include the binary changes ngen.exe will not optimize your
|
|
||||||
native images for the specified application.
|
|
||||||
</html:p>
|
|
||||||
<html:p>
|
|
||||||
This should be a rare occurrence, however. Because you cannot remove components
|
|
||||||
in a patch - and pyro does validate you do not - it is not practical to switch
|
|
||||||
from using identifiers to formattable values in a patch. One practical possibility
|
|
||||||
is if you wanted to use a different application to optimize your native images
|
|
||||||
and that application is not already installed with the MSI to be updated.
|
|
||||||
</html:p>
|
|
||||||
</xse:remarks>
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" type="xs:string" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The identifier for this NativeImage.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="AppBaseDirectory" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
<html:p>
|
|
||||||
The directory to use for locating dependent assemblies.
|
|
||||||
For DLL assemblies and assemblies installed to the Global Assembly Cache (GAC),
|
|
||||||
this attribute should be set to the directory of the application which loads this
|
|
||||||
assembly. For EXE assemblies, this attribute does not need to be set because NGen
|
|
||||||
will use the directory of the assembly file by default.
|
|
||||||
</html:p>
|
|
||||||
<html:p>
|
|
||||||
The value can be in the form of a directory identifier, or a formatted string
|
|
||||||
that resolves to either a directory identifier or a full path to a directory.
|
|
||||||
</html:p>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="AssemblyApplication" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
<html:p>
|
|
||||||
The application which will load this assembly.
|
|
||||||
For DLL assemblies which are loaded via reflection, this attribute should
|
|
||||||
be set to indicate the application which will load this assembly.
|
|
||||||
The configuration of the application (usually specified via an exe.config file) will be used
|
|
||||||
to determine how to resolve dependencies for this assembly.
|
|
||||||
</html:p>
|
|
||||||
<html:p>
|
|
||||||
The value can be in the form of a file identifier, or a formatted string
|
|
||||||
that resolves to either a file identifier or a full path to a file.
|
|
||||||
</html:p>
|
|
||||||
<html:p>
|
|
||||||
When a shared component is loaded at run time, using the Load method, the
|
|
||||||
application's configuration file determines the dependencies that are loaded
|
|
||||||
for the shared component — for example, the version of a dependency that is loaded.
|
|
||||||
This attribute gives guidance on which dependencies would be loaded at run time in order
|
|
||||||
to figure out which dependency assemblies will also need to have native images generated
|
|
||||||
(assuming the Dependency attribute is not set to "no").
|
|
||||||
</html:p>
|
|
||||||
<html:p>
|
|
||||||
This attribute cannot be set if the AssemblyApplication attribute is set on the parent
|
|
||||||
File element (please note that these attributes both refer to the same application
|
|
||||||
assembly but do very different things: specifiying File/@AssemblyApplication will force
|
|
||||||
an assembly to install to a private location next to the indicated application, whereas
|
|
||||||
this AssemblyApplication attribute will be used to help resolve dependent assemblies
|
|
||||||
while generating native images for this assembly).
|
|
||||||
</html:p>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Debug" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Set to "yes" to generate native images that can be used under a debugger.
|
|
||||||
The default value is "no".
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Dependencies" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Set to "no" to generate the minimum number of native images.
|
|
||||||
The default value is "yes".
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Platform">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Sets the platform(s) for which native images will be generated.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="32bit">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Attempt to generate native images only for the 32-bit version of the .NET Framework
|
|
||||||
on the target machine. If the 32-bit version of the .NET Framework 2.0 or newer is not
|
|
||||||
present on the target machine, native image custom actions will not be scheduled.
|
|
||||||
This is the default value.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:enumeration>
|
|
||||||
<xs:enumeration value="64bit">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Attempt to generate native images only for the 64-bit version of the .NET Framework
|
|
||||||
on the target machine. If a 64-bit version of the .NET Framework 2.0 or newer is not
|
|
||||||
present on the target machine, native image custom actions will not be scheduled.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:enumeration>
|
|
||||||
<xs:enumeration value="all">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Attempt to generate native images for the 32-bit and 64-bit versions of the .NET Framework
|
|
||||||
on the target machine. If a version of the .NET Framework 2.0 or newer is not present on the
|
|
||||||
target machine for a processor architecture, native image custom actions will not be
|
|
||||||
scheduled for that processor architecture.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:enumeration>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Priority">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Sets the priority of generating the native images for this assembly.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="0">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
This is the highest priority, it means that image generation occurs syncronously
|
|
||||||
during the setup process. This option will slow down setup performance.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:enumeration>
|
|
||||||
<xs:enumeration value="1">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
This will queue image generation to the NGen service to occur immediately.
|
|
||||||
This option will slow down setup performance.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:enumeration>
|
|
||||||
<xs:enumeration value="2">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
This will queue image generation to the NGen service to occur after all priority 1
|
|
||||||
assemblies have completed.
|
|
||||||
This option will slow down setup performance.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:enumeration>
|
|
||||||
<xs:enumeration value="3">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
This is the lowest priority, it will queue image generation to occur when the
|
|
||||||
machine is idle.
|
|
||||||
This option should not slow down setup performance.
|
|
||||||
This is the default value.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:enumeration>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Profile" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Set to "yes" to generate native images that can be used under a profiler.
|
|
||||||
The default value is "no".
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:simpleType name="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base='xs:NMTOKEN'>
|
|
||||||
<xs:enumeration value="no"/>
|
|
||||||
<xs:enumeration value="yes"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
|
|
||||||
</xs:schema>
|
|
|
@ -1,206 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="ps.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
|
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"
|
|
||||||
targetNamespace="http://schemas.microsoft.com/wix/PSExtension"
|
|
||||||
xmlns="http://schemas.microsoft.com/wix/PSExtension">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The source code schema for the Windows Installer XML Toolset PowerShell Extension.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:import namespace="http://schemas.microsoft.com/wix/2006/wi" />
|
|
||||||
<xs:element name="FormatsFile">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Identifies the parent File as a formats XML file for the referenced PowerShell snap-in.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="File" />
|
|
||||||
<xse:remarks>
|
|
||||||
A formats XML file that defines output formats for objects on the pipeline.
|
|
||||||
</xse:remarks>
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="FileId" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Reference to the formats File ID. This is required when nested under the SnapIn element.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SnapIn" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Reference to the PowerShell snap-in ID for which this formats file is associated. This is required when nested under the File element.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="TypesFile">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Identifies the parent File as a types XML file for the referenced PowerShell snap-in.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="File" />
|
|
||||||
<xse:remarks>
|
|
||||||
A types XML file used by the extensible type system.
|
|
||||||
</xse:remarks>
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="FileId" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Reference to the types File ID. This is required when nested under the SnapIn element.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SnapIn" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Reference to the PowerShell snap-in ID for which this types file is associated. This is required when nested under the File element.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="SnapIn">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Identifies the parent File as a PowerShell snap-in to be registered on the system.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="File" />
|
|
||||||
<xse:remarks>
|
|
||||||
<html:a href="http://www.microsoft.com/powershell">PowerShell</html:a> snap-ins
|
|
||||||
allow developers to extend the functionality of of the PowerShell engine.
|
|
||||||
Add this element to identify the parent File as a PowerShell snap-in that will
|
|
||||||
get registered on the system.
|
|
||||||
</xse:remarks>
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:element ref="FormatsFile" />
|
|
||||||
<xs:element ref="TypesFile" />
|
|
||||||
</xs:choice>
|
|
||||||
<xs:attribute name="Id" type="xs:string" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The identifier for this PowerShell snap-in.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="AssemblyName" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The fully-qualified name of the assembly.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:deprecated />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="CustomSnapInType" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The full type name of a class that is used to register a list of cmdlets and providers.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Description" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
A brief description of the snap-in.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="DescriptionIndirect" type="EmbeddedResource">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
An embedded resource that contains a brief description of the snap-in.
|
|
||||||
This resource must be embedded in the current snap-in assembly.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="RequiredPowerShellVersion" type="VersionType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The required version of PowerShell that must be installed and is associated with the
|
|
||||||
snap-in registration. The default value is "1.0".
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Vendor" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The name of the snap-in vendor.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="VendorIndirect" type="EmbeddedResource">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
An embedded resource that contains the name of the snap-in vendor.
|
|
||||||
This resource must be embedded in the current snap-in assembly.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Version" type="VersionType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The version of the snapin. If not specified, this is taken from the assembly name.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:attribute name="RequiredVersion" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The version of this extension required to compile the defining source.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Wix" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:simpleType name="EmbeddedResource">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
<html:p>
|
|
||||||
Values should be in the format <html:i>ResourceName,StringName</html:i>, where <html:i>ResourceName</html:i>
|
|
||||||
is the name of the embedded resource in your assembly sans the ".resources" extension, and <html:i>StringName</html:i>
|
|
||||||
is the name of the string resource in the embedded resource.
|
|
||||||
</html:p>
|
|
||||||
<html:p>
|
|
||||||
Example: UtilityMshSnapInResources,Description
|
|
||||||
</html:p>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base="xs:string" />
|
|
||||||
</xs:simpleType>
|
|
||||||
<xs:simpleType name="VersionType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Values of this type will look like: "x", "x.x", "x.x.x", or "x.x.x.x" where x is an integer from 0 to 65534.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:pattern value="\d{1,5}(\.\d{1,5}){0,3}"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:schema>
|
|
|
@ -1,347 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="sql.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"
|
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
|
|
||||||
targetNamespace="http://schemas.microsoft.com/wix/SqlExtension"
|
|
||||||
xmlns="http://schemas.microsoft.com/wix/SqlExtension">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The source code schema for the Windows Installer XML Toolset SQL Server Extension.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:import namespace="http://schemas.microsoft.com/wix/2006/wi" />
|
|
||||||
|
|
||||||
<xs:element name="SqlDatabase">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Fragment" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Module" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Product" />
|
|
||||||
<xse:remarks>
|
|
||||||
<html:dl>
|
|
||||||
<html:dd>Nesting SqlDatabase under a Component element will result in a SqlDatabase being installed to the machine as the package is installed.</html:dd>
|
|
||||||
<html:dd>
|
|
||||||
Nesting SqlDatabase under Product, Fragment, or Module
|
|
||||||
results in a database "locator" record being created in
|
|
||||||
the SqlDatabase table. This means that the database
|
|
||||||
itself is neither installed nor uninstalled by the MSI
|
|
||||||
package. It does make the database available for referencing
|
|
||||||
from a SqlString or SqlScript record. This allows MSI to install
|
|
||||||
SqlScripts or SqlStrings to already existing databases on the machine.
|
|
||||||
The install will fail if the database does not exist in these cases.
|
|
||||||
</html:dd>
|
|
||||||
<html:dd>
|
|
||||||
The User attribute references credentials specified in a User element.
|
|
||||||
If a user is not specified then Windows Authentication will be used by default
|
|
||||||
using the credentials of the user performing the install to execute sql
|
|
||||||
strings, etc.
|
|
||||||
</html:dd>
|
|
||||||
</html:dl>
|
|
||||||
</xse:remarks>
|
|
||||||
<xse:seeAlso ref="User"/>
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>SQL Database</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element ref="SqlFileSpec" minOccurs="0"/>
|
|
||||||
<xs:element ref="SqlLogFileSpec" minOccurs="0"/>
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:element ref="SqlScript"/>
|
|
||||||
<xs:element ref="SqlString"/>
|
|
||||||
</xs:choice>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string"/>
|
|
||||||
<xs:attribute name="Server" use="required" type="xs:string">
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Instance" type="xs:string">
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Database" use="required" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The name of the database. The value can be a literal value or derived from a
|
|
||||||
Property element using the <html:a href='http://msdn.microsoft.com/library/aa368609.aspx' target='_blank'>Formatted</html:a>
|
|
||||||
syntax.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="User" type="xs:string">
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="CreateOnInstall" type="YesNoType">
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="CreateOnReinstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies whether to create the database when the associated component is reinstalled. Setting CreateOnInstall to yes does <html:b>not</html:b> imply CreateOnReinstall is set to yes. CreateOnReinstall must be set in addition to CreateOnInstall for it to be created during both install and reinstall.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="CreateOnUninstall" type="YesNoType">
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="DropOnInstall" type="YesNoType">
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="DropOnReinstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies whether to drop the database when the associated component is reinstalled. Setting DropOnInstall to yes does <html:b>not</html:b> imply DropOnReinstall is set to yes. DropOnReinstall must be set in addition to DropOnInstall for it to be dropped during both install and reinstall.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="DropOnUninstall" type="YesNoType">
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ContinueOnError" type="YesNoType">
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ConfirmOverwrite" type="YesNoType">
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="SqlFileSpec">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>File specification for a Sql database.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>ID of the file specification.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Name" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies the logical name for the database file.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Filename" use="required" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies the operating-system file name for the database file.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Size" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies the size of the database file. The GB, MB and KB suffixes can be used to specify gigabytes,
|
|
||||||
megabytes or kilobytes. The default is megabytes if no suffix is specified. When a Size is not
|
|
||||||
supplied for a database file, SQL Server uses the size of the primary file in the model database.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="MaxSize" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies the maximum size to which the database file can grow. The GB, MB and KB suffixes can be used to
|
|
||||||
to specify gigabytes, megabytes or kilobytes. The default is megabytes if no suffix is specified. If
|
|
||||||
MaxSize is not specified, the file will grow until the disk is full.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="GrowthSize" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies the growth increment of the database file. The GB, MB and KB and % suffixes can be used to
|
|
||||||
specify gigabytes, megabytes, kilobytes or a percentage of the current file size to grow. The default is
|
|
||||||
megabytes if no suffix is specified. The default value is 10% if GrowthSize is not specified, and the
|
|
||||||
minimum value is 64 KB. The GrowthSize setting for a file cannot exceed the MaxSize setting.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="SqlLogFileSpec">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>File specification for a Sql database.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>ID of the log file specification.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Name" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies the logical name for the log file.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Filename" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies the operating-system file name for the log file.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Size" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies the size of the log file. The GB, MB and KB suffixes can be used to specify gigabytes,
|
|
||||||
megabytes or kilobytes. The default is megabytes if no suffix is specified. When a Size is not
|
|
||||||
supplied for a log file, SQL Server makes the file 1 MB.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="MaxSize" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies the maximum size to which the log file can grow. The GB, MB and KB suffixes can be used to
|
|
||||||
to specify gigabytes, megabytes or kilobytes. The default is megabytes if no suffix is specified. If
|
|
||||||
MaxSize is not specified, the file will grow until the disk is full.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="GrowthSize" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies the growth increment of the log file. The GB, MB and KB and % suffixes can be used to
|
|
||||||
specify gigabytes, megabytes, kilobytes or a percentage of the current file size to grow. The default is
|
|
||||||
megabytes if no suffix is specified. The default value is 10% if GrowthSize is not specified, and the
|
|
||||||
minimum value is 64 KB. The GrowthSize setting for a file cannot exceed the MaxSize setting.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="SqlScript">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>SQL Script</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string"/>
|
|
||||||
<xs:attribute name="SqlDb" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>required when not child of SqlDatabase</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="User" type="xs:string">
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="BinaryKey" type="xs:string" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Reference to Binary stream that contains the SQL script to execute.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ExecuteOnInstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies to execute the script when the associated component is installed. This attribute is mutually exclusive with the RollbackOnInstall, RollbackOnReinstall and RollbackOnUninstall attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ExecuteOnReinstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether to execute the script when the associated component is reinstalled. Setting ExecuteOnInstall to yes does <html:b>not</html:b> imply ExecuteOnReinstall is set to yes. ExecuteOnReinstall must be set in addition to ExecuteOnInstall for it to be executed during both install and reinstall. This attribute is mutually exclusive with the RollbackOnInstall, RollbackOnReinstall and RollbackOnUninstall attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ExecuteOnUninstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies to execute the script when the associated component is uninstalled. This attribute is mutually exclusive with the RollbackOnInstall, RollbackOnReinstall and RollbackOnUninstall attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="RollbackOnInstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether to execute the script on rollback if an attempt is made to install the associated component. This attribute is mutually exclusive with the ExecuteOnInstall, ExecuteOnReinstall and ExecuteOnUninstall attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="RollbackOnReinstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether to execute the script on rollback if an attempt is made to reinstall the associated component. This attribute is mutually exclusive with the ExecuteOnInstall, ExecuteOnReinstall and ExecuteOnUninstall attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="RollbackOnUninstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether to execute the script on rollback if an attempt is made to uninstall the associated component. This attribute is mutually exclusive with the ExecuteOnInstall, ExecuteOnReinstall and ExecuteOnUninstall attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ContinueOnError" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Continue executing scripts even if this one fails.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Sequence" type="xs:integer">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifes the order to run the SQL Scripts. It is recommended that rollback scripts be scheduled before their complementary execution script. This order is also relative across the SqlString element.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="SqlString">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
</xs:appinfo>
|
|
||||||
<xs:documentation>SQL String</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SQL" use="required" type="xs:string">
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="User" type="xs:string">
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SqlDb" type="xs:string">
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ExecuteOnInstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies to execute the string when the associated component is installed. This attribute is mutually exclusive with the RollbackOnInstall, RollbackOnReinstall and RollbackOnUninstall attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ExecuteOnReinstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies whether to execute the string when the associated component is reinstalled. Setting ExecuteOnInstall to yes does <html:b>not</html:b> imply ExecuteOnReinstall is set to yes. ExecuteOnReinstall must be set in addition to ExecuteOnInstall for it to be executed during both install and reinstall. This attribute is mutually exclusive with the RollbackOnInstall, RollbackOnReinstall and RollbackOnUninstall attributes.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ExecuteOnUninstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies to execute the string when the associated component is uninstalled. This attribute is mutually exclusive with the RollbackOnInstall, RollbackOnReinstall and RollbackOnUninstall attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="RollbackOnInstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether to execute the string on rollback if an attempt is made to install the associated component. This attribute is mutually exclusive with the ExecuteOnInstall, ExecuteOnReinstall and ExecuteOnUninstall attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="RollbackOnReinstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether to execute the string on rollback if an attempt is made to reinstall the associated component. This attribute is mutually exclusive with the ExecuteOnInstall, ExecuteOnReinstall and ExecuteOnUninstall attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="RollbackOnUninstall" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether to execute the string on rollback if an attempt is made to uninstall the associated component. This attribute is mutually exclusive with the ExecuteOnInstall, ExecuteOnReinstall and ExecuteOnUninstall attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ContinueOnError" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Continue executing strings even if this one fails.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Sequence" type="xs:integer">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifes the order to run the SQL Strings. It is recommended that rollback strings be scheduled before their complementary execution string. This order is also relative across the SqlScript element.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:simpleType name="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base='xs:NMTOKEN'>
|
|
||||||
<xs:enumeration value="no"/>
|
|
||||||
<xs:enumeration value="yes"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
|
|
||||||
</xs:schema>
|
|
|
@ -1,148 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="tag.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
|
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
targetNamespace="http://schemas.microsoft.com/wix/TagExtension"
|
|
||||||
xmlns="http://schemas.microsoft.com/wix/TagExtension">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The source code schema for the Windows Installer XML Toolset Software Id Tag Extension.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:import namespace="http://schemas.microsoft.com/wix/2006/wi" />
|
|
||||||
|
|
||||||
<xs:element name="Tag">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
This extension implements the ISO/IEC 19770-2 specification. A SWID tag file
|
|
||||||
will be generated an inserted into the Product or Bundle.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Bundle" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Product" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Name" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Name to use in the filename for the software id tag. By default the filename
|
|
||||||
uses the Bundle/@Name or Product/@Name. If the bundle name or product name contains
|
|
||||||
invalid filename characters such as ":" or "?", use this attribute to provide
|
|
||||||
a valid filename.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Regid" type="xs:string" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The regid for the software id tag. A regid follows the format: "regid" + "."
|
|
||||||
+ YYYY-MM + "." + reverse domain order. The YYYY-MM is the year and month the
|
|
||||||
domain was first owned. For example: "regid.1995-08.com.example".
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Feature" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Optional attribute to explicitly set the Feature when defining the software id tag
|
|
||||||
in a Product. By default the software id tag will always be installed by a top-level hidden feature.
|
|
||||||
It is recommended to <html:strong>not</html:strong> set this attribute.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Licensed" type="YesNoTypeUnion">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Indicates whether the software requires a license. The default is
|
|
||||||
"no". </xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Type" type="TagTypeUnion">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Defines the type of software tag being defined. One of the following values may be used: "group",
|
|
||||||
"application", "patch", or "component". The default is "application" when the Tag element is a child of
|
|
||||||
the Product element. The default is "group" or "application" when the Tag element is under a Bundle element
|
|
||||||
based on the contents of the bundle's chain. The Bundle/Tag@Type will be "application" unless there are one
|
|
||||||
or more packages that define a software Tag@Type of "application" or "group".
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="TagRef">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Allows an ISO/IEC 19770-2 SWID tag file to be referenced in a Patch.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="PatchFamily" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Regid" type="xs:string" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The regid for the software id tag. A regid follows the format: "regid" + "."
|
|
||||||
+ YYYY-MM + "." + reverse domain order. The YYYY-MM is the year and month the
|
|
||||||
domain was first owned. For example: "regid.1995-08.com.example".
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:simpleType name="TagTypeUnion">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Values of this type will be "application", "component", "feature", "group", or "patch".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:union memberTypes="TagType PreprocessorVariables"/>
|
|
||||||
</xs:simpleType>
|
|
||||||
|
|
||||||
<xs:simpleType name="TagType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Values of this type will be "application", "component", "feature", "group", or "patch".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="application" />
|
|
||||||
<xs:enumeration value="component" />
|
|
||||||
<xs:enumeration value="feature" />
|
|
||||||
<xs:enumeration value="group" />
|
|
||||||
<xs:enumeration value="patch" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
|
|
||||||
<xs:simpleType name="YesNoTypeUnion">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:union memberTypes="YesNoType PreprocessorVariables"/>
|
|
||||||
</xs:simpleType>
|
|
||||||
|
|
||||||
<xs:simpleType name="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="no" />
|
|
||||||
<xs:enumeration value="yes" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
|
|
||||||
<xs:simpleType name="PreprocessorVariables">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>A type that represents that 1 or more preprocessor variables (as they appear in sources on disk, before preprocessor has run).</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:pattern value="(\$\(\w+\.(\w|[.])+\))+" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:schema>
|
|
|
@ -1,661 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="thmutil.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
|
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
targetNamespace="http://wixtoolset.org/schemas/thmutil/2010"
|
|
||||||
xmlns="http://wixtoolset.org/schemas/thmutil/2010">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Schema for describing Theme files processsed by thmutil.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:import namespace="http://www.w3.org/1999/xhtml" />
|
|
||||||
|
|
||||||
<xs:element name="Theme">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice maxOccurs="unbounded">
|
|
||||||
<xs:element ref="Font" />
|
|
||||||
<xs:element ref="ImageList" />
|
|
||||||
<xs:element ref="Page" />
|
|
||||||
<xs:element ref="Window" />
|
|
||||||
<xs:group ref="ControlElements" maxOccurs="unbounded" />
|
|
||||||
</xs:choice>
|
|
||||||
<xs:attribute name="ImageFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Relative path to an image file that can serve as a single source for images in the rest of the
|
|
||||||
theme. This image is referenced by controls using the SourceX and SourceY attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Font">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines a font including the size and color.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Name of the font face.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:attribute name="Id" type="xs:nonNegativeInteger">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Numeric identifier for the font. Due to limitations in thmutil the first Font must start with "0" and each subsequent Font must increment the Id by 1. Failure to ensure the Font identifiers follow this strict ordering will create unexpected behavior or including crashes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Height" type="xs:int">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Font size. Use negative numbers to specify the font in pixels.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Weight" type="xs:nonNegativeInteger">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Font weight.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Foreground" type="xs:hexBinary">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Hexadecimal value representing BGR foreground color of the font. "ffffff" is white, "ff0000" is pure blue, "00ff00" is pure green, "0000ff" is pure red and "000000" is black. If this value is absent the foreground will be transparent.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Background" type="xs:hexBinary">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Hexadecimal value representing BGR background color of the font. "ffffff" is white, "ff0000" is pure blue, "00ff00" is pure green, "0000ff" is pure red and "000000" is black. If this value is absent the background will be transparent.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Underline" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether the font is underlined.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ImageList">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>List of images which can be shared between multiple controls.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice maxOccurs="unbounded">
|
|
||||||
<xs:element ref="Image" />
|
|
||||||
</xs:choice>
|
|
||||||
<xs:attribute name="Name" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Name of the ImageList, to be referenced by other controls.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Page">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Named set of controls that can be shown and hidden collectively.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:group ref="ControlElements" maxOccurs="unbounded"/>
|
|
||||||
<xs:attribute name="Name" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Relative path to an image file that can serve as a single source for images in the rest of the
|
|
||||||
theme. This image is referenced by controls using the SourceX and SourceY attributes.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Window">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines the overall look of the main window.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Caption for the window.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:attribute name="FontId" type="xs:nonNegativeInteger">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Numeric identifier to the Font element that serves as the default font for the window.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Height" type="xs:positiveInteger">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Height of the window.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="HexStyle" type="xs:hexBinary">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Hexadecimal window style. If this is not specified the default value is: WS_OVERLAPPED | WS_VISIBLE | WS_MINIMIZEBOX | WS_SYSMENU.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="IconFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Relative path to an icon file for the window. Mutually exclusive with IconResource and SourceX and SourceY attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="IconResource" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Identifier that references icon resource in the module for the window. Mutually exclusive with IconFile and SourceX and SourceY attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SourceX" type="xs:nonNegativeInteger">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>X offset of the window background in the Theme/@ImageFile. Mutually exclusive with IconFile and IconResource.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SourceY" type="xs:nonNegativeInteger">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Y offset of the window background in the Theme/@ImageFile. Mutually exclusive with IconFile and IconResource.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Width" type="xs:positiveInteger">
|
|
||||||
<xs:annotation><xs:documentation>Width of the window.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Billboard">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines a control that rotates through a set of images on a specfied interval.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Page" />
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element ref="Image" />
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attributeGroup ref="CommonControlAttributes" />
|
|
||||||
<xs:attribute name="Interval" type="xs:positiveInteger">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Loop" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether the billboard should loop through the images infinitely.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Button">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines a button.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Page" />
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Text to display in the button.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:attributeGroup ref="CommonControlAttributes" />
|
|
||||||
<xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Numeric identifier to the Font element that serves as the font for the control.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ImageFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Relative path to an image file to define an graphic button. The image must be 3x the height to represent the button in 3 states: unselected, hover, selected. Mutually exclusive with ImageResource and SourceX and SourceY attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ImageResource" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Identifier that references image resource in the module for the control. The image must be 3x the height to represent the button in 3 states: unselected, hover, selected. Mutually exclusive with ImageFile and SourceX and SourceY attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Checkbox">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines a checkbox.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Page" />
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Text to display beside the checkbox.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:attributeGroup ref="CommonControlAttributes" />
|
|
||||||
<xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Numeric identifier to the Font element that serves as the font for the control.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Editbox">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines an edit box.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Page" />
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attributeGroup ref="CommonControlAttributes" />
|
|
||||||
<xs:attribute name="FileSystemAutoComplete" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether the edit box should auto-complete with file system paths.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Numeric identifier to the Font element that serves as the font for the control.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Hyperlink">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines a hyperlink.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Page" />
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Text to display as the link.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:attributeGroup ref="CommonControlAttributes" />
|
|
||||||
<xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Numeric identifier to the Font element that serves as the unselected font.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="HoverFontId" type="xs:nonNegativeInteger" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Numeric identifier to the Font element that serves as the font when the control is hovered over.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SelectedFontId" type="xs:nonNegativeInteger" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Numeric identifier to the Font element that serves as the font when the control is selected.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Hypertext">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines a text block with support for HTML <a> tags.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Page" />
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Text to display as the link. Use HTML <a href="URL"> to create a link.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:attributeGroup ref="CommonControlAttributes" />
|
|
||||||
<xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Numeric identifier to the Font element that serves as the unselected font.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Image">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines an image.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Page" />
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attributeGroup ref="CommonControlAttributes" />
|
|
||||||
<xs:attribute name="ImageFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Relative path to an image file. Mutually exclusive with ImageResource and SourceX and SourceY attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ImageResource" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Identifier that references image resource in the module. Mutually exclusive with ImageFile and SourceX and SourceY attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="ListView">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines a listview.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Page" />
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice maxOccurs="unbounded">
|
|
||||||
<xs:element ref="Column" />
|
|
||||||
</xs:choice>
|
|
||||||
<xs:attributeGroup ref="CommonControlAttributes" />
|
|
||||||
<xs:attribute name="HexExtendedStyle" type="xs:hexBinary">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Hexadecimal extended window style.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ImageList" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>The name of the Image List to assign to this listview with type LVSIL_NORMAL.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ImageListSmall" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>The name of the Image List to assign to this listview with type LVSIL_SMALL.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ImageListState" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>The name of the Image List to assign to this listview with type LVSIL_STATE.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ImageListGroupHeader" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>The name of the Image List to assign to this listview with type LVSIL_GROUPHEADER.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Progressbar">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines a progressbar.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Page" />
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attributeGroup ref="CommonControlAttributes" />
|
|
||||||
<xs:attribute name="ImageFile" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Relative path to an image file for the control. The image must be 4 pixels wide: left pixel is the left side of progress bar, left middle pixel is progress used, right middle pixel is progress unused, right pixel is right side of progress bar. Mutually exclusive with ImageResource and SourceX and SourceY attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="ImageResource" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Identifier that references image resource in the module for the control. The image must be 4 pixels wide: left pixel is the left side of progress bar, left middle pixel is progress used, right middle pixel is progress unused, right pixel is right side of progress bar. Mutually exclusive with ImageFile and SourceX and SourceY attributes.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Richedit">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines a rich edit control.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Page" />
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attributeGroup ref="CommonControlAttributes" />
|
|
||||||
<xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Numeric identifier to the Font element that serves as the font for the control.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Static">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines a straight line.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Page" />
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attributeGroup ref="CommonControlAttributes" />
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Tab">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines a tab.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Caption of the tab.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Text">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines text.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Page" />
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="Theme" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Text to display.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:attributeGroup ref="CommonControlAttributes" />
|
|
||||||
<xs:attribute name="Center" type="YesNoType" use="optional">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies the text should be centered horizontally in the width of the control. Default is "no".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="DisablePrefix" type="YesNoType" use="optional">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>By default ampersands (&) in the text will underline the next character and treat it as an accelerator key. Set this attribute to "yes" to disable that behavior. Default is "no".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Numeric identifier to the Font element that serves as the font for the control.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="TreeView">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Defines a treeview.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attributeGroup ref="CommonControlAttributes"/>
|
|
||||||
<xs:attribute name="EnableDragDrop">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether drag and drop is enabled for the treeview.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="FullRowSelect">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether an entire row is selected for the treeivew.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="asButtons">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether the treeview will show buttons.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="AlwaysShowSelect">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether the row always appears selected even when the treeview has lost focus.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="LinesAtRoot">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether the root nodes have lines beside them.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="HasLines">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether lines appear for all treeview items.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="Column">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>A column of a list.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://wixtoolset.org/schemas/thmutil/2010" ref="ListView" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:simpleContent>
|
|
||||||
<xs:extension base="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Text for the column header.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:attribute name="Width" type="xs:int">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Width of the column.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:extension>
|
|
||||||
</xs:simpleContent>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:group name="ControlElements">
|
|
||||||
<xs:choice>
|
|
||||||
<xs:element ref="Billboard" />
|
|
||||||
<xs:element ref="Button" />
|
|
||||||
<xs:element ref="Checkbox" />
|
|
||||||
<xs:element ref="Editbox" />
|
|
||||||
<xs:element ref="Hyperlink" />
|
|
||||||
<xs:element ref="Hypertext" />
|
|
||||||
<xs:element ref="Image" />
|
|
||||||
<xs:element ref="ListView" />
|
|
||||||
<xs:element ref="Progressbar" />
|
|
||||||
<xs:element ref="Richedit" />
|
|
||||||
<xs:element ref="Static" />
|
|
||||||
<xs:element ref="Tab" />
|
|
||||||
<xs:element ref="Text" />
|
|
||||||
<xs:element ref="TreeView" />
|
|
||||||
</xs:choice>
|
|
||||||
</xs:group>
|
|
||||||
|
|
||||||
<xs:attributeGroup name="CommonControlAttributes">
|
|
||||||
<xs:attribute name="Name" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Optional name for the control.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Height" type="xs:int" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Height of the control. Non-positive values extend the control to the bottom of the window minus the value.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="HexStyle" type="xs:hexBinary">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Hexadecimal window style for the control.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="HideWhenDisabled" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether the control should be hidden when disabled.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="TabStop" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether the control is part of the tab sequence of controls.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Visible" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Specifies whether the control is initially visible.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Width" type="xs:int" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Width of the control. Non-positive values extend the control to the right of the window minus the value.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="X" type="xs:int" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>X coordinate for the control from the left of the window. Negative values are coordinates from the right of the window minus the width of the control.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Y" type="xs:int" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Y coordinate for the control from the top of the window. Negative values are coordinates from the bottom of the window minus the height of the control.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:attributeGroup>
|
|
||||||
|
|
||||||
<xs:simpleType name="YesNoType">
|
|
||||||
<xs:annotation><xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation></xs:annotation>
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="no"/>
|
|
||||||
<xs:enumeration value="yes"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:schema>
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,297 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="vs.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
|
|
||||||
targetNamespace="http://schemas.microsoft.com/wix/VSExtension"
|
|
||||||
xmlns="http://schemas.microsoft.com/wix/VSExtension">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
The source code schema for the Windows Installer XML Toolset Visual Studio Extension.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:element name="HelpCollection">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Help Namespace for a help collection. The parent file is the key for the HxC (Collection) file.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="File" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:element ref="HelpFileRef" />
|
|
||||||
<xs:element ref="HelpFilterRef" />
|
|
||||||
<xs:element ref="PlugCollectionInto" />
|
|
||||||
</xs:choice>
|
|
||||||
<xs:attribute name="Id" type="xs:string" use="required">
|
|
||||||
<xs:annotation><xs:documentation>Primary Key for HelpNamespace.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Description" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Friendly name for Namespace.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Name" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Internal Microsoft Help ID for this Namespace.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SuppressCustomActions" type="YesNoType">
|
|
||||||
<xs:annotation><xs:documentation>Suppress linking Help registration custom actions. Help redistributable merge modules will be required. Use this when building a merge module.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="HelpFilter">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Filter for Help Namespace.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Fragment" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Module" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Product" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Primary Key for HelpFilter.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="FilterDefinition" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Query String for Help Filter.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Name" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Friendly name for Filter.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SuppressCustomActions" type="YesNoType">
|
|
||||||
<xs:annotation><xs:documentation>Suppress linking Help registration custom actions. Help redistributable merge modules will be required. Use this when building a merge module.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="HelpFile">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
File for Help Namespace. The parent file is the key for HxS (Title) file.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="File" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Primary Key for HelpFile Table.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="AttributeIndex" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Key for HxR (Attributes) file.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Index" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Key for HxI (Index) file.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Language" use="required" type="xs:integer">
|
|
||||||
<xs:annotation><xs:documentation>Language ID for content file.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Name" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Internal Microsoft Help ID for this HelpFile.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SampleLocation" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Key for a file that is in the "root" of the samples directory for this HelpFile.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Search" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Key for HxQ (Query) file.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SuppressCustomActions" type="YesNoType">
|
|
||||||
<xs:annotation><xs:documentation>Suppress linking Help registration custom actions. Help redistributable merge modules will be required. Use this when building a merge module.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="PlugCollectionInto">
|
|
||||||
<xs:annotation><xs:documentation>Plugin for Help Namespace.</xs:documentation></xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Attributes" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Key for HxA (Attributes) file of child namespace.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="TableOfContents" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Key for HxT file of child namespace.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="TargetCollection" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Foriegn Key into HelpNamespace table for the parent namespace into which the child will be inserted.
|
|
||||||
The following special keys can be used to plug into external namespaces defined outside of the installer.
|
|
||||||
MS_VSIPCC_v80 : Visual Studio 2005
|
|
||||||
MS.VSIPCC.v90 : Visual Studio 2008
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="TargetTableOfContents" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Key for HxT file of parent namespace that now includes the new child namespace.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="TargetFeature" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Key for the feature parent of this help collection. Required only when plugging into external namespaces.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="SuppressExternalNamespaces" type="YesNoType">
|
|
||||||
<xs:annotation><xs:documentation>Suppress linking Visual Studio Help namespaces. Help redistributable merge modules will be required. Use this when building a merge module.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="HelpFileRef">
|
|
||||||
<xs:annotation><xs:documentation>Create a reference to a HelpFile element in another Fragment.</xs:documentation></xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Primary Key for HelpFile Table.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:anyAttribute namespace="##other" processContents="lax">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Extensibility point in the WiX XML Schema. Schema extensions can register additional
|
|
||||||
attributes at this point in the schema.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:anyAttribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="HelpFilterRef">
|
|
||||||
<xs:annotation><xs:documentation>Create a reference to a HelpFile element in another Fragment.</xs:documentation></xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Primary Key for HelpFilter.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:anyAttribute namespace="##other" processContents="lax">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Extensibility point in the WiX XML Schema. Schema extensions can register additional
|
|
||||||
attributes at this point in the schema.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:anyAttribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="HelpCollectionRef">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Create a reference to a HelpCollection element in another Fragment.</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Fragment" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Module" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Product" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:element ref="HelpFileRef" />
|
|
||||||
</xs:choice>
|
|
||||||
<xs:attribute name="Id" use="required" type="xs:string">
|
|
||||||
<xs:annotation><xs:documentation>Primary Key for HelpNamespace Table.</xs:documentation></xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:anyAttribute namespace="##other" processContents="lax">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Extensibility point in the WiX XML Schema. Schema extensions can register additional
|
|
||||||
attributes at this point in the schema.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:anyAttribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="VsixPackage">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
This element provides the metdata required to install/uninstall a file as
|
|
||||||
a VSIX Package. The VSIX package file will be installed as part of the MSI
|
|
||||||
then passed to the VSIX installer to install the VSIX package. To avoid the
|
|
||||||
duplication, simply use the MSI to install the VSIX package itself.
|
|
||||||
</xs:documentation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
|
|
||||||
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="File" />
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:attribute name="File" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Reference to file identifer. This attribute is required when the element is not a
|
|
||||||
child of a File element and is invalid when the element is a child of the File element.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="PackageId" type="xs:string" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Identity of the VSIX package per its internal manifest. If this value is not correct
|
|
||||||
the VSIX package will not correctly uninstall.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Permanent" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Indicates whether the VSIX package is uninstalled when the parent Component is uninstalled.
|
|
||||||
The default is 'no'.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Target" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies the SKU of Visual Studio in which to register the extension. If no target
|
|
||||||
is specified the extension is registered with all installed SKUs. If the Target
|
|
||||||
attribute is specified the TargetVersion attribute must also be specified. The
|
|
||||||
following is a list of known Visual Studio targets: integratedShell, professional,
|
|
||||||
premium, ultimate, vbExpress, vcExpress, vcsExpress, vwdExpress
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="TargetVersion" type="VersionType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Specifies the version of Visual Studio in which to register the extension. This attribute
|
|
||||||
is required if the Target attribute is specified.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Vital" type="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Indicates whether failure to install the VSIX package causes the installation to rollback.
|
|
||||||
The default is 'yes'.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="VsixInstallerPathProperty" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Optional reference to a Property element that contains the path to the VsixInstaller.exe.
|
|
||||||
By default, the latest VsixInstaller.exe on the machine will be used to install the VSIX
|
|
||||||
package. It is highly recommended that this attribute is *not* used.
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:anyAttribute namespace="##other" processContents="lax">
|
|
||||||
<xs:annotation><xs:documentation>
|
|
||||||
Extensibility point in the WiX XML Schema. Schema extensions can register additional
|
|
||||||
attributes at this point in the schema.
|
|
||||||
</xs:documentation></xs:annotation>
|
|
||||||
</xs:anyAttribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:simpleType name="VersionType">
|
|
||||||
<xs:annotation><xs:documentation>Values of this type will look like: "x.x.x.x" where x is an integer from 0 to 65534.</xs:documentation></xs:annotation>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:pattern value="(\d{1,5}\.){0,3}\d{1,5}"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
|
|
||||||
<xs:simpleType name="YesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:restriction base='xs:NMTOKEN'>
|
|
||||||
<xs:enumeration value="no"/>
|
|
||||||
<xs:enumeration value="yes"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:schema>
|
|
Binary file not shown.
12944
tools/WIX/doc/wix.xsd
12944
tools/WIX/doc/wix.xsd
File diff suppressed because it is too large
Load diff
|
@ -1,139 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
<copyright file="wixloc.xsd" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
|
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
||||||
targetNamespace="http://schemas.microsoft.com/wix/2006/localization"
|
|
||||||
xmlns="http://schemas.microsoft.com/wix/2006/localization">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
Schema for describing Windows Installer Xml Localization files (.wxl).
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
|
|
||||||
<xs:element name="WixLocalization">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:remarks>
|
|
||||||
<html:p>You can specify any valid Windows code page by integer like 1252, or by web name like Windows-1252 or iso-8859-1. See <a href="/html/codepage.htm">Code Pages</a> for more information.</html:p>
|
|
||||||
</xse:remarks>
|
|
||||||
<xse:howtoRef href="build_a_localized_version.htm">How To: Build a localized version of your installer</xse:howtoRef>
|
|
||||||
<xse:howtoRef href="make_installer_localizable.htm">How To: Make your installer localizable</xse:howtoRef>
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xs:element ref="String" />
|
|
||||||
<xs:element ref="UI" />
|
|
||||||
</xs:choice>
|
|
||||||
<xs:attribute name="Codepage" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>The code page integer value or web name for the resulting database. You can also specify -1 which will not reset the database code page. See remarks for more information.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Culture" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Culture of the localization strings.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Language" type="xs:integer">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>The decimal language ID (LCID) for the culture.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="String">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:appinfo>
|
|
||||||
<xse:howtoRef href="build_a_localized_version.htm">How To: Build a localized version of your installer</xse:howtoRef>
|
|
||||||
<xse:howtoRef href="make_installer_localizable.htm">How To: Make your installer localizable</xse:howtoRef>
|
|
||||||
</xs:appinfo>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType mixed="true">
|
|
||||||
<xs:attribute name="Id" type="xs:string" use="required">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Identity of the resource.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Overridable" type="LocalizationYesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Determines if the localized string may be overridden.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Localizable" type="LocalizationYesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Indicates whether the string is localizable text or a non-localizable string that must be unique per locale. No WiX tools are affected by the value of this attribute; it used as documentation for localizers to ignore things like GUIDs or identifiers that look like text.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="UI">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Allows a localization to override the position, size, and text of dialogs and controls. Override the text by specifying the replacement text in the inner text of the UI element.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:complexType mixed="true">
|
|
||||||
<xs:attribute name="Dialog" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Identifies the dialog to localize or the dialog that a control to localize is in.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Control" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Combined with the Dialog attribute, identifies the control to localize.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="X" type="xs:integer">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>For a dialog, overrides the authored horizontal centering. For a control, overrides the authored horizontal coordinate of the upper-left corner of the rectangular boundary. This must be a non-negative number.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Y" type="xs:integer">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>For a dialog, overrides the authored vertical centering. For a control, overrides the authored vertical coordinate of the upper-left corner of the rectangular boundary of the control. This must be a non-negative number.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Width" type="xs:integer">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>For a dialog, overrides the authored width in dialog units. For a control, overrides the authored width of the rectangular boundary of the control. This must be a non-negative number.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="Height" type="xs:integer">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>For a dialog, overrides the authored height in dialog units. For a control, overrides the authored height of the rectangular boundary of the control. This must be a non-negative number.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="RightToLeft" type="LocalizationYesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Set this attribute to "yes" to cause the Control to display from right to left. Not valid for a dialog.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="RightAligned" type="LocalizationYesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Set this attribute to "yes" to cause the Control to be right aligned. Not valid for a dialog.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="LeftScroll" type="LocalizationYesNoType">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>Set this attribute to "yes" to cause the scroll bar to display on the left side of the Control. Not valid for a dialog.</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:simpleType name="LocalizationYesNoType">
|
|
||||||
<xs:restriction base="xs:NMTOKEN">
|
|
||||||
<xs:enumeration value="no" />
|
|
||||||
<xs:enumeration value="yes" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:schema>
|
|
Binary file not shown.
|
@ -1,18 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
<copyright file="app.config" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<configuration>
|
|
||||||
<appSettings>
|
|
||||||
<add key="extensions" value="WixIIsExtension;WixUtilExtension;WixVSExtension"/>
|
|
||||||
</appSettings>
|
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
||||||
<supportedRuntime version="v4.0" />
|
|
||||||
<supportedRuntime version="v2.0.50727" />
|
|
||||||
</startup>
|
|
||||||
</configuration>
|
|
Binary file not shown.
|
@ -1,15 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
<copyright file="app.config" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<configuration>
|
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
||||||
<supportedRuntime version="v4.0" />
|
|
||||||
<supportedRuntime version="v2.0.50727" />
|
|
||||||
</startup>
|
|
||||||
</configuration>
|
|
Binary file not shown.
|
@ -1,15 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
<copyright file="app.config" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<configuration>
|
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
||||||
<supportedRuntime version="v4.0" />
|
|
||||||
<supportedRuntime version="v2.0.50727" />
|
|
||||||
</startup>
|
|
||||||
</configuration>
|
|
Binary file not shown.
|
@ -1,15 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
<copyright file="app.config" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<configuration>
|
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
||||||
<supportedRuntime version="v4.0" />
|
|
||||||
<supportedRuntime version="v2.0.50727" />
|
|
||||||
</startup>
|
|
||||||
</configuration>
|
|
Binary file not shown.
|
@ -1,17 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
<copyright file="app.config" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<configuration>
|
|
||||||
<appSettings>
|
|
||||||
</appSettings>
|
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
||||||
<supportedRuntime version="v4.0" />
|
|
||||||
<supportedRuntime version="v2.0.50727" />
|
|
||||||
</startup>
|
|
||||||
</configuration>
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,15 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
<copyright file="app.config" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<configuration>
|
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
||||||
<supportedRuntime version="v4.0" />
|
|
||||||
<supportedRuntime version="v2.0.50727" />
|
|
||||||
</startup>
|
|
||||||
</configuration>
|
|
Binary file not shown.
|
@ -1,17 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
<copyright file="app.config" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<configuration>
|
|
||||||
<appSettings>
|
|
||||||
</appSettings>
|
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
||||||
<supportedRuntime version="v4.0" />
|
|
||||||
<supportedRuntime version="v2.0.50727" />
|
|
||||||
</startup>
|
|
||||||
</configuration>
|
|
|
@ -1,31 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
<copyright file="BootstrapperCore.config" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<configuration>
|
|
||||||
<configSections>
|
|
||||||
<sectionGroup name="wix.bootstrapper" type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperSectionGroup, BootstrapperCore">
|
|
||||||
<section name="host" type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.HostSection, BootstrapperCore" />
|
|
||||||
</sectionGroup>
|
|
||||||
</configSections>
|
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
||||||
<supportedRuntime version="v4.0" />
|
|
||||||
<supportedRuntime version="v2.0.50727" />
|
|
||||||
</startup>
|
|
||||||
<wix.bootstrapper>
|
|
||||||
<!-- Example only. Use only if the startup/supportedRuntime above cannot discern supported frameworks. -->
|
|
||||||
<!--
|
|
||||||
<supportedFramework version="v4\Client" />
|
|
||||||
<supportedFramework version="v3.5" />
|
|
||||||
<supportedFramework version="v3.0" />
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Example only. Replace the host/@assemblyName attribute with assembly that implements BootstrapperApplication. -->
|
|
||||||
<host assemblyName="AssemblyWithClassThatInheritsFromBootstrapperApplication" />
|
|
||||||
</wix.bootstrapper>
|
|
||||||
</configuration>
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,15 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!--
|
|
||||||
<copyright file="app.config" company="Outercurve Foundation">
|
|
||||||
Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
The license and further copyright text can be found in the file
|
|
||||||
LICENSE.TXT at the root directory of the distribution.
|
|
||||||
</copyright>
|
|
||||||
-->
|
|
||||||
<configuration>
|
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
||||||
<supportedRuntime version="v4.0" />
|
|
||||||
<supportedRuntime version="v2.0.50727" />
|
|
||||||
</startup>
|
|
||||||
</configuration>
|
|
Binary file not shown.
|
@ -1,465 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<doc>
|
|
||||||
<assembly>
|
|
||||||
<name>Microsoft.Deployment.Compression.Cab</name>
|
|
||||||
</assembly>
|
|
||||||
<members>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabWorker.Dispose(System.Boolean)">
|
|
||||||
<summary>
|
|
||||||
Disposes of resources allocated by the cabinet engine.
|
|
||||||
</summary>
|
|
||||||
<param name="disposing">If true, the method has been called directly or indirectly by a user's code,
|
|
||||||
so managed and unmanaged resources will be disposed. If false, the method has been called by the
|
|
||||||
runtime from inside the finalizer, and only unmanaged resources will be disposed.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabPacker.Dispose(System.Boolean)">
|
|
||||||
<summary>
|
|
||||||
Disposes of resources allocated by the cabinet engine.
|
|
||||||
</summary>
|
|
||||||
<param name="disposing">If true, the method has been called directly or indirectly by a user's code,
|
|
||||||
so managed and unmanaged resources will be disposed. If false, the method has been called by the
|
|
||||||
runtime from inside the finalizer, and only unmanaged resources will be disposed.</param>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.CabEngine">
|
|
||||||
<summary>
|
|
||||||
Engine capable of packing and unpacking archives in the cabinet format.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabEngine.#ctor">
|
|
||||||
<summary>
|
|
||||||
Creates a new instance of the cabinet engine.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabEngine.Dispose(System.Boolean)">
|
|
||||||
<summary>
|
|
||||||
Disposes of resources allocated by the cabinet engine.
|
|
||||||
</summary>
|
|
||||||
<param name="disposing">If true, the method has been called directly
|
|
||||||
or indirectly by a user's code, so managed and unmanaged resources
|
|
||||||
will be disposed. If false, the method has been called by the runtime
|
|
||||||
from inside the finalizer, and only unmanaged resources will be
|
|
||||||
disposed.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabEngine.Pack(Microsoft.Deployment.Compression.IPackStreamContext,System.Collections.Generic.IEnumerable{System.String},System.Int64)">
|
|
||||||
<summary>
|
|
||||||
Creates a cabinet or chain of cabinets.
|
|
||||||
</summary>
|
|
||||||
<param name="streamContext">A context interface to handle opening
|
|
||||||
and closing of cabinet and file streams.</param>
|
|
||||||
<param name="files">The paths of the files in the archive (not
|
|
||||||
external file paths).</param>
|
|
||||||
<param name="maxArchiveSize">The maximum number of bytes for one
|
|
||||||
cabinet before the contents are chained to the next cabinet, or zero
|
|
||||||
for unlimited cabinet size.</param>
|
|
||||||
<exception cref="T:Microsoft.Deployment.Compression.ArchiveException">The cabinet could not be
|
|
||||||
created.</exception>
|
|
||||||
<remarks>
|
|
||||||
The stream context implementation may provide a mapping from the
|
|
||||||
file paths within the cabinet to the external file paths.
|
|
||||||
<para>Smaller folder sizes can make it more efficient to extract
|
|
||||||
individual files out of large cabinet packages.</para>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabEngine.IsArchive(System.IO.Stream)">
|
|
||||||
<summary>
|
|
||||||
Checks whether a Stream begins with a header that indicates
|
|
||||||
it is a valid cabinet file.
|
|
||||||
</summary>
|
|
||||||
<param name="stream">Stream for reading the cabinet file.</param>
|
|
||||||
<returns>True if the stream is a valid cabinet file
|
|
||||||
(with no offset); false otherwise.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabEngine.GetFileInfo(Microsoft.Deployment.Compression.IUnpackStreamContext,System.Predicate{System.String})">
|
|
||||||
<summary>
|
|
||||||
Gets information about files in a cabinet or cabinet chain.
|
|
||||||
</summary>
|
|
||||||
<param name="streamContext">A context interface to handle opening
|
|
||||||
and closing of cabinet and file streams.</param>
|
|
||||||
<param name="fileFilter">A predicate that can determine
|
|
||||||
which files to process, optional.</param>
|
|
||||||
<returns>Information about files in the cabinet stream.</returns>
|
|
||||||
<exception cref="T:Microsoft.Deployment.Compression.ArchiveException">The cabinet provided
|
|
||||||
by the stream context is not valid.</exception>
|
|
||||||
<remarks>
|
|
||||||
The <paramref name="fileFilter"/> predicate takes an internal file
|
|
||||||
path and returns true to include the file or false to exclude it.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabEngine.Unpack(Microsoft.Deployment.Compression.IUnpackStreamContext,System.Predicate{System.String})">
|
|
||||||
<summary>
|
|
||||||
Extracts files from a cabinet or cabinet chain.
|
|
||||||
</summary>
|
|
||||||
<param name="streamContext">A context interface to handle opening
|
|
||||||
and closing of cabinet and file streams.</param>
|
|
||||||
<param name="fileFilter">An optional predicate that can determine
|
|
||||||
which files to process.</param>
|
|
||||||
<exception cref="T:Microsoft.Deployment.Compression.ArchiveException">The cabinet provided
|
|
||||||
by the stream context is not valid.</exception>
|
|
||||||
<remarks>
|
|
||||||
The <paramref name="fileFilter"/> predicate takes an internal file
|
|
||||||
path and returns true to include the file or false to exclude it.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.CabException">
|
|
||||||
<summary>
|
|
||||||
Exception class for cabinet operations.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabException.#ctor(System.String,System.Exception)">
|
|
||||||
<summary>
|
|
||||||
Creates a new CabException with a specified error message and a reference to the
|
|
||||||
inner exception that is the cause of this exception.
|
|
||||||
</summary>
|
|
||||||
<param name="message">The message that describes the error.</param>
|
|
||||||
<param name="innerException">The exception that is the cause of the current exception. If the
|
|
||||||
innerException parameter is not a null reference (Nothing in Visual Basic), the current exception
|
|
||||||
is raised in a catch block that handles the inner exception.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabException.#ctor(System.String)">
|
|
||||||
<summary>
|
|
||||||
Creates a new CabException with a specified error message.
|
|
||||||
</summary>
|
|
||||||
<param name="message">The message that describes the error.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabException.#ctor">
|
|
||||||
<summary>
|
|
||||||
Creates a new CabException.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|
||||||
<summary>
|
|
||||||
Initializes a new instance of the CabException class with serialized data.
|
|
||||||
</summary>
|
|
||||||
<param name="info">The SerializationInfo that holds the serialized object data about the exception being thrown.</param>
|
|
||||||
<param name="context">The StreamingContext that contains contextual information about the source or destination.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|
||||||
<summary>
|
|
||||||
Sets the SerializationInfo with information about the exception.
|
|
||||||
</summary>
|
|
||||||
<param name="info">The SerializationInfo that holds the serialized object data about the exception being thrown.</param>
|
|
||||||
<param name="context">The StreamingContext that contains contextual information about the source or destination.</param>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Cab.CabException.Error">
|
|
||||||
<summary>
|
|
||||||
Gets the FCI or FDI cabinet engine error number.
|
|
||||||
</summary>
|
|
||||||
<value>A cabinet engine error number, or 0 if the exception was
|
|
||||||
not related to a cabinet engine error number.</value>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Cab.CabException.ErrorCode">
|
|
||||||
<summary>
|
|
||||||
Gets the Win32 error code.
|
|
||||||
</summary>
|
|
||||||
<value>A Win32 error code, or 0 if the exception was
|
|
||||||
not related to a Win32 error.</value>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabUnpacker.Dispose(System.Boolean)">
|
|
||||||
<summary>
|
|
||||||
Disposes of resources allocated by the cabinet engine.
|
|
||||||
</summary>
|
|
||||||
<param name="disposing">If true, the method has been called directly or indirectly by a user's code,
|
|
||||||
so managed and unmanaged resources will be disposed. If false, the method has been called by the
|
|
||||||
runtime from inside the finalizer, and only unmanaged resources will be disposed.</param>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.CabFileInfo">
|
|
||||||
<summary>
|
|
||||||
Object representing a compressed file within a cabinet package; provides operations for getting
|
|
||||||
the file properties and extracting the file.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabFileInfo.#ctor(Microsoft.Deployment.Compression.Cab.CabInfo,System.String)">
|
|
||||||
<summary>
|
|
||||||
Creates a new CabinetFileInfo object representing a file within a cabinet in a specified path.
|
|
||||||
</summary>
|
|
||||||
<param name="cabinetInfo">An object representing the cabinet containing the file.</param>
|
|
||||||
<param name="filePath">The path to the file within the cabinet. Usually, this is a simple file
|
|
||||||
name, but if the cabinet contains a directory structure this may include the directory.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabFileInfo.#ctor(System.String,System.Int32,System.Int32,System.IO.FileAttributes,System.DateTime,System.Int64)">
|
|
||||||
<summary>
|
|
||||||
Creates a new CabinetFileInfo object with all parameters specified,
|
|
||||||
used internally when reading the metadata out of a cab.
|
|
||||||
</summary>
|
|
||||||
<param name="filePath">The internal path and name of the file in the cab.</param>
|
|
||||||
<param name="cabFolder">The folder number containing the file.</param>
|
|
||||||
<param name="cabNumber">The cabinet number where the file starts.</param>
|
|
||||||
<param name="attributes">The stored attributes of the file.</param>
|
|
||||||
<param name="lastWriteTime">The stored last write time of the file.</param>
|
|
||||||
<param name="length">The uncompressed size of the file.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabFileInfo.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|
||||||
<summary>
|
|
||||||
Initializes a new instance of the CabinetFileInfo class with serialized data.
|
|
||||||
</summary>
|
|
||||||
<param name="info">The SerializationInfo that holds the serialized object data about the exception being thrown.</param>
|
|
||||||
<param name="context">The StreamingContext that contains contextual information about the source or destination.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabFileInfo.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|
||||||
<summary>
|
|
||||||
Sets the SerializationInfo with information about the archive.
|
|
||||||
</summary>
|
|
||||||
<param name="info">The SerializationInfo that holds the serialized object data.</param>
|
|
||||||
<param name="context">The StreamingContext that contains contextual information
|
|
||||||
about the source or destination.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabFileInfo.Refresh(Microsoft.Deployment.Compression.ArchiveFileInfo)">
|
|
||||||
<summary>
|
|
||||||
Refreshes the information in this object with new data retrieved
|
|
||||||
from an archive.
|
|
||||||
</summary>
|
|
||||||
<param name="newFileInfo">Fresh instance for the same file just
|
|
||||||
read from the archive.</param>
|
|
||||||
<remarks>
|
|
||||||
This implementation refreshes the <see cref="P:Microsoft.Deployment.Compression.Cab.CabFileInfo.CabinetFolderNumber"/>.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Cab.CabFileInfo.Cabinet">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the cabinet that contains this file.
|
|
||||||
</summary>
|
|
||||||
<value>
|
|
||||||
The CabinetInfo instance that retrieved this file information -- this
|
|
||||||
may be null if the CabinetFileInfo object was returned directly from a
|
|
||||||
stream.
|
|
||||||
</value>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Cab.CabFileInfo.CabinetName">
|
|
||||||
<summary>
|
|
||||||
Gets the full path of the cabinet that contains this file.
|
|
||||||
</summary>
|
|
||||||
<value>The full path of the cabinet that contains this file.</value>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Cab.CabFileInfo.CabinetFolderNumber">
|
|
||||||
<summary>
|
|
||||||
Gets the number of the folder containing this file.
|
|
||||||
</summary>
|
|
||||||
<value>The number of the cabinet folder containing this file.</value>
|
|
||||||
<remarks>A single folder or the first folder of a cabinet
|
|
||||||
(or chain of cabinets) is numbered 0.</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.CabInfo">
|
|
||||||
<summary>
|
|
||||||
Object representing a cabinet file on disk; provides access to
|
|
||||||
file-based operations on the cabinet file.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
Generally, the methods on this class are much easier to use than the
|
|
||||||
stream-based interfaces provided by the <see cref="T:Microsoft.Deployment.Compression.Cab.CabEngine"/> class.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabInfo.#ctor(System.String)">
|
|
||||||
<summary>
|
|
||||||
Creates a new CabinetInfo object representing a cabinet file in a specified path.
|
|
||||||
</summary>
|
|
||||||
<param name="path">The path to the cabinet file. When creating a cabinet file, this file does not
|
|
||||||
necessarily exist yet.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabInfo.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|
||||||
<summary>
|
|
||||||
Initializes a new instance of the CabinetInfo class with serialized data.
|
|
||||||
</summary>
|
|
||||||
<param name="info">The SerializationInfo that holds the serialized object data about the exception being thrown.</param>
|
|
||||||
<param name="context">The StreamingContext that contains contextual information about the source or destination.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabInfo.CreateCompressionEngine">
|
|
||||||
<summary>
|
|
||||||
Creates a compression engine that does the low-level work for
|
|
||||||
this object.
|
|
||||||
</summary>
|
|
||||||
<returns>A new <see cref="T:Microsoft.Deployment.Compression.Cab.CabEngine"/> instance.</returns>
|
|
||||||
<remarks>
|
|
||||||
Each instance will be <see cref="M:Microsoft.Deployment.Compression.CompressionEngine.Dispose"/>d
|
|
||||||
immediately after use.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabInfo.GetFiles">
|
|
||||||
<summary>
|
|
||||||
Gets information about the files contained in the archive.
|
|
||||||
</summary>
|
|
||||||
<returns>A list of <see cref="T:Microsoft.Deployment.Compression.Cab.CabFileInfo"/> objects, each
|
|
||||||
containing information about a file in the archive.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.CabInfo.GetFiles(System.String)">
|
|
||||||
<summary>
|
|
||||||
Gets information about the certain files contained in the archive file.
|
|
||||||
</summary>
|
|
||||||
<param name="searchPattern">The search string, such as
|
|
||||||
"*.txt".</param>
|
|
||||||
<returns>A list of <see cref="T:Microsoft.Deployment.Compression.Cab.CabFileInfo"/> objects, each containing
|
|
||||||
information about a file in the archive.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.HandleManager`1">
|
|
||||||
<summary>
|
|
||||||
Generic class for managing allocations of integer handles
|
|
||||||
for objects of a certain type.
|
|
||||||
</summary>
|
|
||||||
<typeparam name="T">The type of objects the handles refer to.</typeparam>
|
|
||||||
</member>
|
|
||||||
<member name="F:Microsoft.Deployment.Compression.Cab.HandleManager`1.handles">
|
|
||||||
<summary>
|
|
||||||
Auto-resizing list of objects for which handles have been allocated.
|
|
||||||
Each handle is just an index into this list. When a handle is freed,
|
|
||||||
the list item at that index is set to null.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.HandleManager`1.#ctor">
|
|
||||||
<summary>
|
|
||||||
Creates a new HandleManager instance.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.HandleManager`1.AllocHandle(`0)">
|
|
||||||
<summary>
|
|
||||||
Allocates a new handle for an object.
|
|
||||||
</summary>
|
|
||||||
<param name="obj">Object that the handle will refer to.</param>
|
|
||||||
<returns>New handle that can be later used to retrieve the object.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.HandleManager`1.FreeHandle(System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Frees a handle that was previously allocated. Afterward the handle
|
|
||||||
will be invalid and the object it referred to can no longer retrieved.
|
|
||||||
</summary>
|
|
||||||
<param name="handle">Handle to be freed.</param>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Cab.HandleManager`1.Item(System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Gets the object of a handle, or null if the handle is invalid.
|
|
||||||
</summary>
|
|
||||||
<param name="handle">The integer handle previously allocated
|
|
||||||
for the desired object.</param>
|
|
||||||
<returns>The object for which the handle was allocated.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.NativeMethods">
|
|
||||||
<summary>
|
|
||||||
Native DllImport methods and related structures and constants used for
|
|
||||||
cabinet creation and extraction via cabinet.dll.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.NativeMethods.FCI">
|
|
||||||
<summary>
|
|
||||||
A direct import of constants, enums, structures, delegates, and functions from fci.h.
|
|
||||||
Refer to comments in fci.h for documentation.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.NativeMethods.FCI.ERROR">
|
|
||||||
<summary>
|
|
||||||
Error codes that can be returned by FCI.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.NativeMethods.FCI.TCOMP">
|
|
||||||
<summary>
|
|
||||||
FCI compression algorithm types and parameters.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.NativeMethods.FCI.STATUS">
|
|
||||||
<summary>
|
|
||||||
Reason for FCI status callback.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.NativeMethods.FCI.CCAB">
|
|
||||||
<summary>
|
|
||||||
Cabinet information structure used for FCI initialization and GetNextCabinet callback.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.NativeMethods.FCI.Handle">
|
|
||||||
<summary>
|
|
||||||
Ensures that the FCI handle is safely released.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.NativeMethods.FCI.Handle.#ctor">
|
|
||||||
<summary>
|
|
||||||
Creates a new unintialized handle. The handle will be initialized
|
|
||||||
when it is marshalled back from native code.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.NativeMethods.FCI.Handle.ReleaseHandle">
|
|
||||||
<summary>
|
|
||||||
Releases the handle by calling FDIDestroy().
|
|
||||||
</summary>
|
|
||||||
<returns>True if the release succeeded.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Cab.NativeMethods.FCI.Handle.IsInvalid">
|
|
||||||
<summary>
|
|
||||||
Checks if the handle is invalid. An FCI handle is invalid when it is zero.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.NativeMethods.FDI">
|
|
||||||
<summary>
|
|
||||||
A direct import of constants, enums, structures, delegates, and functions from fdi.h.
|
|
||||||
Refer to comments in fdi.h for documentation.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.NativeMethods.FDI.ERROR">
|
|
||||||
<summary>
|
|
||||||
Error codes that can be returned by FDI.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.NativeMethods.FDI.NOTIFICATIONTYPE">
|
|
||||||
<summary>
|
|
||||||
Type of notification message for the FDI Notify callback.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.NativeMethods.FDI.CABINFO">
|
|
||||||
<summary>
|
|
||||||
Cabinet information structure filled in by FDI IsCabinet.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.NativeMethods.FDI.NOTIFICATION">
|
|
||||||
<summary>
|
|
||||||
Cabinet notification details passed to the FDI Notify callback.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.NativeMethods.FDI.Handle">
|
|
||||||
<summary>
|
|
||||||
Ensures that the FDI handle is safely released.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.NativeMethods.FDI.Handle.#ctor">
|
|
||||||
<summary>
|
|
||||||
Creates a new unintialized handle. The handle will be initialized
|
|
||||||
when it is marshalled back from native code.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.NativeMethods.FDI.Handle.ReleaseHandle">
|
|
||||||
<summary>
|
|
||||||
Releases the handle by calling FDIDestroy().
|
|
||||||
</summary>
|
|
||||||
<returns>True if the release succeeded.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Cab.NativeMethods.FDI.Handle.IsInvalid">
|
|
||||||
<summary>
|
|
||||||
Checks if the handle is invalid. An FDI handle is invalid when it is zero.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Cab.NativeMethods.ERF">
|
|
||||||
<summary>
|
|
||||||
Error info structure for FCI and FDI.
|
|
||||||
</summary>
|
|
||||||
<remarks>Before being passed to FCI or FDI, this structure is
|
|
||||||
pinned in memory via a GCHandle. The pinning is necessary
|
|
||||||
to be able to read the results, since the ERF structure doesn't
|
|
||||||
get marshalled back out after an error.</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Cab.NativeMethods.ERF.Clear">
|
|
||||||
<summary>
|
|
||||||
Clears the error information.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Cab.NativeMethods.ERF.Oper">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the cabinet error code.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Cab.NativeMethods.ERF.Type">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the Win32 error code.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Cab.NativeMethods.ERF.Error">
|
|
||||||
<summary>
|
|
||||||
GCHandle doesn't like the bool type, so use an int underneath.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
</members>
|
|
||||||
</doc>
|
|
Binary file not shown.
|
@ -1,522 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<doc>
|
|
||||||
<assembly>
|
|
||||||
<name>Microsoft.Deployment.Compression.Zip</name>
|
|
||||||
</assembly>
|
|
||||||
<members>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Zip.ConcatStream">
|
|
||||||
<summary>
|
|
||||||
Used to trick a DeflateStream into reading from or writing to
|
|
||||||
a series of (chunked) streams instead of a single steream.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Zip.CrcStream">
|
|
||||||
<summary>
|
|
||||||
Wraps a source stream and calcaluates a CRC over all bytes that are read or written.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
The CRC algorithm matches that used in the standard ZIP file format.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.CrcStream.#ctor(System.IO.Stream)">
|
|
||||||
<summary>
|
|
||||||
Creates a new CrcStream instance from a source stream.
|
|
||||||
</summary>
|
|
||||||
<param name="source">Underlying stream where bytes will be read from or written to.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.CrcStream.Seek(System.Int64,System.IO.SeekOrigin)">
|
|
||||||
<summary>
|
|
||||||
Sets the position within the source stream.
|
|
||||||
</summary>
|
|
||||||
<param name="offset">A byte offset relative to the origin parameter.</param>
|
|
||||||
<param name="origin">A value of type SeekOrigin indicating
|
|
||||||
the reference point used to obtain the new position.</param>
|
|
||||||
<returns>The new position within the source stream.</returns>
|
|
||||||
<remarks>
|
|
||||||
Note the CRC is only calculated over bytes that are actually read or
|
|
||||||
written, so any bytes skipped by seeking will not contribute to the CRC.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.CrcStream.SetLength(System.Int64)">
|
|
||||||
<summary>
|
|
||||||
Sets the length of the source stream.
|
|
||||||
</summary>
|
|
||||||
<param name="value">The desired length of the
|
|
||||||
stream in bytes.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.CrcStream.Read(System.Byte[],System.Int32,System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Reads a sequence of bytes from the source stream and advances
|
|
||||||
the position within the stream by the number of bytes read.
|
|
||||||
</summary>
|
|
||||||
<param name="buffer">An array of bytes. When this method returns, the buffer
|
|
||||||
contains the specified byte array with the values between offset and
|
|
||||||
(offset + count - 1) replaced by the bytes read from the current source.</param>
|
|
||||||
<param name="offset">The zero-based byte offset in buffer at which to begin
|
|
||||||
storing the data read from the current stream.</param>
|
|
||||||
<param name="count">The maximum number of bytes to be read from the current stream.</param>
|
|
||||||
<returns>The total number of bytes read into the buffer. This can be less
|
|
||||||
than the number of bytes requested if that many bytes are not currently available,
|
|
||||||
or zero (0) if the end of the stream has been reached.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.CrcStream.Write(System.Byte[],System.Int32,System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Writes a sequence of bytes to the source stream and advances the
|
|
||||||
current position within this stream by the number of bytes written.
|
|
||||||
</summary>
|
|
||||||
<param name="buffer">An array of bytes. This method copies count
|
|
||||||
bytes from buffer to the current stream.</param>
|
|
||||||
<param name="offset">The zero-based byte offset in buffer at which
|
|
||||||
to begin copying bytes to the current stream.</param>
|
|
||||||
<param name="count">The number of bytes to be written to the
|
|
||||||
current stream.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.CrcStream.Flush">
|
|
||||||
<summary>
|
|
||||||
Flushes the source stream.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.CrcStream.Close">
|
|
||||||
<summary>
|
|
||||||
Closes the underlying stream.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.CrcStream.UpdateCrc(System.Byte[],System.Int32,System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Updates the CRC with a range of bytes that were read or written.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.CrcStream.MakeCrcTable">
|
|
||||||
<summary>
|
|
||||||
Computes a table that speeds up calculation of the CRC.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.CrcStream.Reflect(System.UInt32,System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Reflects the ordering of certain number of bits. For exmample when reflecting
|
|
||||||
one byte, bit one is swapped with bit eight, bit two with bit seven, etc.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Zip.CrcStream.Crc">
|
|
||||||
<summary>
|
|
||||||
Gets the current CRC over all bytes that have been read or written
|
|
||||||
since this instance was created.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Zip.CrcStream.Source">
|
|
||||||
<summary>
|
|
||||||
Gets the underlying stream that this stream reads from or writes to.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Zip.CrcStream.CanRead">
|
|
||||||
<summary>
|
|
||||||
Gets a value indicating whether the source stream supports reading.
|
|
||||||
</summary>
|
|
||||||
<value>true if the stream supports reading; otherwise, false.</value>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Zip.CrcStream.CanWrite">
|
|
||||||
<summary>
|
|
||||||
Gets a value indicating whether the source stream supports writing.
|
|
||||||
</summary>
|
|
||||||
<value>true if the stream supports writing; otherwise, false.</value>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Zip.CrcStream.CanSeek">
|
|
||||||
<summary>
|
|
||||||
Gets a value indicating whether the source stream supports seeking.
|
|
||||||
</summary>
|
|
||||||
<value>true if the stream supports seeking; otherwise, false.</value>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Zip.CrcStream.Length">
|
|
||||||
<summary>
|
|
||||||
Gets the length of the source stream.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Zip.CrcStream.Position">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the position of the source stream.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Zip.ZipCompressionMethod">
|
|
||||||
<summary>
|
|
||||||
Identifies the compression method or "algorithm"
|
|
||||||
used for a single file within a zip archive.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
Proprietary zip implementations may define additional compression
|
|
||||||
methods outside of those included here.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="F:Microsoft.Deployment.Compression.Zip.ZipCompressionMethod.Store">
|
|
||||||
<summary>
|
|
||||||
The file is stored (no compression)
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:Microsoft.Deployment.Compression.Zip.ZipCompressionMethod.Shrink">
|
|
||||||
<summary>
|
|
||||||
The file is Shrunk
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:Microsoft.Deployment.Compression.Zip.ZipCompressionMethod.Reduce1">
|
|
||||||
<summary>
|
|
||||||
The file is Reduced with compression factor 1
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:Microsoft.Deployment.Compression.Zip.ZipCompressionMethod.Reduce2">
|
|
||||||
<summary>
|
|
||||||
The file is Reduced with compression factor 2
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:Microsoft.Deployment.Compression.Zip.ZipCompressionMethod.Reduce3">
|
|
||||||
<summary>
|
|
||||||
The file is Reduced with compression factor 3
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:Microsoft.Deployment.Compression.Zip.ZipCompressionMethod.Reduce4">
|
|
||||||
<summary>
|
|
||||||
The file is Reduced with compression factor 4
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:Microsoft.Deployment.Compression.Zip.ZipCompressionMethod.Implode">
|
|
||||||
<summary>
|
|
||||||
The file is Imploded
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:Microsoft.Deployment.Compression.Zip.ZipCompressionMethod.Deflate">
|
|
||||||
<summary>
|
|
||||||
The file is Deflated;
|
|
||||||
the most common and widely-compatible form of zip compression.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:Microsoft.Deployment.Compression.Zip.ZipCompressionMethod.Deflate64">
|
|
||||||
<summary>
|
|
||||||
The file is Deflated using the enhanced Deflate64 method.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:Microsoft.Deployment.Compression.Zip.ZipCompressionMethod.BZip2">
|
|
||||||
<summary>
|
|
||||||
The file is compressed using the BZIP2 algorithm.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:Microsoft.Deployment.Compression.Zip.ZipCompressionMethod.Lzma">
|
|
||||||
<summary>
|
|
||||||
The file is compressed using the LZMA algorithm.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="F:Microsoft.Deployment.Compression.Zip.ZipCompressionMethod.Ppmd">
|
|
||||||
<summary>
|
|
||||||
The file is compressed using the PPMd algorithm.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Zip.ZipException">
|
|
||||||
<summary>
|
|
||||||
Exception class for zip operations.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipException.#ctor(System.String,System.Exception)">
|
|
||||||
<summary>
|
|
||||||
Creates a new ZipException with a specified error message and a reference to the
|
|
||||||
inner exception that is the cause of this exception.
|
|
||||||
</summary>
|
|
||||||
<param name="message">The message that describes the error.</param>
|
|
||||||
<param name="innerException">The exception that is the cause of the current exception. If the
|
|
||||||
innerException parameter is not a null reference (Nothing in Visual Basic), the current exception
|
|
||||||
is raised in a catch block that handles the inner exception.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipException.#ctor(System.String)">
|
|
||||||
<summary>
|
|
||||||
Creates a new ZipException with a specified error message.
|
|
||||||
</summary>
|
|
||||||
<param name="message">The message that describes the error.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipException.#ctor">
|
|
||||||
<summary>
|
|
||||||
Creates a new ZipException.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|
||||||
<summary>
|
|
||||||
Initializes a new instance of the ZipException class with serialized data.
|
|
||||||
</summary>
|
|
||||||
<param name="info">The SerializationInfo that holds the serialized object data about the exception being thrown.</param>
|
|
||||||
<param name="context">The StreamingContext that contains contextual information about the source or destination.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|
||||||
<summary>
|
|
||||||
Sets the SerializationInfo with information about the exception.
|
|
||||||
</summary>
|
|
||||||
<param name="info">The SerializationInfo that holds the serialized object data about the exception being thrown.</param>
|
|
||||||
<param name="context">The StreamingContext that contains contextual information about the source or destination.</param>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Zip.ZipEngine">
|
|
||||||
<summary>
|
|
||||||
Engine capable of packing and unpacking archives in the zip format.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.RegisterCompressionStreamCreator(Microsoft.Deployment.Compression.Zip.ZipCompressionMethod,System.IO.Compression.CompressionMode,System.Converter{System.IO.Stream,System.IO.Stream})">
|
|
||||||
<summary>
|
|
||||||
Registers a delegate that can create a warpper stream for
|
|
||||||
compressing or uncompressing the data of a source stream.
|
|
||||||
</summary>
|
|
||||||
<param name="compressionMethod">Compression method being registered.</param>
|
|
||||||
<param name="compressionMode">Indicates registration for ether
|
|
||||||
compress or decompress mode.</param>
|
|
||||||
<param name="creator">Delegate being registered.</param>
|
|
||||||
<remarks>
|
|
||||||
For compression, the delegate accepts a stream that writes to the archive
|
|
||||||
and returns a wrapper stream that compresses bytes as they are written.
|
|
||||||
For decompression, the delegate accepts a stream that reads from the archive
|
|
||||||
and returns a wrapper stream that decompresses bytes as they are read.
|
|
||||||
This wrapper stream model follows the design used by
|
|
||||||
System.IO.Compression.DeflateStream, and indeed that class is used
|
|
||||||
to implement the Deflate compression method by default.
|
|
||||||
<para>To unregister a delegate, call this method again and pass
|
|
||||||
null for the delegate parameter.</para>
|
|
||||||
</remarks>
|
|
||||||
<example>
|
|
||||||
When the ZipEngine class is initialized, the Deflate compression method
|
|
||||||
is automatically registered like this:
|
|
||||||
<code>
|
|
||||||
ZipEngine.RegisterCompressionStreamCreator(
|
|
||||||
ZipCompressionMethod.Deflate,
|
|
||||||
CompressionMode.Compress,
|
|
||||||
delegate(Stream stream) {
|
|
||||||
return new DeflateStream(stream, CompressionMode.Compress, true);
|
|
||||||
});
|
|
||||||
ZipEngine.RegisterCompressionStreamCreator(
|
|
||||||
ZipCompressionMethod.Deflate,
|
|
||||||
CompressionMode.Decompress,
|
|
||||||
delegate(Stream stream) {
|
|
||||||
return new DeflateStream(stream, CompressionMode.Decompress, true);
|
|
||||||
});
|
|
||||||
</code></example>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.#ctor">
|
|
||||||
<summary>
|
|
||||||
Creates a new instance of the zip engine.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.IsArchive(System.IO.Stream)">
|
|
||||||
<summary>
|
|
||||||
Checks whether a Stream begins with a header that indicates
|
|
||||||
it is a valid archive file.
|
|
||||||
</summary>
|
|
||||||
<param name="stream">Stream for reading the archive file.</param>
|
|
||||||
<returns>True if the stream is a valid zip archive
|
|
||||||
(with no offset); false otherwise.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.FindArchiveOffset(System.IO.Stream)">
|
|
||||||
<summary>
|
|
||||||
Gets the offset of an archive that is positioned 0 or more bytes
|
|
||||||
from the start of the Stream.
|
|
||||||
</summary>
|
|
||||||
<param name="stream">A stream for reading the archive.</param>
|
|
||||||
<returns>The offset in bytes of the archive,
|
|
||||||
or -1 if no archive is found in the Stream.</returns>
|
|
||||||
<remarks>The archive must begin on a 4-byte boundary.</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.GetFileInfo(Microsoft.Deployment.Compression.IUnpackStreamContext,System.Predicate{System.String})">
|
|
||||||
<summary>
|
|
||||||
Gets information about files in a zip archive or archive chain.
|
|
||||||
</summary>
|
|
||||||
<param name="streamContext">A context interface to handle opening
|
|
||||||
and closing of archive and file streams.</param>
|
|
||||||
<param name="fileFilter">A predicate that can determine
|
|
||||||
which files to process, optional.</param>
|
|
||||||
<returns>Information about files in the archive stream.</returns>
|
|
||||||
<exception cref="T:Microsoft.Deployment.Compression.ArchiveException">The archive provided
|
|
||||||
by the stream context is not valid.</exception>
|
|
||||||
<remarks>
|
|
||||||
The <paramref name="fileFilter"/> predicate takes an internal file
|
|
||||||
path and returns true to include the file or false to exclude it.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.GetCentralDirectory(Microsoft.Deployment.Compression.IUnpackStreamContext)">
|
|
||||||
<summary>
|
|
||||||
Reads all the file headers from the central directory in the main archive.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.GetEOCD(Microsoft.Deployment.Compression.IUnpackStreamContext,System.IO.Stream)">
|
|
||||||
<summary>
|
|
||||||
Locates and reads the end of central directory record near the
|
|
||||||
end of the archive.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.Pack(Microsoft.Deployment.Compression.IPackStreamContext,System.Collections.Generic.IEnumerable{System.String},System.Int64)">
|
|
||||||
<summary>
|
|
||||||
Creates a zip archive or chain of zip archives.
|
|
||||||
</summary>
|
|
||||||
<param name="streamContext">A context interface to handle opening
|
|
||||||
and closing of archive and file streams.</param>
|
|
||||||
<param name="files">An array of file lists. Each list is
|
|
||||||
compressed into one stream in the archive.</param>
|
|
||||||
<param name="maxArchiveSize">The maximum number of bytes for one archive
|
|
||||||
before the contents are chained to the next archive, or zero for unlimited
|
|
||||||
archive size.</param>
|
|
||||||
<exception cref="T:Microsoft.Deployment.Compression.ArchiveException">The archive could not be
|
|
||||||
created.</exception>
|
|
||||||
<remarks>
|
|
||||||
The stream context implementation may provide a mapping from the file
|
|
||||||
paths within the archive to the external file paths.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.CheckArchiveWriteStream(Microsoft.Deployment.Compression.IPackStreamContext,System.Int64,System.Int64,System.IO.Stream@)">
|
|
||||||
<summary>
|
|
||||||
Moves to the next archive in the sequence if necessary.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.PackOneFile(Microsoft.Deployment.Compression.IPackStreamContext,System.String,System.Int64,System.Boolean,System.IO.Stream@)">
|
|
||||||
<summary>
|
|
||||||
Adds one file to a zip archive in the process of being created.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.PackFileBytes(Microsoft.Deployment.Compression.IPackStreamContext,System.IO.Stream,System.Int64,System.Converter{System.IO.Stream,System.IO.Stream},System.IO.Stream@,System.UInt32@)">
|
|
||||||
<summary>
|
|
||||||
Writes compressed bytes of one file to the archive,
|
|
||||||
keeping track of the CRC and number of bytes written.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.Unpack(Microsoft.Deployment.Compression.IUnpackStreamContext,System.Predicate{System.String})">
|
|
||||||
<summary>
|
|
||||||
Extracts files from a zip archive or archive chain.
|
|
||||||
</summary>
|
|
||||||
<param name="streamContext">A context interface to handle opening
|
|
||||||
and closing of archive and file streams.</param>
|
|
||||||
<param name="fileFilter">An optional predicate that can determine
|
|
||||||
which files to process.</param>
|
|
||||||
<exception cref="T:Microsoft.Deployment.Compression.ArchiveException">The archive provided
|
|
||||||
by the stream context is not valid.</exception>
|
|
||||||
<remarks>
|
|
||||||
The <paramref name="fileFilter"/> predicate takes an internal file
|
|
||||||
path and returns true to include the file or false to exclude it.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.UnpackOneFile(Microsoft.Deployment.Compression.IUnpackStreamContext,Microsoft.Deployment.Compression.Zip.ZipFileHeader,System.IO.Stream@)">
|
|
||||||
<summary>
|
|
||||||
Unpacks a single file from an archive or archive chain.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.AreFilePathsEqual(System.String,System.String)">
|
|
||||||
<summary>
|
|
||||||
Compares two internal file paths while ignoring case and slash differences.
|
|
||||||
</summary>
|
|
||||||
<param name="path1">The first path to compare.</param>
|
|
||||||
<param name="path2">The second path to compare.</param>
|
|
||||||
<returns>True if the paths are equivalent.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipEngine.UnpackFileBytes(Microsoft.Deployment.Compression.IUnpackStreamContext,System.String,System.Int64,System.Int64,System.UInt32,System.IO.Stream,System.Converter{System.IO.Stream,System.IO.Stream},System.IO.Stream@)">
|
|
||||||
<summary>
|
|
||||||
Decompresses bytes for one file from an archive or archive chain,
|
|
||||||
checking the crc at the end.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Zip.ZipEngine.ArchiveComment">
|
|
||||||
<summary>
|
|
||||||
Gets the comment from the last-examined archive,
|
|
||||||
or sets the comment to be added to any created archives.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Zip.ZipFileInfo">
|
|
||||||
<summary>
|
|
||||||
Object representing a compressed file within a zip package; provides operations for getting
|
|
||||||
the file properties and extracting the file.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipFileInfo.#ctor(Microsoft.Deployment.Compression.Zip.ZipInfo,System.String)">
|
|
||||||
<summary>
|
|
||||||
Creates a new ZipFileInfo object representing a file within a zip in a specified path.
|
|
||||||
</summary>
|
|
||||||
<param name="zipInfo">An object representing the zip archive containing the file.</param>
|
|
||||||
<param name="filePath">The path to the file within the zip archive. Usually, this is a simple file
|
|
||||||
name, but if the zip archive contains a directory structure this may include the directory.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipFileInfo.#ctor(System.String,System.Int32,System.IO.FileAttributes,System.DateTime,System.Int64,System.Int64,Microsoft.Deployment.Compression.Zip.ZipCompressionMethod)">
|
|
||||||
<summary>
|
|
||||||
Creates a new ZipFileInfo object with all parameters specified,
|
|
||||||
used internally when reading the metadata out of a zip archive.
|
|
||||||
</summary>
|
|
||||||
<param name="filePath">The internal path and name of the file in the zip archive.</param>
|
|
||||||
<param name="zipNumber">The zip archive number where the file starts.</param>
|
|
||||||
<param name="attributes">The stored attributes of the file.</param>
|
|
||||||
<param name="lastWriteTime">The stored last write time of the file.</param>
|
|
||||||
<param name="length">The uncompressed size of the file.</param>
|
|
||||||
<param name="compressedLength">The compressed size of the file.</param>
|
|
||||||
<param name="compressionMethod">Compression algorithm used for this file.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipFileInfo.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|
||||||
<summary>
|
|
||||||
Initializes a new instance of the ZipFileInfo class with serialized data.
|
|
||||||
</summary>
|
|
||||||
<param name="info">The SerializationInfo that holds the serialized object data about the exception being thrown.</param>
|
|
||||||
<param name="context">The StreamingContext that contains contextual information about the source or destination.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipFileInfo.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|
||||||
<summary>
|
|
||||||
Sets the SerializationInfo with information about the archive.
|
|
||||||
</summary>
|
|
||||||
<param name="info">The SerializationInfo that holds the serialized object data.</param>
|
|
||||||
<param name="context">The StreamingContext that contains contextual information
|
|
||||||
about the source or destination.</param>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Zip.ZipFileInfo.CompressedLength">
|
|
||||||
<summary>
|
|
||||||
Gets the compressed size of the file in bytes.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Compression.Zip.ZipFileInfo.CompressionMethod">
|
|
||||||
<summary>
|
|
||||||
Gets the method used to compress this file.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Compression.Zip.ZipInfo">
|
|
||||||
<summary>
|
|
||||||
Object representing a zip file on disk; provides access to
|
|
||||||
file-based operations on the zip file.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
Generally, the methods on this class are much easier to use than the
|
|
||||||
stream-based interfaces provided by the <see cref="T:Microsoft.Deployment.Compression.Zip.ZipEngine"/> class.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipInfo.#ctor(System.String)">
|
|
||||||
<summary>
|
|
||||||
Creates a new CabinetInfo object representing a zip file in a specified path.
|
|
||||||
</summary>
|
|
||||||
<param name="path">The path to the zip file. When creating a zip file, this file does not
|
|
||||||
necessarily exist yet.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipInfo.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|
||||||
<summary>
|
|
||||||
Initializes a new instance of the CabinetInfo class with serialized data.
|
|
||||||
</summary>
|
|
||||||
<param name="info">The SerializationInfo that holds the serialized object data about the exception being thrown.</param>
|
|
||||||
<param name="context">The StreamingContext that contains contextual information about the source or destination.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipInfo.CreateCompressionEngine">
|
|
||||||
<summary>
|
|
||||||
Creates a compression engine that does the low-level work for
|
|
||||||
this object.
|
|
||||||
</summary>
|
|
||||||
<returns>A new <see cref="T:Microsoft.Deployment.Compression.Zip.ZipEngine"/> instance.</returns>
|
|
||||||
<remarks>
|
|
||||||
Each instance will be <see cref="M:Microsoft.Deployment.Compression.CompressionEngine.Dispose"/>d
|
|
||||||
immediately after use.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipInfo.GetFiles">
|
|
||||||
<summary>
|
|
||||||
Gets information about the files contained in the archive.
|
|
||||||
</summary>
|
|
||||||
<returns>A list of <see cref="T:Microsoft.Deployment.Compression.Zip.ZipFileInfo"/> objects, each
|
|
||||||
containing information about a file in the archive.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Compression.Zip.ZipInfo.GetFiles(System.String)">
|
|
||||||
<summary>
|
|
||||||
Gets information about the certain files contained in the archive file.
|
|
||||||
</summary>
|
|
||||||
<param name="searchPattern">The search string, such as
|
|
||||||
"*.txt".</param>
|
|
||||||
<returns>A list of <see cref="T:Microsoft.Deployment.Compression.Zip.ZipFileInfo"/> objects, each containing
|
|
||||||
information about a file in the archive.</returns>
|
|
||||||
</member>
|
|
||||||
</members>
|
|
||||||
</doc>
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
|
@ -1,511 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<doc>
|
|
||||||
<assembly>
|
|
||||||
<name>Microsoft.Deployment.Resources</name>
|
|
||||||
</assembly>
|
|
||||||
<members>
|
|
||||||
<member name="T:Microsoft.Deployment.Resources.BitmapResource">
|
|
||||||
<summary>
|
|
||||||
A subclass of Resource which provides specific methods for manipulating the resource data.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
The resource is of type <see cref="P:Microsoft.Deployment.Resources.ResourceType.Bitmap"/> (RT_GROUPICON).
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Resources.Resource">
|
|
||||||
<summary>
|
|
||||||
Represents a Win32 resource which can be loaded from and saved to a PE file.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.Resource.#ctor(Microsoft.Deployment.Resources.ResourceType,System.String,System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Creates a new Resource object without any data. The data can be later loaded from a file.
|
|
||||||
</summary>
|
|
||||||
<param name="type">Type of the resource; may be one of the ResourceType constants or a user-defined type.</param>
|
|
||||||
<param name="name">Name of the resource. For a numeric resource identifier, prefix the decimal number with a "#".</param>
|
|
||||||
<param name="locale">Locale of the resource</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.Resource.#ctor(Microsoft.Deployment.Resources.ResourceType,System.String,System.Int32,System.Byte[])">
|
|
||||||
<summary>
|
|
||||||
Creates a new Resource object with data. The data can be later saved to a file.
|
|
||||||
</summary>
|
|
||||||
<param name="type">Type of the resource; may be one of the ResourceType constants or a user-defined type.</param>
|
|
||||||
<param name="name">Name of the resource. For a numeric resource identifier, prefix the decimal number with a "#".</param>
|
|
||||||
<param name="locale">Locale of the resource</param>
|
|
||||||
<param name="data">Raw resource data</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.Resource.Load(System.String)">
|
|
||||||
<summary>
|
|
||||||
Loads the resource data from a file. The file is searched for a resource with matching type, name, and locale.
|
|
||||||
</summary>
|
|
||||||
<param name="file">Win32 PE file containing the resource</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.Resource.Save(System.String)">
|
|
||||||
<summary>
|
|
||||||
Saves the resource to a file. Any existing resource data with matching type, name, and locale is overwritten.
|
|
||||||
</summary>
|
|
||||||
<param name="file">Win32 PE file to contain the resource</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.Resource.Equals(System.Object)">
|
|
||||||
<summary>
|
|
||||||
Tests if type, name, and locale of this Resource object match another Resource object.
|
|
||||||
</summary>
|
|
||||||
<param name="obj">Resource object to be compared</param>
|
|
||||||
<returns>True if the objects represent the same resource; false otherwise.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.Resource.GetHashCode">
|
|
||||||
<summary>
|
|
||||||
Gets a hash code for this Resource object.
|
|
||||||
</summary>
|
|
||||||
<returns>Hash code generated from the resource type, name, and locale.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.Resource.ResourceType">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the type of the resource. This may be one of the ResourceType constants
|
|
||||||
or a user-defined type name.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.Resource.Name">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the name of the resource. For a numeric resource identifier, the decimal number is prefixed with a "#".
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.Resource.Locale">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the locale of the resource.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.Resource.Data">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the raw data of the resource.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.BitmapResource.#ctor(System.String,System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Creates a new BitmapResource object without any data. The data can be later loaded from a file.
|
|
||||||
</summary>
|
|
||||||
<param name="name">Name of the resource. For a numeric resource identifier, prefix the decimal number with a "#".</param>
|
|
||||||
<param name="locale">Locale of the resource</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.BitmapResource.#ctor(System.String,System.Int32,System.Byte[])">
|
|
||||||
<summary>
|
|
||||||
Creates a new BitmapResource object with data. The data can be later saved to a file.
|
|
||||||
</summary>
|
|
||||||
<param name="name">Name of the resource. For a numeric resource identifier, prefix the decimal number with a "#".</param>
|
|
||||||
<param name="locale">Locale of the resource</param>
|
|
||||||
<param name="data">Raw resource data</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.BitmapResource.ReadFromFile(System.String)">
|
|
||||||
<summary>
|
|
||||||
Reads the bitmap from a .bmp file.
|
|
||||||
</summary>
|
|
||||||
<param name="path">Path to a bitmap file (.bmp).</param>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Resources.GroupIconResource">
|
|
||||||
<summary>
|
|
||||||
A subclass of Resource which provides specific methods for manipulating the resource data.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
The resource is of type <see cref="P:Microsoft.Deployment.Resources.ResourceType.GroupIcon"/> (RT_GROUPICON).
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.GroupIconResource.#ctor(System.String,System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Creates a new GroupIconResource object without any data. The data can be later loaded from a file.
|
|
||||||
</summary>
|
|
||||||
<param name="name">Name of the resource. For a numeric resource identifier, prefix the decimal number with a "#".</param>
|
|
||||||
<param name="locale">Locale of the resource</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.GroupIconResource.#ctor(System.String,System.Int32,System.Byte[])">
|
|
||||||
<summary>
|
|
||||||
Creates a new GroupIconResource object with data. The data can be later saved to a file.
|
|
||||||
</summary>
|
|
||||||
<param name="name">Name of the resource. For a numeric resource identifier, prefix the decimal number with a "#".</param>
|
|
||||||
<param name="locale">Locale of the resource</param>
|
|
||||||
<param name="data">Raw resource data</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.GroupIconResource.ReadFromFile(System.String)">
|
|
||||||
<summary>
|
|
||||||
Reads the icon group from a .ico file.
|
|
||||||
</summary>
|
|
||||||
<param name="path">Path to an icon file (.ico).</param>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.GroupIconResource.Data">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the raw data of the resource. The data is in the format of the RT_GROUPICON resource structure.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.GroupIconResource.Icons">
|
|
||||||
<summary>
|
|
||||||
Enumerates the the icons in the icon group.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Resources.ResourceCollection">
|
|
||||||
<summary>
|
|
||||||
Allows reading and editing of resource data in a Win32 PE file.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
To use this class:<list type="number">
|
|
||||||
<item>Create a new ResourceCollection</item>
|
|
||||||
<item>Locate resources for the collection by calling one of the <see cref="M:Microsoft.Deployment.Resources.ResourceCollection.Find(System.String)"/> methods</item>
|
|
||||||
<item>Load data of one or more <see cref="T:Microsoft.Deployment.Resources.Resource"/>s from a file by calling the <see cref="M:Microsoft.Deployment.Resources.ResourceCollection.Load(System.String)"/> method of the
|
|
||||||
Resource class, or load them all at once (more efficient) with the <see cref="M:Microsoft.Deployment.Resources.ResourceCollection.Load(System.String)"/> method of the ResourceCollection.</item>
|
|
||||||
<item>Read and/or edit data of the individual Resource objects using the methods on that class.</item>
|
|
||||||
<item>Save data of one or more <see cref="T:Microsoft.Deployment.Resources.Resource"/>s to a file by calling the <see cref="M:Microsoft.Deployment.Resources.ResourceCollection.Save(System.String)"/> method of the
|
|
||||||
Resource class, or save them all at once (more efficient) with the <see cref="M:Microsoft.Deployment.Resources.ResourceCollection.Save(System.String)"/> method of the ResourceCollection.</item>
|
|
||||||
</list>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceCollection.#ctor">
|
|
||||||
<summary>
|
|
||||||
Creates a new, empty ResourceCollection.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceCollection.Find(System.String)">
|
|
||||||
<summary>
|
|
||||||
Locates all resources in a file, including all resource types and languages. For each located resource,
|
|
||||||
a <see cref="T:Microsoft.Deployment.Resources.Resource"/> instance (or subclass) is added to the collection.
|
|
||||||
</summary>
|
|
||||||
<param name="resFile">The file to be searched for resources.</param>
|
|
||||||
<exception cref="T:System.IO.IOException">resources could not be read from the file</exception>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceCollection.Find(System.String,Microsoft.Deployment.Resources.ResourceType)">
|
|
||||||
<summary>
|
|
||||||
Locates all resources in a file of a given type, including all languages. For each located resource,
|
|
||||||
a <see cref="T:Microsoft.Deployment.Resources.Resource"/> instance (or subclass) is added to the collection.
|
|
||||||
</summary>
|
|
||||||
<param name="resFile">The file to be searched for resources.</param>
|
|
||||||
<param name="type">The type of resource to search for; may be one of the ResourceType constants or a user-defined type.</param>
|
|
||||||
<exception cref="T:System.IO.IOException">resources could not be read from the file</exception>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceCollection.Find(System.String,Microsoft.Deployment.Resources.ResourceType,System.String)">
|
|
||||||
<summary>
|
|
||||||
Locates all resources in a file of a given type and language. For each located resource,
|
|
||||||
a <see cref="T:Microsoft.Deployment.Resources.Resource"/> instance (or subclass) is added to the collection.
|
|
||||||
</summary>
|
|
||||||
<param name="resFile">The file to be searched for resources.</param>
|
|
||||||
<param name="type">The type of resource to search for; may be one of the ResourceType constants or a user-defined type.</param>
|
|
||||||
<param name="name">The name of the resource to search for.</param>
|
|
||||||
<exception cref="T:System.IO.IOException">resources could not be read from the file</exception>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceCollection.Load(System.String)">
|
|
||||||
<summary>
|
|
||||||
For all resources in the collection, loads their data from a resource file.
|
|
||||||
</summary>
|
|
||||||
<param name="file">The file from which resources are loaded.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceCollection.Save(System.String)">
|
|
||||||
<summary>
|
|
||||||
For all resources in the collection, saves their data to a resource file.
|
|
||||||
</summary>
|
|
||||||
<param name="file">The file to which resources are saved.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceCollection.Add(Microsoft.Deployment.Resources.Resource)">
|
|
||||||
<summary>
|
|
||||||
Adds a new item to the collection.
|
|
||||||
</summary>
|
|
||||||
<param name="item">The Resource to add.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceCollection.Remove(Microsoft.Deployment.Resources.Resource)">
|
|
||||||
<summary>
|
|
||||||
Removes an item to the collection.
|
|
||||||
</summary>
|
|
||||||
<param name="item">The Resource to remove.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceCollection.IndexOf(Microsoft.Deployment.Resources.Resource)">
|
|
||||||
<summary>
|
|
||||||
Gets the index of an item in the collection.
|
|
||||||
</summary>
|
|
||||||
<param name="item">The Resource to search for.</param>
|
|
||||||
<returns>The index of the item, or -1 if not found.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceCollection.Insert(System.Int32,Microsoft.Deployment.Resources.Resource)">
|
|
||||||
<summary>
|
|
||||||
Inserts a item into the collection.
|
|
||||||
</summary>
|
|
||||||
<param name="index">The insertion index.</param>
|
|
||||||
<param name="item">The Resource to insert.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceCollection.Contains(Microsoft.Deployment.Resources.Resource)">
|
|
||||||
<summary>
|
|
||||||
Tests if the collection contains an item.
|
|
||||||
</summary>
|
|
||||||
<param name="item">The Resource to search for.</param>
|
|
||||||
<returns>true if the item is found; false otherwise</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceCollection.CopyTo(Microsoft.Deployment.Resources.Resource[],System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Copies the collection into an array.
|
|
||||||
</summary>
|
|
||||||
<param name="array">The array to copy into.</param>
|
|
||||||
<param name="arrayIndex">The starting index in the destination array.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceCollection.Clear">
|
|
||||||
<summary>
|
|
||||||
Removes all resources from the collection.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceCollection.GetEnumerator">
|
|
||||||
<summary>
|
|
||||||
Gets an enumerator over all resources in the collection.
|
|
||||||
</summary>
|
|
||||||
<returns></returns>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.ResourceCollection.Item(System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the element at the specified index.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.ResourceCollection.Count">
|
|
||||||
<summary>
|
|
||||||
Gets the number of resources in the collection.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Resources.ResourceType">
|
|
||||||
<summary>
|
|
||||||
Represents either a standard integer resource type or a custom resource type name.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceType.#ctor(System.String)">
|
|
||||||
<summary>
|
|
||||||
Creates a new resource type from a string resource name.
|
|
||||||
</summary>
|
|
||||||
<param name="resourceType">String resource name,
|
|
||||||
or an integer resource type prefixed by a #.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceType.#ctor(System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Creates a new integer resource type.
|
|
||||||
</summary>
|
|
||||||
<param name="resourceType">Integer value of a well-known resource type.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceType.ToString">
|
|
||||||
<summary>
|
|
||||||
Gets a string representation of the resource type.
|
|
||||||
</summary>
|
|
||||||
<returns>The custom resource name, or the name of a well-known resource type.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceType.Equals(System.Object)">
|
|
||||||
<summary>
|
|
||||||
Tests whether one resource type equals another object.
|
|
||||||
</summary>
|
|
||||||
<param name="obj">Other object.</param>
|
|
||||||
<returns>True if equal, else false.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceType.Equals(Microsoft.Deployment.Resources.ResourceType)">
|
|
||||||
<summary>
|
|
||||||
Tests whether one resource type equals another.
|
|
||||||
</summary>
|
|
||||||
<param name="otherType">Other resource type.</param>
|
|
||||||
<returns>True if equal, else false.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceType.GetHashCode">
|
|
||||||
<summary>
|
|
||||||
Gets a hash code suitable for using the resource type as a dictionary key.
|
|
||||||
</summary>
|
|
||||||
<returns>Hash code based on the resource type string.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceType.op_Implicit(System.String)~Microsoft.Deployment.Resources.ResourceType">
|
|
||||||
<summary>
|
|
||||||
Implicitly converts a string to a ResourceType.
|
|
||||||
</summary>
|
|
||||||
<param name="resourceType">String resource type to convert.</param>
|
|
||||||
<returns>ResourceType object.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.ResourceType.op_Explicit(Microsoft.Deployment.Resources.ResourceType)~System.String">
|
|
||||||
<summary>
|
|
||||||
Explicitly converts a ResourceType to a string.
|
|
||||||
</summary>
|
|
||||||
<param name="resourceType">ResourceType object to convert.</param>
|
|
||||||
<returns>The resource type string.</returns>
|
|
||||||
<remarks>
|
|
||||||
Unlike <see cref="M:Microsoft.Deployment.Resources.ResourceType.ToString"/>, this conversion does not return
|
|
||||||
the common name of well-known integer resource types. Therefore,
|
|
||||||
the returned string is suitable for passing directly to Win32
|
|
||||||
resource APIs that accept resource type strings.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.ResourceType.IsInteger">
|
|
||||||
<summary>
|
|
||||||
Gets a flag indicating whether the resource type is an integer type.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.ResourceType.IntegerValue">
|
|
||||||
<summary>
|
|
||||||
Gets the integer value of the resource type, or -1 if the resource type is not an integer.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Resources.VersionBuildTypes">
|
|
||||||
<summary>
|
|
||||||
Identifies build types of a versioned file.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Resources.VersionFileType">
|
|
||||||
<summary>
|
|
||||||
Identifies the type of a versioned file.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Resources.VersionFileSubtype">
|
|
||||||
<summary>
|
|
||||||
Identifies the sub-type of a versioned file.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Resources.VersionResource">
|
|
||||||
<summary>
|
|
||||||
A subclass of Resource which provides specific methods for manipulating the resource data.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
The resource is of type <see cref="P:Microsoft.Deployment.Resources.ResourceType.Version"/> (RT_VERSION).
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.VersionResource.#ctor(System.String,System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Creates a new VersionResource object without any data. The data can be later loaded from a file.
|
|
||||||
</summary>
|
|
||||||
<param name="name">Name of the resource. For a numeric resource identifier, prefix the decimal number with a "#".</param>
|
|
||||||
<param name="locale">Locale of the resource</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.VersionResource.#ctor(System.String,System.Int32,System.Byte[])">
|
|
||||||
<summary>
|
|
||||||
Creates a new VersionResource object with data. The data can be later saved to a file.
|
|
||||||
</summary>
|
|
||||||
<param name="name">Name of the resource. For a numeric resource identifier, prefix the decimal number with a "#".</param>
|
|
||||||
<param name="locale">Locale of the resource</param>
|
|
||||||
<param name="data">Raw resource data</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.VersionResource.Add(System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Adds a new version string table for a locale.
|
|
||||||
</summary>
|
|
||||||
<param name="locale">Locale of the table</param>
|
|
||||||
<returns>The new string table, or the existing table if the locale already existed.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.VersionResource.Remove(System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Removes a version string table for a locale.
|
|
||||||
</summary>
|
|
||||||
<param name="locale">Locale of the table</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.VersionResource.Contains(System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Checks if a version string table exists for a given locale.
|
|
||||||
</summary>
|
|
||||||
<param name="locale">Locale to search for</param>
|
|
||||||
<returns>True if a string table was found for the locale; false otherwise.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.VersionResource.Clear">
|
|
||||||
<summary>
|
|
||||||
Removes all string tables from the version resource.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.VersionResource.CopyTo(Microsoft.Deployment.Resources.VersionStringTable[],System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Copies the version string tables to an array, starting at a particular array index.
|
|
||||||
</summary>
|
|
||||||
<param name="array">The one-dimensional Array that is the destination of the elements copied
|
|
||||||
from the collection. The Array must have zero-based indexing.</param>
|
|
||||||
<param name="arrayIndex">The zero-based index in array at which copying begins.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.VersionResource.GetEnumerator">
|
|
||||||
<summary>
|
|
||||||
Gets an enumerator that can iterate over the version string tables in the collection.
|
|
||||||
</summary>
|
|
||||||
<returns>An enumerator that returns <see cref="T:Microsoft.Deployment.Resources.VersionStringTable"/> objects.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.VersionResource.System#Collections#IEnumerable#GetEnumerator">
|
|
||||||
<summary>
|
|
||||||
Gets an enumerator that can iterate over the version string tables in the collection.
|
|
||||||
</summary>
|
|
||||||
<returns>An enumerator that returns <see cref="T:Microsoft.Deployment.Resources.VersionStringTable"/> objects.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.VersionResource.Data">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the raw data of the resource. The data is in the format of the VS_VERSIONINFO structure.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.VersionResource.FileVersion">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the binary locale-independent file version of the version resource.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.VersionResource.ProductVersion">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the binary locale-independent product version of the version resource.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.VersionResource.BuildTypes">
|
|
||||||
<summary>
|
|
||||||
Gets or sets a bitmask that specifies the build types of the file.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.VersionResource.FileType">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the general type of the file.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.VersionResource.FileSubtype">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the specific type of the file.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.VersionResource.Timestamp">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the binary creation date and time.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.VersionResource.Item(System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Gets the string table for a specific locale, or null if there is no table for that locale.
|
|
||||||
</summary>
|
|
||||||
<seealso cref="M:Microsoft.Deployment.Resources.VersionResource.Add(System.Int32)"/>
|
|
||||||
<seealso cref="M:Microsoft.Deployment.Resources.VersionResource.Remove(System.Int32)"/>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.VersionResource.Count">
|
|
||||||
<summary>
|
|
||||||
Gets the number string tables in the version resource.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.Resources.VersionStringTable">
|
|
||||||
<summary>
|
|
||||||
Represents a string table of a file version resource.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.VersionStringTable.Clear">
|
|
||||||
<summary>
|
|
||||||
Removes all strings from the string table.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.Resources.VersionStringTable.GetEnumerator">
|
|
||||||
<summary>
|
|
||||||
Gets an enumeration over all strings in the table.
|
|
||||||
</summary>
|
|
||||||
<returns>Enumeration of string name and value pairs</returns>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.VersionStringTable.Locale">
|
|
||||||
<summary>
|
|
||||||
Gets the locale (LCID) of the string table.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.VersionStringTable.Item(System.String)">
|
|
||||||
<summary>
|
|
||||||
Gets or sets a string value.
|
|
||||||
</summary>
|
|
||||||
<param name="key">Name of the string.</param>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.VersionStringTable.Keys">
|
|
||||||
<summary>
|
|
||||||
Gets a collection of all the names of the strings in the table.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.VersionStringTable.Values">
|
|
||||||
<summary>
|
|
||||||
Gets a collection of all the values in the table.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.Resources.VersionStringTable.Count">
|
|
||||||
<summary>
|
|
||||||
Gets the number of strings in the table.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
</members>
|
|
||||||
</doc>
|
|
Binary file not shown.
|
@ -1,434 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<doc>
|
|
||||||
<assembly>
|
|
||||||
<name>Microsoft.Deployment.WindowsInstaller.Linq</name>
|
|
||||||
</assembly>
|
|
||||||
<members>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Linq.DatabaseTableAttribute">
|
|
||||||
<summary>
|
|
||||||
Apply to a subclass of QRecord to indicate the name of
|
|
||||||
the table the record type is to be used with.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
If this attribute is not used on a record type, the default
|
|
||||||
table name will be derived from the record type name. (An
|
|
||||||
optional underscore suffix is stripped.)
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.DatabaseTableAttribute.#ctor(System.String)">
|
|
||||||
<summary>
|
|
||||||
Creates a new DatabaseTableAttribute for the specified table.
|
|
||||||
</summary>
|
|
||||||
<param name="table">name of the table associated with the record type</param>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.DatabaseTableAttribute.Table">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the table associated with the record type.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Linq.DatabaseColumnAttribute">
|
|
||||||
<summary>
|
|
||||||
Apply to a property on a subclass of QRecord to indicate
|
|
||||||
the name of the column the property is to be associated with.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
If this attribute is not used on a property, the default
|
|
||||||
column name will be the same as the property name.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.DatabaseColumnAttribute.#ctor(System.String)">
|
|
||||||
<summary>
|
|
||||||
Creates a new DatabaseColumnAttribute which maps a
|
|
||||||
record property to a column.
|
|
||||||
</summary>
|
|
||||||
<param name="column">name of the column associated with the property</param>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.DatabaseColumnAttribute.Column">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the column associated with the record property.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Linq.QRecord">
|
|
||||||
<summary>
|
|
||||||
Generic record entity for queryable databases,
|
|
||||||
and base for strongly-typed entity subclasses.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
Several predefined specialized subclasses are provided for common
|
|
||||||
standard tables. Subclasses for additional standard tables
|
|
||||||
or custom tables are not necessary, but they are easy to create
|
|
||||||
and make the coding experience much nicer.
|
|
||||||
<para>When creating subclasses, the following attributes may be
|
|
||||||
useful: <see cref="T:Microsoft.Deployment.WindowsInstaller.Linq.DatabaseTableAttribute"/>,
|
|
||||||
<see cref="T:Microsoft.Deployment.WindowsInstaller.Linq.DatabaseColumnAttribute"/></para>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.#ctor">
|
|
||||||
<summary>
|
|
||||||
Do not call. Use QTable.NewRecord() instead.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
Subclasses must also provide a public parameterless constructor.
|
|
||||||
<para>QRecord constructors are only public due to implementation
|
|
||||||
reasons (to satisfy the new() constraint on the QTable generic
|
|
||||||
class). They are not intended to be called by user code other than
|
|
||||||
a subclass constructor. If the constructor is invoked directly,
|
|
||||||
the record instance will not be properly initialized (associated
|
|
||||||
with a database table) and calls to methods on the instance
|
|
||||||
will throw a NullReferenceException.</para>
|
|
||||||
</remarks>
|
|
||||||
<seealso cref="M:Microsoft.Deployment.WindowsInstaller.Linq.QTable`1.NewRecord"/>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.I(System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Used by subclasses to get a field as an integer.
|
|
||||||
</summary>
|
|
||||||
<param name="index">zero-based column index of the field</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.NI(System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Used by subclasses to get a field as a nullable integer.
|
|
||||||
</summary>
|
|
||||||
<param name="index">zero-based column index of the field</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.ToString">
|
|
||||||
<summary>
|
|
||||||
Dumps all record fields to a string.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.Update(System.Collections.Generic.IList{System.String},System.Collections.Generic.IList{System.String})">
|
|
||||||
<summary>
|
|
||||||
Update multiple fields in the record (and the database).
|
|
||||||
</summary>
|
|
||||||
<param name="fields">column names of fields to update</param>
|
|
||||||
<param name="values">new values for each field being updated</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.Update(System.Collections.Generic.IList{System.Int32},System.Collections.Generic.IList{System.String})">
|
|
||||||
<summary>
|
|
||||||
Update multiple fields in the record (and the database).
|
|
||||||
</summary>
|
|
||||||
<param name="indexes">column indexes of fields to update</param>
|
|
||||||
<param name="values">new values for each field being updated</param>
|
|
||||||
<remarks>
|
|
||||||
The record (primary keys) must already exist in the table.
|
|
||||||
<para>Updating primary key fields is not yet implemented; use Delete()
|
|
||||||
and Insert() instead.</para>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.Insert">
|
|
||||||
<summary>
|
|
||||||
Inserts the record in the database.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
The record (primary keys) may not already exist in the table.
|
|
||||||
<para>Use <see cref="M:Microsoft.Deployment.WindowsInstaller.Linq.QTable`1.NewRecord"/> to get a new
|
|
||||||
record. Prmary keys and all required fields
|
|
||||||
must be filled in before insertion.</para>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.Insert(System.Boolean)">
|
|
||||||
<summary>
|
|
||||||
Inserts the record into the table.
|
|
||||||
</summary>
|
|
||||||
<param name="temporary">true if the record is temporarily
|
|
||||||
inserted, to be visible only as long as the database is open</param>
|
|
||||||
<remarks>
|
|
||||||
The record (primary keys) may not already exist in the table.
|
|
||||||
<para>Use <see cref="M:Microsoft.Deployment.WindowsInstaller.Linq.QTable`1.NewRecord"/> to get a new
|
|
||||||
record. Prmary keys and all required fields
|
|
||||||
must be filled in before insertion.</para>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.Delete">
|
|
||||||
<summary>
|
|
||||||
Deletes the record from the table if it exists.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.Refresh">
|
|
||||||
<summary>
|
|
||||||
Not yet implemented.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.Assign">
|
|
||||||
<summary>
|
|
||||||
Not yet implemented.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.Merge">
|
|
||||||
<summary>
|
|
||||||
Not yet implemented.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.Validate">
|
|
||||||
<summary>
|
|
||||||
Not yet implemented.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.ValidateNew">
|
|
||||||
<summary>
|
|
||||||
Not yet implemented.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.ValidateFields">
|
|
||||||
<summary>
|
|
||||||
Not yet implemented.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.ValidateDelete">
|
|
||||||
<summary>
|
|
||||||
Not yet implemented.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.FieldCount">
|
|
||||||
<summary>
|
|
||||||
Gets the number of fields in the record.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.Item(System.String)">
|
|
||||||
<summary>
|
|
||||||
Gets or sets a record field.
|
|
||||||
</summary>
|
|
||||||
<param name="field">column name of the field</param>
|
|
||||||
<remarks>
|
|
||||||
Setting a field value will automatically update the database.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QRecord.Item(System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Gets or sets a record field.
|
|
||||||
</summary>
|
|
||||||
<param name="index">zero-based column index of the field</param>
|
|
||||||
<remarks>
|
|
||||||
Setting a field value will automatically update the database.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Linq.Queryable">
|
|
||||||
<summary>
|
|
||||||
Allows any Database instance to be converted into a queryable database.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.Queryable.AsQueryable(Microsoft.Deployment.WindowsInstaller.Database)">
|
|
||||||
<summary>
|
|
||||||
Converts any Database instance into a queryable database.
|
|
||||||
</summary>
|
|
||||||
<param name="db"></param>
|
|
||||||
<returns>Queryable database instance that operates on the same
|
|
||||||
MSI handle.</returns>
|
|
||||||
<remarks>
|
|
||||||
This extension method is meant for convenient on-the-fly conversion.
|
|
||||||
If the existing database instance already happens to be a QDatabase,
|
|
||||||
then it is returned unchanged. Otherwise since the new database
|
|
||||||
carries the same MSI handle, only one of the instances needs to be
|
|
||||||
closed, not both.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase">
|
|
||||||
<summary>
|
|
||||||
Queryable MSI database - extends the base Database class with
|
|
||||||
LINQ query functionality along with predefined entity types
|
|
||||||
for common tables.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.#ctor(System.String)">
|
|
||||||
<summary>
|
|
||||||
Opens an existing database in read-only mode.
|
|
||||||
</summary>
|
|
||||||
<param name="filePath">Path to the database file.</param>
|
|
||||||
<exception cref="T:Microsoft.Deployment.WindowsInstaller.InstallerException">the database could not be created/opened</exception>
|
|
||||||
<remarks>
|
|
||||||
Because this constructor initiates database access, it cannot be used with a
|
|
||||||
running installation.
|
|
||||||
<para>The Database object should be <see cref="M:Microsoft.Deployment.WindowsInstaller.InstallerHandle.Close"/>d after use.
|
|
||||||
The finalizer will close the handle if it is still open, however due to the nondeterministic
|
|
||||||
nature of finalization it is best that the handle be closed manually as soon as it is no
|
|
||||||
longer needed, as leaving lots of unused handles open can degrade performance.</para>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.#ctor(System.String,System.String)">
|
|
||||||
<summary>
|
|
||||||
Opens an existing database with another database as output.
|
|
||||||
</summary>
|
|
||||||
<param name="filePath">Path to the database to be read.</param>
|
|
||||||
<param name="outputPath">Open mode for the database</param>
|
|
||||||
<returns>Database object representing the created or opened database</returns>
|
|
||||||
<exception cref="T:Microsoft.Deployment.WindowsInstaller.InstallerException">the database could not be created/opened</exception>
|
|
||||||
<remarks>
|
|
||||||
When a database is opened as the output of another database, the summary information stream
|
|
||||||
of the output database is actually a read-only mirror of the original database and thus cannot
|
|
||||||
be changed. Additionally, it is not persisted with the database. To create or modify the
|
|
||||||
summary information for the output database it must be closed and re-opened.
|
|
||||||
<para>The returned Database object should be <see cref="M:Microsoft.Deployment.WindowsInstaller.InstallerHandle.Close"/>d after use.
|
|
||||||
The finalizer will close the handle if it is still open, however due to the nondeterministic
|
|
||||||
nature of finalization it is best that the handle be closed manually as soon as it is no
|
|
||||||
longer needed, as leaving lots of unused handles open can degrade performance.</para>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.#ctor(System.String,Microsoft.Deployment.WindowsInstaller.DatabaseOpenMode)">
|
|
||||||
<summary>
|
|
||||||
Opens an existing database or creates a new one.
|
|
||||||
</summary>
|
|
||||||
<param name="filePath">Path to the database file. If an empty string
|
|
||||||
is supplied, a temporary database is created that is not persisted.</param>
|
|
||||||
<param name="mode">Open mode for the database</param>
|
|
||||||
<exception cref="T:Microsoft.Deployment.WindowsInstaller.InstallerException">the database could not be created/opened</exception>
|
|
||||||
<remarks>
|
|
||||||
To make and save changes to a database first open the database in transaction,
|
|
||||||
create or, or direct mode. After making the changes, always call the Commit method
|
|
||||||
before closing the database handle. The Commit method flushes all buffers.
|
|
||||||
<para>Always call the Commit method on a database that has been opened in direct
|
|
||||||
mode before closing the database. Failure to do this may corrupt the database.</para>
|
|
||||||
<para>Because this constructor initiates database access, it cannot be used with a
|
|
||||||
running installation.</para>
|
|
||||||
<para>The Database object should be <see cref="M:Microsoft.Deployment.WindowsInstaller.InstallerHandle.Close"/>d after use.
|
|
||||||
The finalizer will close the handle if it is still open, however due to the nondeterministic
|
|
||||||
nature of finalization it is best that the handle be closed manually as soon as it is no
|
|
||||||
longer needed, as leaving lots of unused handles open can degrade performance.</para>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.#ctor(System.IntPtr,System.Boolean,System.String,Microsoft.Deployment.WindowsInstaller.DatabaseOpenMode)">
|
|
||||||
<summary>
|
|
||||||
Creates a new database from an MSI handle.
|
|
||||||
</summary>
|
|
||||||
<param name="handle">Native MSI database handle.</param>
|
|
||||||
<param name="ownsHandle">True if the handle should be closed
|
|
||||||
when the database object is disposed</param>
|
|
||||||
<param name="filePath">Path of the database file, if known</param>
|
|
||||||
<param name="openMode">Mode the handle was originally opened in</param>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.Log">
|
|
||||||
<summary>
|
|
||||||
Gets or sets a log where all MSI SQL queries are written.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
The log can be useful for debugging, or simply to watch the LINQ magic in action.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.Item(System.String)">
|
|
||||||
<summary>
|
|
||||||
Gets a queryable table from the datbaase.
|
|
||||||
</summary>
|
|
||||||
<param name="table">name of the table</param>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.Components">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.CreateFolders">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.CustomActions">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.Directories">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.DuplicateFiles">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.Features">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.FeatureComponents">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.Files">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.FileHashes">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.InstallExecuteSequences">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.InstallUISequences">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.LaunchConditions">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.Medias">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.Properties">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.Registries">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QDatabase.RemoveFiles">
|
|
||||||
<summary>Queryable standard table with predefined specialized record type.</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Linq.QTable`1">
|
|
||||||
<summary>
|
|
||||||
Represents one table in a LINQ-queryable Database.
|
|
||||||
</summary>
|
|
||||||
<typeparam name="TRecord">type that represents one record in the table</typeparam>
|
|
||||||
<remarks>
|
|
||||||
This class is the primary gateway to all LINQ to MSI query functionality.
|
|
||||||
<para>The TRecord generic parameter may be the general <see cref="T:Microsoft.Deployment.WindowsInstaller.Linq.QRecord"/>
|
|
||||||
class, or a specialized subclass of QRecord.</para>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QTable`1.InferTableName">
|
|
||||||
<summary>
|
|
||||||
Infers the name of the table this instance will be
|
|
||||||
associated with.
|
|
||||||
</summary>
|
|
||||||
<returns>table name</returns>
|
|
||||||
<remarks>
|
|
||||||
The table name is retrieved from a DatabaseTableAttribute
|
|
||||||
on the record type if it exists; otherwise the name is
|
|
||||||
derived from the name of the record type itself.
|
|
||||||
(An optional underscore suffix on the record type name is dropped.)
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QTable`1.#ctor(Microsoft.Deployment.WindowsInstaller.Linq.QDatabase)">
|
|
||||||
<summary>
|
|
||||||
Creates a new QTable, inferring the table name
|
|
||||||
from the name of the record type parameter.
|
|
||||||
</summary>
|
|
||||||
<param name="db">database that contains the table</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QTable`1.#ctor(Microsoft.Deployment.WindowsInstaller.Linq.QDatabase,System.String)">
|
|
||||||
<summary>
|
|
||||||
Creates a new QTable with an explicit table name.
|
|
||||||
</summary>
|
|
||||||
<param name="db">database that contains the table</param>
|
|
||||||
<param name="table">name of the table</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QTable`1.GetEnumerator">
|
|
||||||
<summary>
|
|
||||||
Enumerates over all records in the table.
|
|
||||||
</summary>
|
|
||||||
<returns></returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Linq.QTable`1.NewRecord">
|
|
||||||
<summary>
|
|
||||||
Creates a new record that can be inserted into this table.
|
|
||||||
</summary>
|
|
||||||
<returns>a record with all fields initialized to null</returns>
|
|
||||||
<remarks>
|
|
||||||
Primary keys and required fields must be filled in with
|
|
||||||
non-null values before the record can be inserted.
|
|
||||||
<para>The record is tied to this table in this database;
|
|
||||||
it cannot be inserted into another table or database.</para>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QTable`1.TableInfo">
|
|
||||||
<summary>
|
|
||||||
Gets schema information about the table.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Linq.QTable`1.Database">
|
|
||||||
<summary>
|
|
||||||
Gets the database this table is associated with.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Linq.Query`1">
|
|
||||||
<summary>
|
|
||||||
Implements the LINQ to MSI query functionality.
|
|
||||||
</summary>
|
|
||||||
<typeparam name="T">the result type of the current query --
|
|
||||||
either some kind of QRecord, or some projection of record data</typeparam>
|
|
||||||
</member>
|
|
||||||
</members>
|
|
||||||
</doc>
|
|
Binary file not shown.
|
@ -1,679 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<doc>
|
|
||||||
<assembly>
|
|
||||||
<name>Microsoft.Deployment.WindowsInstaller.Package</name>
|
|
||||||
</assembly>
|
|
||||||
<members>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Package.InstallPackageMessageHandler">
|
|
||||||
<summary>
|
|
||||||
Handles status messages generated when operations are performed on an
|
|
||||||
<see cref="T:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage"/> or <see cref="T:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage"/>.
|
|
||||||
</summary>
|
|
||||||
<example>
|
|
||||||
<c>installPackage.Message += new InstallPackageMessageHandler(Console.WriteLine);</c>
|
|
||||||
</example>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage">
|
|
||||||
<summary>
|
|
||||||
Provides access to powerful build, maintenance, and analysis operations on an
|
|
||||||
installation package (.MSI or .MSM).
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.#ctor(System.String,Microsoft.Deployment.WindowsInstaller.DatabaseOpenMode)">
|
|
||||||
<summary>
|
|
||||||
Creates a new InstallPackage object. The file source directory and working
|
|
||||||
directory are the same as the location as the package file.
|
|
||||||
</summary>
|
|
||||||
<param name="packagePath">Path to the install package to be created or opened</param>
|
|
||||||
<param name="openMode">Open mode for the database</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.#ctor(System.String,Microsoft.Deployment.WindowsInstaller.DatabaseOpenMode,System.String,System.String)">
|
|
||||||
<summary>
|
|
||||||
Creates a new InstallPackage object, specifying an alternate file source
|
|
||||||
directory and/or working directory.
|
|
||||||
</summary>
|
|
||||||
<param name="packagePath">Path to the install package to be created or opened</param>
|
|
||||||
<param name="openMode">Open mode for the database</param>
|
|
||||||
<param name="sourceDir">Location to obtain source files and cabinets when extracting
|
|
||||||
or updating files in the working directory. This is often the location of an original
|
|
||||||
copy of the package that is not meant to be modified. If this parameter is null, it
|
|
||||||
defaults to the directory of <paramref name="packagePath"/>.</param>
|
|
||||||
<param name="workingDir">Location where files will be extracted to/updated from. Also
|
|
||||||
the location where a temporary folder is created during some operations. If this
|
|
||||||
parameter is null, it defaults to the directory of <paramref name="packagePath"/>.</param>
|
|
||||||
<remarks>If the source location is different than the working directory, then
|
|
||||||
no files will be modified at the source location.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.LogMessage(System.String,System.Object[])">
|
|
||||||
<summary>
|
|
||||||
Sends a message to the <see cref="E:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.Message"/> event-handler.
|
|
||||||
</summary>
|
|
||||||
<param name="format">Message string, containing 0 or more format items</param>
|
|
||||||
<param name="args">Items to be formatted</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.FindFiles(System.String)">
|
|
||||||
<summary>
|
|
||||||
Gets the list of file keys that have the specified long file name.
|
|
||||||
</summary>
|
|
||||||
<param name="longFileName">File name to search for (case-insensitive)</param>
|
|
||||||
<returns>Array of file keys, or a 0-length array if none are found</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.FindFiles(System.Text.RegularExpressions.Regex)">
|
|
||||||
<summary>
|
|
||||||
Gets the list of file keys whose long file names match a specified
|
|
||||||
regular-expression search pattern.
|
|
||||||
</summary>
|
|
||||||
<param name="pattern">Regular expression search pattern</param>
|
|
||||||
<returns>Array of file keys, or a 0-length array if none are found</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.ExtractFiles">
|
|
||||||
<summary>
|
|
||||||
Extracts all files to the <see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.WorkingDirectory"/>. The files are extracted
|
|
||||||
to the relative directory matching their <see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPath.SourcePath"/>.
|
|
||||||
</summary>
|
|
||||||
<remarks>If any files have the uncompressed attribute, they will be copied
|
|
||||||
from the <see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.SourceDirectory"/>.</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.ExtractFiles(System.Collections.Generic.ICollection{System.String})">
|
|
||||||
<summary>
|
|
||||||
Extracts a specified list of files to the <see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.WorkingDirectory"/>. The files
|
|
||||||
are extracted to the relative directory matching their <see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPath.SourcePath"/>.
|
|
||||||
</summary>
|
|
||||||
<param name="fileKeys">List of file key strings to extract</param>
|
|
||||||
<remarks>If any files have the uncompressed attribute, they will be copied
|
|
||||||
from the <see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.SourceDirectory"/>.</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.UpdateFiles">
|
|
||||||
<summary>
|
|
||||||
Updates the install package with new files from the <see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.WorkingDirectory"/>. The
|
|
||||||
files must be in the relative directory matching their <see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPath.SourcePath"/>.
|
|
||||||
This method re-compresses and packages the files if necessary, and also updates the
|
|
||||||
following data: File.FileSize, File.Version, File.Language, MsiFileHash.HashPart*
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
The cabinet compression level used during re-cabbing can be configured with the
|
|
||||||
<see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.CompressionLevel"/> property.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.UpdateFiles(System.Collections.Generic.ICollection{System.String})">
|
|
||||||
<summary>
|
|
||||||
Updates the install package with new files from the <see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.WorkingDirectory"/>. The
|
|
||||||
files must be in the relative directory matching their <see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPath.SourcePath"/>.
|
|
||||||
This method re-compresses and packages the files if necessary, and also updates the
|
|
||||||
following data: File.FileSize, File.Version, File.Language, MsiFileHash.HashPart?.
|
|
||||||
</summary>
|
|
||||||
<param name="fileKeys">List of file key strings to update</param>
|
|
||||||
<remarks>
|
|
||||||
This method does not change the media structure of the package, so it may require extracting
|
|
||||||
and re-compressing a large cabinet just to update one file.
|
|
||||||
<p>The cabinet compression level used during re-cabbing can be configured with the
|
|
||||||
<see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.CompressionLevel"/> property.</p>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.Consolidate(System.String)">
|
|
||||||
<summary>
|
|
||||||
Consolidates a package by combining and re-compressing all files into a single
|
|
||||||
internal or external cabinet.
|
|
||||||
</summary>
|
|
||||||
<param name="mediaCabinet"></param>
|
|
||||||
<remarks>If an installation package was built from many merge modules, this
|
|
||||||
method can somewhat decrease package size, complexity, and installation time.
|
|
||||||
<p>This method will also convert a package with all or mostly uncompressed
|
|
||||||
files into a package where all files are compressed.</p>
|
|
||||||
<p>If the package contains any not-yet-applied binary file patches (for
|
|
||||||
example, a package generated by a call to <see cref="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.ApplyPatch(Microsoft.Deployment.WindowsInstaller.Package.PatchPackage,System.String)"/>) then
|
|
||||||
this method will apply the patches before compressing the updated files.</p>
|
|
||||||
<p>This method edits the database summary information and the File, Media
|
|
||||||
and Patch tables as necessary to maintain a valid installation package.</p>
|
|
||||||
<p>The cabinet compression level used during re-cabbing can be configured with the
|
|
||||||
<see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.CompressionLevel"/> property.</p>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.UpdateDirectories">
|
|
||||||
<summary>
|
|
||||||
Rebuilds the cached directory structure information accessed by the
|
|
||||||
<see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.Directories"/> and <see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.Files"/> properties. This
|
|
||||||
should be done after modifying the File, Component, or Directory
|
|
||||||
tables, or else the cached information may no longer be accurate.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.ApplyPatch(Microsoft.Deployment.WindowsInstaller.Package.PatchPackage,System.String)">
|
|
||||||
<summary>
|
|
||||||
Applies a patch package to the database, resulting in an installation package that
|
|
||||||
has the patch built-in.
|
|
||||||
</summary>
|
|
||||||
<param name="patchPackage">The patch package to be applied</param>
|
|
||||||
<param name="transform">Optional name of the specific transform to apply.
|
|
||||||
This parameter is usually left null, which causes the patch to be searched for
|
|
||||||
a transform that is valid to apply to this database.</param>
|
|
||||||
<remarks>
|
|
||||||
If the patch contains any binary file patches, they will not immediately be applied
|
|
||||||
to the target files, though they will at installation time.
|
|
||||||
<p>After calling this method you can use <see cref="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.Consolidate(System.String)"/> to apply
|
|
||||||
the file patches immediately and also discard any outdated files from the package.</p>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="E:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.Message">
|
|
||||||
<summary>
|
|
||||||
Handle this event to receive status messages when operations are performed
|
|
||||||
on the install package.
|
|
||||||
</summary>
|
|
||||||
<example>
|
|
||||||
<c>installPackage.Message += new InstallPackageMessageHandler(Console.WriteLine);</c>
|
|
||||||
</example>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.SourceDirectory">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the location to obtain source files and cabinets when
|
|
||||||
extracting or updating files in the working directory. This is often
|
|
||||||
the location of an original copy of the package that is not meant
|
|
||||||
to be modified.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.WorkingDirectory">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the location where files will be extracted to/updated from. Also
|
|
||||||
the location where a temporary folder is created during some operations.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.Directories">
|
|
||||||
<summary>
|
|
||||||
Gets a mapping from Directory keys to source/target paths.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
If the Directory table is modified, this mapping
|
|
||||||
will be outdated until you call <see cref="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.UpdateDirectories"/>.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.Files">
|
|
||||||
<summary>
|
|
||||||
Gets a mapping from File keys to source/target paths.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
If the File, Component, or Directory tables are modified, this mapping
|
|
||||||
may be outdated until you call <see cref="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.UpdateDirectories"/>.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.CompressionLevel">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the compression level used by <see cref="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.UpdateFiles"/>
|
|
||||||
and <see cref="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.Consolidate(System.String)"/>.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
If the Directory table is modified, this mapping will be outdated
|
|
||||||
until you close and reopen the install package.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage.Property">
|
|
||||||
<summary>
|
|
||||||
Accessor for getting and setting properties of the InstallPackage database.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Package.InstallPackageProperties">
|
|
||||||
<summary>
|
|
||||||
Accessor for getting and setting properties of the <see cref="T:Microsoft.Deployment.WindowsInstaller.Package.InstallPackage"/> database.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPackageProperties.Item(System.String)">
|
|
||||||
<summary>
|
|
||||||
Gets or sets a property in the database. When getting a property
|
|
||||||
that does not exist in the database, an empty string is returned.
|
|
||||||
To remove a property from the database, set it to an empty string.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
This has the same results as direct SQL queries on the Property table; it's only
|
|
||||||
meant to be a more convenient way of access.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Package.InstallPath">
|
|
||||||
<summary>
|
|
||||||
Represents the installation path of a file or directory from an installer product database.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPath.#ctor(System.String)">
|
|
||||||
<summary>
|
|
||||||
Creates a new InstallPath, specifying a filename.
|
|
||||||
</summary>
|
|
||||||
<param name="name">The name of the file or directory. Not a full path.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPath.#ctor(System.String,System.Boolean)">
|
|
||||||
<summary>
|
|
||||||
Creates a new InstallPath, parsing out either the short or long filename.
|
|
||||||
</summary>
|
|
||||||
<param name="name">The name of the file or directory, in short|long syntax for a filename
|
|
||||||
or targetshort|targetlong:sourceshort|sourcelong syntax for a directory.</param>
|
|
||||||
<param name="useShortNames">true to parse the short part of the combined filename; false to parse the long part</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPath.ToString">
|
|
||||||
<summary>
|
|
||||||
Gets the full source path.
|
|
||||||
</summary>
|
|
||||||
<returns><see cref="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPath.SourcePath"/></returns>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPath.ParentPath">
|
|
||||||
<summary>
|
|
||||||
Gets the path of the parent directory.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPath.ChildPaths">
|
|
||||||
<summary>
|
|
||||||
Gets the set of child paths if this InstallPath object represents a a directory.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPath.SourceName">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the source name of the InstallPath.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPath.TargetName">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the target name of the install path.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPath.SourcePath">
|
|
||||||
<summary>
|
|
||||||
Gets the full source path.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPath.TargetPath">
|
|
||||||
<summary>
|
|
||||||
Gets the full target path.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Package.InstallPathCollection">
|
|
||||||
<summary>
|
|
||||||
Represents a collection of InstallPaths that are the child paths of the same parent directory.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathCollection.Add(Microsoft.Deployment.WindowsInstaller.Package.InstallPath)">
|
|
||||||
<summary>
|
|
||||||
Adds a new child path to the collection.
|
|
||||||
</summary>
|
|
||||||
<param name="item">The InstallPath to add.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathCollection.Remove(Microsoft.Deployment.WindowsInstaller.Package.InstallPath)">
|
|
||||||
<summary>
|
|
||||||
Removes a child path to the collection.
|
|
||||||
</summary>
|
|
||||||
<param name="item">The InstallPath to remove.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathCollection.IndexOf(Microsoft.Deployment.WindowsInstaller.Package.InstallPath)">
|
|
||||||
<summary>
|
|
||||||
Gets the index of a child path in the collection.
|
|
||||||
</summary>
|
|
||||||
<param name="item">The InstallPath to search for.</param>
|
|
||||||
<returns>The index of the item, or -1 if not found.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathCollection.Insert(System.Int32,Microsoft.Deployment.WindowsInstaller.Package.InstallPath)">
|
|
||||||
<summary>
|
|
||||||
Inserts a child path into the collection.
|
|
||||||
</summary>
|
|
||||||
<param name="index">The insertion index.</param>
|
|
||||||
<param name="item">The InstallPath to insert.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathCollection.Contains(Microsoft.Deployment.WindowsInstaller.Package.InstallPath)">
|
|
||||||
<summary>
|
|
||||||
Tests if the collection contains a child path.
|
|
||||||
</summary>
|
|
||||||
<param name="item">The InstallPath to search for.</param>
|
|
||||||
<returns>true if the item is found; false otherwise</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathCollection.CopyTo(Microsoft.Deployment.WindowsInstaller.Package.InstallPath[],System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Copies the collection into an array.
|
|
||||||
</summary>
|
|
||||||
<param name="array">The array to copy into.</param>
|
|
||||||
<param name="index">The starting index in the destination array.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathCollection.RemoveAt(System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Removes an item from the collection.
|
|
||||||
</summary>
|
|
||||||
<param name="index">The index of the item to remove.</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathCollection.Clear">
|
|
||||||
<summary>
|
|
||||||
Removes all items from the collection.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathCollection.GetEnumerator">
|
|
||||||
<summary>
|
|
||||||
Gets an enumerator over all items in the collection.
|
|
||||||
</summary>
|
|
||||||
<returns>An enumerator for the collection.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPathCollection.Item(System.Int32)">
|
|
||||||
<summary>
|
|
||||||
Gets or sets the element at the specified index.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPathCollection.Count">
|
|
||||||
<summary>
|
|
||||||
Gets the number of items in the collection.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap">
|
|
||||||
<summary>
|
|
||||||
Represents a mapping of install paths for all directories, components, or files in
|
|
||||||
an installation database.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.BuildFilePathMap(Microsoft.Deployment.WindowsInstaller.Database,Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap,System.Boolean)">
|
|
||||||
<summary>
|
|
||||||
Builds a mapping from File keys to installation paths.
|
|
||||||
</summary>
|
|
||||||
<param name="db">Installation database.</param>
|
|
||||||
<param name="componentPathMap">Component mapping returned by <see cref="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.BuildComponentPathMap(Microsoft.Deployment.WindowsInstaller.Database,Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap)"/>.</param>
|
|
||||||
<param name="useShortNames">true to use short file names; false to use long names</param>
|
|
||||||
<returns>An InstallPathMap with the described mapping.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.BuildComponentPathMap(Microsoft.Deployment.WindowsInstaller.Database,Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap)">
|
|
||||||
<summary>
|
|
||||||
Builds a mapping from Component keys to installation paths.
|
|
||||||
</summary>
|
|
||||||
<param name="db">Installation database.</param>
|
|
||||||
<param name="directoryPathMap">Directory mapping returned by
|
|
||||||
<see cref="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.BuildDirectoryPathMap(Microsoft.Deployment.WindowsInstaller.Database,System.Boolean)"/>.</param>
|
|
||||||
<returns>An InstallPathMap with the described mapping.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.BuildDirectoryPathMap(Microsoft.Deployment.WindowsInstaller.Database,System.Boolean)">
|
|
||||||
<summary>
|
|
||||||
Builds a mapping from Directory keys to installation paths.
|
|
||||||
</summary>
|
|
||||||
<param name="db">Installation database.</param>
|
|
||||||
<param name="useShortNames">true to use short directory names; false to use long names</param>
|
|
||||||
<returns>An InstallPathMap with the described mapping.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.BuildDirectoryPathMap(Microsoft.Deployment.WindowsInstaller.Database,System.Boolean,System.String,System.String)">
|
|
||||||
<summary>
|
|
||||||
Builds a mapping of Directory keys to directory paths, specifying root directories
|
|
||||||
for the source and target paths.
|
|
||||||
</summary>
|
|
||||||
<param name="db">Database containing the Directory table.</param>
|
|
||||||
<param name="useShortNames">true to use short directory names; false to use long names</param>
|
|
||||||
<param name="sourceRootDir">The root directory path of all source paths, or null to leave them relative.</param>
|
|
||||||
<param name="targetRootDir">The root directory path of all source paths, or null to leave them relative.</param>
|
|
||||||
<returns>An InstallPathMap with the described mapping.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.#ctor">
|
|
||||||
<summary>
|
|
||||||
Creates a new empty InstallPathMap.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.Add(System.String,Microsoft.Deployment.WindowsInstaller.Package.InstallPath)">
|
|
||||||
<summary>
|
|
||||||
Sets an install path for a direcotry, component, or file key.
|
|
||||||
</summary>
|
|
||||||
<param name="key">Depending on the type of InstallPathMap, this is the primary key from the
|
|
||||||
either the Directory, Component, or File table.</param>
|
|
||||||
<param name="installPath">The install path of the key item.</param>
|
|
||||||
<remarks>
|
|
||||||
Changing an install path does not modify the Database used to generate this InstallPathMap.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.Remove(System.String)">
|
|
||||||
<summary>
|
|
||||||
Removes an install path from the map.
|
|
||||||
</summary>
|
|
||||||
<param name="key">Depending on the type of InstallPathMap, this is the primary key from the
|
|
||||||
either the Directory, Component, or File table.</param>
|
|
||||||
<returns>true if the item was removed, false if it did not exist</returns>
|
|
||||||
<remarks>
|
|
||||||
Changing an install path does not modify the Database used to generate this InstallPathMap.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.ContainsKey(System.String)">
|
|
||||||
<summary>
|
|
||||||
Tests whether a direcotry, component, or file key exists in the map.
|
|
||||||
</summary>
|
|
||||||
<param name="key">Depending on the type of InstallPathMap, this is the primary key from the
|
|
||||||
either the Directory, Component, or File table.</param>
|
|
||||||
<returns>true if the key is found; false otherwise</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.TryGetValue(System.String,Microsoft.Deployment.WindowsInstaller.Package.InstallPath@)">
|
|
||||||
<summary>
|
|
||||||
Attempts to get a value from the dictionary.
|
|
||||||
</summary>
|
|
||||||
<param name="key">The key to lookup.</param>
|
|
||||||
<param name="value">Receives the value, or null if they key was not found.</param>
|
|
||||||
<returns>True if the value was found, else false.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.Clear">
|
|
||||||
<summary>
|
|
||||||
Removes all entries from the dictionary.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.GetEnumerator">
|
|
||||||
<summary>
|
|
||||||
Gets an enumerator over all entries in the dictionary.
|
|
||||||
</summary>
|
|
||||||
<returns>An enumerator for the dictionary.</returns>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.SourcePaths">
|
|
||||||
<summary>
|
|
||||||
Gets a mapping from keys to source paths.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.TargetPaths">
|
|
||||||
<summary>
|
|
||||||
Gets a mapping from keys to target paths.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.Item(System.String)">
|
|
||||||
<summary>
|
|
||||||
Gets or sets an install path for a direcotry, component, or file key.
|
|
||||||
</summary>
|
|
||||||
<param name="key">Depending on the type of InstallPathMap, this is the primary key from the
|
|
||||||
either the Directory, Component, or File table.</param>
|
|
||||||
<remarks>
|
|
||||||
Changing an install path does not modify the Database used to generate this InstallPathMap.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.Keys">
|
|
||||||
<summary>
|
|
||||||
Gets the collection of keys in the InstallPathMap. Depending on the type of InstallPathMap,
|
|
||||||
they are all directory, component, or file key strings.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.Values">
|
|
||||||
<summary>
|
|
||||||
Gets the collection of InstallPath values in the InstallPathMap.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.InstallPathMap.Count">
|
|
||||||
<summary>
|
|
||||||
Gets the number of entries in the dictionary.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage">
|
|
||||||
<summary>
|
|
||||||
Provides access to convenient properties and operations on a patch package (.MSP).
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage.#ctor(System.String)">
|
|
||||||
<summary>
|
|
||||||
Creates a new patch package object; opening the patch database in read-only mode.
|
|
||||||
</summary>
|
|
||||||
<param name="packagePath">Path to the patch package (.MSP)</param>
|
|
||||||
<remarks>The PatchPackage object only opens the patch database in read-only mode, because
|
|
||||||
transforms (sub-storages) cannot be read if the database is open in read-write mode.</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage.LogMessage(System.String,System.Object[])">
|
|
||||||
<summary>
|
|
||||||
Sends a message to the <see cref="E:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage.Message"/> event-handler.
|
|
||||||
</summary>
|
|
||||||
<param name="format">Message string, containing 0 or more format items</param>
|
|
||||||
<param name="args">Items to be formatted</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage.GetReplacedPatchCodes">
|
|
||||||
<summary>
|
|
||||||
Gets the list of patch codes that are replaced by this patch package.
|
|
||||||
</summary>
|
|
||||||
<returns>Array of replaced patch codes (GUIDs)</returns>
|
|
||||||
<remarks>
|
|
||||||
The list of replaced patch codes is stored in the RevisionNumber field of the patch summary information.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage.GetTargetProductCodes">
|
|
||||||
<summary>
|
|
||||||
Gets the list of product codes of products targeted by this patch package.
|
|
||||||
</summary>
|
|
||||||
<returns>Array of product codes (GUIDs)</returns>
|
|
||||||
<remarks>
|
|
||||||
The list of target product codes is stored in the Template field of the patch summary information.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage.GetTransforms">
|
|
||||||
<summary>
|
|
||||||
Gets the names of the transforms included in the patch package.
|
|
||||||
</summary>
|
|
||||||
<returns>Array of transform names</returns>
|
|
||||||
<remarks>
|
|
||||||
The returned list does not include the "patch special transforms" that are prefixed with "#"
|
|
||||||
<p>The list of transform names is stored in the LastSavedBy field of the patch summary information.</p>
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage.GetTransforms(System.Boolean)">
|
|
||||||
<summary>
|
|
||||||
Gets the names of the transforms included in the patch package.
|
|
||||||
</summary>
|
|
||||||
<param name="includeSpecialTransforms">Specifies whether to include the
|
|
||||||
"patch special transforms" that are prefixed with "#"</param>
|
|
||||||
<returns>Array of transform names</returns>
|
|
||||||
<remarks>
|
|
||||||
The list of transform names is stored in the LastSavedBy field of the patch summary information.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage.GetTransformsInfo">
|
|
||||||
<summary>
|
|
||||||
Gets information about the transforms included in the patch package.
|
|
||||||
</summary>
|
|
||||||
<returns>Array containing information about each transform</returns>
|
|
||||||
<remarks>
|
|
||||||
The returned info does not include the "patch special transforms" that are prefixed with "#"
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage.GetTransformsInfo(System.Boolean)">
|
|
||||||
<summary>
|
|
||||||
Gets information about the transforms included in the patch package.
|
|
||||||
</summary>
|
|
||||||
<param name="includeSpecialTransforms">Specifies whether to include the
|
|
||||||
"patch special transforms" that are prefixed with "#"</param>
|
|
||||||
<returns>Array containing information about each transform</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage.GetTransformInfo(System.String)">
|
|
||||||
<summary>
|
|
||||||
Gets information about a transforms included in the patch package.
|
|
||||||
</summary>
|
|
||||||
<param name="transform">Name of the transform to extract; this may optionally be a
|
|
||||||
special transform prefixed by "#"</param>
|
|
||||||
<returns>Information about the transform</returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage.GetValidTransforms(Microsoft.Deployment.WindowsInstaller.Package.InstallPackage)">
|
|
||||||
<summary>
|
|
||||||
Analyzes the transforms included in the patch package to find the ones that
|
|
||||||
are applicable to an install package.
|
|
||||||
</summary>
|
|
||||||
<param name="installPackage">The install package to validate the transforms against</param>
|
|
||||||
<returns>Array of valid transform names</returns>
|
|
||||||
<remarks>
|
|
||||||
The returned list does not include the "patch special transforms" that
|
|
||||||
are prefixed with "#" If a transform is valid, then its corresponding
|
|
||||||
special transform is assumed to be valid as well.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage.ExtractTransform(System.String,System.String)">
|
|
||||||
<summary>
|
|
||||||
Extracts a transform (.MST) from a patch package.
|
|
||||||
</summary>
|
|
||||||
<param name="transform">Name of the transform to extract; this may optionally be a
|
|
||||||
special transform prefixed by "#"</param>
|
|
||||||
<param name="extractFile">Location where the transform will be extracted</param>
|
|
||||||
</member>
|
|
||||||
<member name="E:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage.Message">
|
|
||||||
<summary>
|
|
||||||
Handle this event to receive status messages when operations are performed on the patch package.
|
|
||||||
</summary>
|
|
||||||
<example>
|
|
||||||
<c>patchPackage.Message += new InstallPackageMessageHandler(Console.WriteLine);</c>
|
|
||||||
</example>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.PatchPackage.PatchCode">
|
|
||||||
<summary>
|
|
||||||
Gets the patch code (GUID) of the patch package.
|
|
||||||
</summary>
|
|
||||||
<remarks>
|
|
||||||
The patch code is stored in the RevisionNumber field of the patch summary information.
|
|
||||||
</remarks>
|
|
||||||
</member>
|
|
||||||
<member name="T:Microsoft.Deployment.WindowsInstaller.Package.TransformInfo">
|
|
||||||
<summary>
|
|
||||||
Contains properties of a transform package (.MST).
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.TransformInfo.#ctor(System.String)">
|
|
||||||
<summary>
|
|
||||||
Reads transform information from a transform package.
|
|
||||||
</summary>
|
|
||||||
<param name="mstFile">Path to a transform package (.MST file).</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.TransformInfo.#ctor(System.String,Microsoft.Deployment.WindowsInstaller.SummaryInfo)">
|
|
||||||
<summary>
|
|
||||||
Reads transform information from the summary information of a transform package.
|
|
||||||
</summary>
|
|
||||||
<param name="name">Filename of the transform (optional).</param>
|
|
||||||
<param name="transformSummaryInfo">Handle to the summary information of a transform package (.MST file).</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:Microsoft.Deployment.WindowsInstaller.Package.TransformInfo.ToString">
|
|
||||||
<summary>
|
|
||||||
Returns the name of the transform.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.TransformInfo.Name">
|
|
||||||
<summary>
|
|
||||||
Gets the filename of the transform.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.TransformInfo.TargetProductCode">
|
|
||||||
<summary>
|
|
||||||
Gets the target product code of the transform.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.TransformInfo.TargetProductVersion">
|
|
||||||
<summary>
|
|
||||||
Gets the target product version of the transform.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.TransformInfo.UpgradeProductCode">
|
|
||||||
<summary>
|
|
||||||
Gets the upgrade product code of the transform.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.TransformInfo.UpgradeProductVersion">
|
|
||||||
<summary>
|
|
||||||
Gets the upgrade product version of the transform.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.TransformInfo.UpgradeCode">
|
|
||||||
<summary>
|
|
||||||
Gets the upgrade code of the transform.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.TransformInfo.TargetPlatform">
|
|
||||||
<summary>
|
|
||||||
Gets the target platform of the transform.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.TransformInfo.TargetLanguage">
|
|
||||||
<summary>
|
|
||||||
Gets the target language of the transform, or 0 if the transform is language-neutral.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:Microsoft.Deployment.WindowsInstaller.Package.TransformInfo.Validations">
|
|
||||||
<summary>
|
|
||||||
Gets the validation flags specified when the transform was generated.
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
</members>
|
|
||||||
</doc>
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,601 +0,0 @@
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
// <copyright file="BalBaseBootstrapperApplication.h" company="Outercurve Foundation">
|
|
||||||
// Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
// This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
// The license and further copyright text can be found in the file
|
|
||||||
// LICENSE.TXT at the root directory of the distribution.
|
|
||||||
// </copyright>
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#include <windows.h>
|
|
||||||
#include <msiquery.h>
|
|
||||||
|
|
||||||
#include "IBootstrapperEngine.h"
|
|
||||||
#include "IBootstrapperApplication.h"
|
|
||||||
|
|
||||||
#include "balutil.h"
|
|
||||||
#include "balretry.h"
|
|
||||||
|
|
||||||
class CBalBaseBootstrapperApplication : public IBootstrapperApplication
|
|
||||||
{
|
|
||||||
public: // IUnknown
|
|
||||||
virtual STDMETHODIMP QueryInterface(
|
|
||||||
__in REFIID riid,
|
|
||||||
__out LPVOID *ppvObject
|
|
||||||
)
|
|
||||||
{
|
|
||||||
if (!ppvObject)
|
|
||||||
{
|
|
||||||
return E_INVALIDARG;
|
|
||||||
}
|
|
||||||
|
|
||||||
*ppvObject = NULL;
|
|
||||||
|
|
||||||
if (::IsEqualIID(__uuidof(IBootstrapperApplication), riid))
|
|
||||||
{
|
|
||||||
*ppvObject = static_cast<IBootstrapperApplication*>(this);
|
|
||||||
}
|
|
||||||
else if (::IsEqualIID(IID_IUnknown, riid))
|
|
||||||
{
|
|
||||||
*ppvObject = static_cast<IUnknown*>(this);
|
|
||||||
}
|
|
||||||
else // no interface for requested iid
|
|
||||||
{
|
|
||||||
return E_NOINTERFACE;
|
|
||||||
}
|
|
||||||
|
|
||||||
AddRef();
|
|
||||||
return S_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(ULONG) AddRef()
|
|
||||||
{
|
|
||||||
return ::InterlockedIncrement(&this->m_cReferences);
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(ULONG) Release()
|
|
||||||
{
|
|
||||||
long l = ::InterlockedDecrement(&this->m_cReferences);
|
|
||||||
if (0 < l)
|
|
||||||
{
|
|
||||||
return l;
|
|
||||||
}
|
|
||||||
|
|
||||||
delete this;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public: // IBurnUserExperience
|
|
||||||
virtual STDMETHODIMP OnStartup()
|
|
||||||
{
|
|
||||||
return S_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnShutdown()
|
|
||||||
{
|
|
||||||
return IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnSystemShutdown(
|
|
||||||
__in DWORD dwEndSession,
|
|
||||||
__in int /*nRecommendation*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
// Allow requests to shut down when critical or not applying.
|
|
||||||
if (ENDSESSION_CRITICAL & dwEndSession || !m_fApplying)
|
|
||||||
{
|
|
||||||
return IDOK;
|
|
||||||
}
|
|
||||||
|
|
||||||
return IDCANCEL;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnDetectBegin(
|
|
||||||
__in BOOL /*fInstalled*/,
|
|
||||||
__in DWORD /*cPackages*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnDetectForwardCompatibleBundle(
|
|
||||||
__in_z LPCWSTR /*wzBundleId*/,
|
|
||||||
__in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
|
|
||||||
__in_z LPCWSTR /*wzBundleTag*/,
|
|
||||||
__in BOOL /*fPerMachine*/,
|
|
||||||
__in DWORD64 /*dw64Version*/,
|
|
||||||
__in int nRecommendation
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : nRecommendation;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnDetectUpdateBegin(
|
|
||||||
__in_z LPCWSTR /*wzUpdateLocation*/,
|
|
||||||
__in int nRecommendation
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : nRecommendation;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(void) OnDetectUpdateComplete(
|
|
||||||
__in HRESULT /*hrStatus*/,
|
|
||||||
__in_z_opt LPCWSTR /*wzUpdateLocation*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnDetectPriorBundle(
|
|
||||||
__in_z LPCWSTR /*wzBundleId*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnDetectPackageBegin(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnDetectRelatedBundle(
|
|
||||||
__in_z LPCWSTR /*wzBundleId*/,
|
|
||||||
__in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
|
|
||||||
__in_z LPCWSTR /*wzBundleTag*/,
|
|
||||||
__in BOOL /*fPerMachine*/,
|
|
||||||
__in DWORD64 /*dw64Version*/,
|
|
||||||
__in BOOTSTRAPPER_RELATED_OPERATION /*operation*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnDetectRelatedMsiPackage(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in_z LPCWSTR /*wzProductCode*/,
|
|
||||||
__in BOOL /*fPerMachine*/,
|
|
||||||
__in DWORD64 /*dw64Version*/,
|
|
||||||
__in BOOTSTRAPPER_RELATED_OPERATION /*operation*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnDetectTargetMsiPackage(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in_z LPCWSTR /*wzProductCode*/,
|
|
||||||
__in BOOTSTRAPPER_PACKAGE_STATE /*patchState*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnDetectMsiFeature(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in_z LPCWSTR /*wzFeatureId*/,
|
|
||||||
__in BOOTSTRAPPER_FEATURE_STATE /*state*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(void) OnDetectPackageComplete(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in HRESULT /*hrStatus*/,
|
|
||||||
__in BOOTSTRAPPER_PACKAGE_STATE /*state*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(void) OnDetectComplete(
|
|
||||||
__in HRESULT /*hrStatus*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnPlanBegin(
|
|
||||||
__in DWORD /*cPackages*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnPlanRelatedBundle(
|
|
||||||
__in_z LPCWSTR /*wzBundleId*/,
|
|
||||||
__inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestedState*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnPlanPackageBegin(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestState*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnPlanTargetMsiPackage(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in_z LPCWSTR /*wzProductCode*/,
|
|
||||||
__inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestedState*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnPlanMsiFeature(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in_z LPCWSTR /*wzFeatureId*/,
|
|
||||||
__inout BOOTSTRAPPER_FEATURE_STATE* /*pRequestedState*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(void) OnPlanPackageComplete(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in HRESULT /*hrStatus*/,
|
|
||||||
__in BOOTSTRAPPER_PACKAGE_STATE /*state*/,
|
|
||||||
__in BOOTSTRAPPER_REQUEST_STATE /*requested*/,
|
|
||||||
__in BOOTSTRAPPER_ACTION_STATE /*execute*/,
|
|
||||||
__in BOOTSTRAPPER_ACTION_STATE /*rollback*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(void) OnPlanComplete(
|
|
||||||
__in HRESULT /*hrStatus*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnApplyBegin()
|
|
||||||
{
|
|
||||||
m_fApplying = TRUE;
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnElevate()
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnRegisterBegin()
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(void) OnRegisterComplete(
|
|
||||||
__in HRESULT /*hrStatus*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(void) OnUnregisterBegin()
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(void) OnUnregisterComplete(
|
|
||||||
__in HRESULT /*hrStatus*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnApplyComplete(
|
|
||||||
__in HRESULT /*hrStatus*/,
|
|
||||||
__in BOOTSTRAPPER_APPLY_RESTART restart
|
|
||||||
)
|
|
||||||
{
|
|
||||||
m_fApplying = FALSE;
|
|
||||||
return BOOTSTRAPPER_APPLY_RESTART_REQUIRED == restart ? IDRESTART : CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnCacheBegin()
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnCachePackageBegin(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in DWORD /*cCachePayloads*/,
|
|
||||||
__in DWORD64 /*dw64PackageCacheSize*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnCacheAcquireBegin(
|
|
||||||
__in_z LPCWSTR wzPackageOrContainerId,
|
|
||||||
__in_z_opt LPCWSTR wzPayloadId,
|
|
||||||
__in BOOTSTRAPPER_CACHE_OPERATION /*operation*/,
|
|
||||||
__in_z LPCWSTR /*wzSource*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
BalRetryStartPackage(BALRETRY_TYPE_CACHE, wzPackageOrContainerId, wzPayloadId);
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnCacheAcquireProgress(
|
|
||||||
__in_z LPCWSTR /*wzPackageOrContainerId*/,
|
|
||||||
__in_z_opt LPCWSTR /*wzPayloadId*/,
|
|
||||||
__in DWORD64 /*dw64Progress*/,
|
|
||||||
__in DWORD64 /*dw64Total*/,
|
|
||||||
__in DWORD /*dwOverallPercentage*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnCacheAcquireComplete(
|
|
||||||
__in_z LPCWSTR wzPackageOrContainerId,
|
|
||||||
__in_z_opt LPCWSTR wzPayloadId,
|
|
||||||
__in HRESULT hrStatus,
|
|
||||||
__in int nRecommendation
|
|
||||||
)
|
|
||||||
{
|
|
||||||
int nResult = CheckCanceled() ? IDCANCEL : BalRetryEndPackage(BALRETRY_TYPE_CACHE, wzPackageOrContainerId, wzPayloadId, hrStatus);
|
|
||||||
return IDNOACTION == nResult ? nRecommendation : nResult;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnCacheVerifyBegin(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in_z LPCWSTR /*wzPayloadId*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnCacheVerifyComplete(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in_z LPCWSTR /*wzPayloadId*/,
|
|
||||||
__in HRESULT /*hrStatus*/,
|
|
||||||
__in int nRecommendation
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : nRecommendation;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnCachePackageComplete(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in HRESULT /*hrStatus*/,
|
|
||||||
__in int nRecommendation
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : nRecommendation;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(void) OnCacheComplete(
|
|
||||||
__in HRESULT /*hrStatus*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnExecuteBegin(
|
|
||||||
__in DWORD /*cExecutingPackages*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnExecutePackageBegin(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in BOOL fExecute
|
|
||||||
)
|
|
||||||
{
|
|
||||||
// Only track retry on execution (not rollback).
|
|
||||||
if (fExecute)
|
|
||||||
{
|
|
||||||
BalRetryStartPackage(BALRETRY_TYPE_EXECUTE, wzPackageId, NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
m_fRollingBack = !fExecute;
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnExecutePatchTarget(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in_z LPCWSTR /*wzTargetProductCode*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnError(
|
|
||||||
__in BOOTSTRAPPER_ERROR_TYPE errorType,
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in DWORD dwCode,
|
|
||||||
__in_z LPCWSTR /*wzError*/,
|
|
||||||
__in DWORD /*dwUIHint*/,
|
|
||||||
__in DWORD /*cData*/,
|
|
||||||
__in_ecount_z_opt(cData) LPCWSTR* /*rgwzData*/,
|
|
||||||
__in int nRecommendation
|
|
||||||
)
|
|
||||||
{
|
|
||||||
BalRetryErrorOccurred(wzPackageId, dwCode);
|
|
||||||
|
|
||||||
if (BOOTSTRAPPER_DISPLAY_FULL == m_display)
|
|
||||||
{
|
|
||||||
if (BOOTSTRAPPER_ERROR_TYPE_HTTP_AUTH_SERVER == errorType ||BOOTSTRAPPER_ERROR_TYPE_HTTP_AUTH_PROXY == errorType)
|
|
||||||
{
|
|
||||||
nRecommendation = IDTRYAGAIN;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return CheckCanceled() ? IDCANCEL : nRecommendation;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnProgress(
|
|
||||||
__in DWORD /*dwProgressPercentage*/,
|
|
||||||
__in DWORD /*dwOverallProgressPercentage*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnDownloadPayloadBegin(
|
|
||||||
__in_z LPCWSTR /*wzPayloadId*/,
|
|
||||||
__in_z LPCWSTR /*wzPayloadFileName*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnDownloadPayloadComplete(
|
|
||||||
__in_z LPCWSTR /*wzPayloadId*/,
|
|
||||||
__in_z LPCWSTR /*wzPayloadFileName*/,
|
|
||||||
__in HRESULT /*hrStatus*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnExecuteProgress(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in DWORD /*dwProgressPercentage*/,
|
|
||||||
__in DWORD /*dwOverallProgressPercentage*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnExecuteMsiMessage(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in INSTALLMESSAGE /*mt*/,
|
|
||||||
__in UINT /*uiFlags*/,
|
|
||||||
__in_z LPCWSTR /*wzMessage*/,
|
|
||||||
__in DWORD /*cData*/,
|
|
||||||
__in_ecount_z_opt(cData) LPCWSTR* /*rgwzData*/,
|
|
||||||
__in int nRecommendation
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : nRecommendation;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnExecuteFilesInUse(
|
|
||||||
__in_z LPCWSTR /*wzPackageId*/,
|
|
||||||
__in DWORD /*cFiles*/,
|
|
||||||
__in_ecount_z(cFiles) LPCWSTR* /*rgwzFiles*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnExecutePackageComplete(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in HRESULT hrExitCode,
|
|
||||||
__in BOOTSTRAPPER_APPLY_RESTART /*restart*/,
|
|
||||||
__in int nRecommendation
|
|
||||||
)
|
|
||||||
{
|
|
||||||
int nResult = CheckCanceled() ? IDCANCEL : CheckCanceled() ? IDCANCEL : BalRetryEndPackage(BALRETRY_TYPE_EXECUTE, wzPackageId, NULL, hrExitCode);
|
|
||||||
return IDNOACTION == nResult ? nRecommendation : nResult;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(void) OnExecuteComplete(
|
|
||||||
__in HRESULT /*hrStatus*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual STDMETHODIMP_(int) OnResolveSource(
|
|
||||||
__in_z LPCWSTR /*wzPackageOrContainerId*/,
|
|
||||||
__in_z_opt LPCWSTR /*wzPayloadId*/,
|
|
||||||
__in_z LPCWSTR /*wzLocalSource*/,
|
|
||||||
__in_z_opt LPCWSTR /*wzDownloadSource*/
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return CheckCanceled() ? IDCANCEL : IDNOACTION;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected:
|
|
||||||
//
|
|
||||||
// PromptCancel - prompts the user to close (if not forced).
|
|
||||||
//
|
|
||||||
virtual BOOL PromptCancel(
|
|
||||||
__in HWND hWnd,
|
|
||||||
__in BOOL fForceCancel,
|
|
||||||
__in_z LPCWSTR wzMessage,
|
|
||||||
__in_z LPCWSTR wzCaption
|
|
||||||
)
|
|
||||||
{
|
|
||||||
::EnterCriticalSection(&m_csCanceled);
|
|
||||||
|
|
||||||
// Only prompt the user to close if we have not canceled already.
|
|
||||||
if (!m_fCanceled)
|
|
||||||
{
|
|
||||||
if (fForceCancel)
|
|
||||||
{
|
|
||||||
m_fCanceled = TRUE;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
m_fCanceled = (IDYES == ::MessageBoxW(hWnd, wzMessage, wzCaption, MB_YESNO | MB_ICONEXCLAMATION));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
::LeaveCriticalSection(&m_csCanceled);
|
|
||||||
|
|
||||||
return m_fCanceled;
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
|
||||||
// CheckCanceled - waits if the cancel dialog is up and checks to see if the user canceled the operation.
|
|
||||||
//
|
|
||||||
BOOL CheckCanceled()
|
|
||||||
{
|
|
||||||
::EnterCriticalSection(&m_csCanceled);
|
|
||||||
::LeaveCriticalSection(&m_csCanceled);
|
|
||||||
return m_fRollingBack ? FALSE : m_fCanceled;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL IsRollingBack()
|
|
||||||
{
|
|
||||||
return m_fRollingBack;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL IsCanceled()
|
|
||||||
{
|
|
||||||
return m_fCanceled;
|
|
||||||
}
|
|
||||||
|
|
||||||
CBalBaseBootstrapperApplication(
|
|
||||||
__in IBootstrapperEngine* /*pEngine*/,
|
|
||||||
__in const BOOTSTRAPPER_COMMAND* pCommand,
|
|
||||||
__in DWORD dwRetryCount = 0,
|
|
||||||
__in DWORD dwRetryTimeout = 1000
|
|
||||||
)
|
|
||||||
{
|
|
||||||
m_cReferences = 1;
|
|
||||||
m_display = pCommand->display;
|
|
||||||
m_restart = pCommand->restart;
|
|
||||||
|
|
||||||
::InitializeCriticalSection(&m_csCanceled);
|
|
||||||
m_fCanceled = FALSE;
|
|
||||||
m_fApplying = FALSE;
|
|
||||||
m_fRollingBack = FALSE;
|
|
||||||
|
|
||||||
BalRetryInitialize(dwRetryCount, dwRetryTimeout);
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual ~CBalBaseBootstrapperApplication()
|
|
||||||
{
|
|
||||||
BalRetryUninitialize();
|
|
||||||
::DeleteCriticalSection(&m_csCanceled);
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
|
||||||
long m_cReferences;
|
|
||||||
BOOTSTRAPPER_DISPLAY m_display;
|
|
||||||
BOOTSTRAPPER_RESTART m_restart;
|
|
||||||
|
|
||||||
CRITICAL_SECTION m_csCanceled;
|
|
||||||
BOOL m_fCanceled;
|
|
||||||
BOOL m_fApplying;
|
|
||||||
BOOL m_fRollingBack;
|
|
||||||
};
|
|
|
@ -1,694 +0,0 @@
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
// <copyright file="IBootstrapperApplication.h" company="Outercurve Foundation">
|
|
||||||
// Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
// This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
// The license and further copyright text can be found in the file
|
|
||||||
// LICENSE.TXT at the root directory of the distribution.
|
|
||||||
// </copyright>
|
|
||||||
//
|
|
||||||
// <summary>
|
|
||||||
// IBootstrapperApplication implemented by a bootstrapper application and used by bootstrapper engine.
|
|
||||||
// </summary>
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_DISPLAY
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_DISPLAY_UNKNOWN,
|
|
||||||
BOOTSTRAPPER_DISPLAY_EMBEDDED,
|
|
||||||
BOOTSTRAPPER_DISPLAY_NONE,
|
|
||||||
BOOTSTRAPPER_DISPLAY_PASSIVE,
|
|
||||||
BOOTSTRAPPER_DISPLAY_FULL,
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_RESTART
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_RESTART_UNKNOWN,
|
|
||||||
BOOTSTRAPPER_RESTART_NEVER,
|
|
||||||
BOOTSTRAPPER_RESTART_PROMPT,
|
|
||||||
BOOTSTRAPPER_RESTART_AUTOMATIC,
|
|
||||||
BOOTSTRAPPER_RESTART_ALWAYS,
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_RESUME_TYPE
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_RESUME_TYPE_NONE,
|
|
||||||
BOOTSTRAPPER_RESUME_TYPE_INVALID, // resume information is present but invalid
|
|
||||||
BOOTSTRAPPER_RESUME_TYPE_INTERRUPTED, // relaunched after an unexpected interruption
|
|
||||||
BOOTSTRAPPER_RESUME_TYPE_REBOOT_PENDING, // reboot has not taken place yet
|
|
||||||
BOOTSTRAPPER_RESUME_TYPE_REBOOT, // relaunched after reboot
|
|
||||||
BOOTSTRAPPER_RESUME_TYPE_SUSPEND, // relaunched after suspend
|
|
||||||
BOOTSTRAPPER_RESUME_TYPE_ARP, // launched from ARP
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_ERROR_TYPE
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_ERROR_TYPE_ELEVATE, // error occurred trying to elevate.
|
|
||||||
BOOTSTRAPPER_ERROR_TYPE_WINDOWS_INSTALLER, // error came from windows installer.
|
|
||||||
BOOTSTRAPPER_ERROR_TYPE_EXE_PACKAGE, // error came from an exe package.
|
|
||||||
BOOTSTRAPPER_ERROR_TYPE_HTTP_AUTH_SERVER, // error occurred trying to authenticate with HTTP server.
|
|
||||||
BOOTSTRAPPER_ERROR_TYPE_HTTP_AUTH_PROXY, // error occurred trying to authenticate with HTTP proxy.
|
|
||||||
BOOTSTRAPPER_ERROR_TYPE_APPLY, // error occurred during apply.
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_RELATED_OPERATION
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_RELATED_OPERATION_NONE,
|
|
||||||
BOOTSTRAPPER_RELATED_OPERATION_DOWNGRADE,
|
|
||||||
BOOTSTRAPPER_RELATED_OPERATION_MINOR_UPDATE,
|
|
||||||
BOOTSTRAPPER_RELATED_OPERATION_MAJOR_UPGRADE,
|
|
||||||
BOOTSTRAPPER_RELATED_OPERATION_REMOVE,
|
|
||||||
BOOTSTRAPPER_RELATED_OPERATION_INSTALL,
|
|
||||||
BOOTSTRAPPER_RELATED_OPERATION_REPAIR,
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_CACHE_OPERATION
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_CACHE_OPERATION_COPY,
|
|
||||||
BOOTSTRAPPER_CACHE_OPERATION_DOWNLOAD,
|
|
||||||
BOOTSTRAPPER_CACHE_OPERATION_EXTRACT,
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_APPLY_RESTART
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_APPLY_RESTART_NONE,
|
|
||||||
BOOTSTRAPPER_APPLY_RESTART_REQUIRED,
|
|
||||||
BOOTSTRAPPER_APPLY_RESTART_INITIATED,
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_RELATION_TYPE
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_RELATION_NONE,
|
|
||||||
BOOTSTRAPPER_RELATION_DETECT,
|
|
||||||
BOOTSTRAPPER_RELATION_UPGRADE,
|
|
||||||
BOOTSTRAPPER_RELATION_ADDON,
|
|
||||||
BOOTSTRAPPER_RELATION_PATCH,
|
|
||||||
BOOTSTRAPPER_RELATION_DEPENDENT,
|
|
||||||
BOOTSTRAPPER_RELATION_UPDATE,
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
struct BOOTSTRAPPER_COMMAND
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_ACTION action;
|
|
||||||
BOOTSTRAPPER_DISPLAY display;
|
|
||||||
BOOTSTRAPPER_RESTART restart;
|
|
||||||
|
|
||||||
LPWSTR wzCommandLine;
|
|
||||||
int nCmdShow;
|
|
||||||
|
|
||||||
BOOTSTRAPPER_RESUME_TYPE resumeType;
|
|
||||||
HWND hwndSplashScreen;
|
|
||||||
|
|
||||||
// If this was run from a related bundle, specifies the relation type
|
|
||||||
BOOTSTRAPPER_RELATION_TYPE relationType;
|
|
||||||
BOOL fPassthrough;
|
|
||||||
|
|
||||||
LPWSTR wzLayoutDirectory;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-AB06-099D717C67FE")
|
|
||||||
{
|
|
||||||
// OnStartup - called when the engine is ready for the bootstrapper application to start.
|
|
||||||
//
|
|
||||||
STDMETHOD(OnStartup)() = 0;
|
|
||||||
|
|
||||||
// OnShutdown - called after the bootstrapper application quits the engine.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDRESTART instructs the engine to restart. The engine will not launch again after the machine
|
|
||||||
// is rebooted. Ignored if reboot was already initiated by OnExecutePackageComplete().
|
|
||||||
//
|
|
||||||
// IDRELOAD_BOOTSTRAPPER instructs the engine to unload the bootstrapper application and restart
|
|
||||||
// the engine which will load the bootstrapper application again. Typically
|
|
||||||
// used to switch from a native bootstrapper application to a managed one.
|
|
||||||
//
|
|
||||||
// All other return codes are ignored.
|
|
||||||
STDMETHOD_(int, OnShutdown)() = 0;
|
|
||||||
|
|
||||||
// OnSystemShutdown - called when the operating system is instructed to shutdown the machine.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to block the shutdown of the machine.
|
|
||||||
//
|
|
||||||
// All other return codes allow the shutdown to commence.
|
|
||||||
STDMETHOD_(int, OnSystemShutdown)(
|
|
||||||
__in DWORD dwEndSession,
|
|
||||||
__in int nRecommendation
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnDetectBegin - called when the engine begins detection.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop detection.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnDetectBegin)(
|
|
||||||
__in BOOL fInstalled,
|
|
||||||
__in DWORD cPackages
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnDetectForwardCompatibleBundle - called when the engine detects a forward compatible bundle.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDOK instructs the engine to use the forward compatible bundle.
|
|
||||||
//
|
|
||||||
// IDCANCEL instructs the engine to stop detection.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to not use the forward compatible bundle.
|
|
||||||
STDMETHOD_(int, OnDetectForwardCompatibleBundle)(
|
|
||||||
__in_z LPCWSTR wzBundleId,
|
|
||||||
__in BOOTSTRAPPER_RELATION_TYPE relationType,
|
|
||||||
__in_z LPCWSTR wzBundleTag,
|
|
||||||
__in BOOL fPerMachine,
|
|
||||||
__in DWORD64 dw64Version,
|
|
||||||
__in int nRecommendation
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnDetectUpdateBegin - called when the engine begins detection for bundle update.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDOK instructs the engine to attempt update detection.
|
|
||||||
//
|
|
||||||
// IDCANCEL instructs the engine to stop detection.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to skip update detection.
|
|
||||||
STDMETHOD_(int, OnDetectUpdateBegin)(
|
|
||||||
__in_z LPCWSTR wzUpdateLocation,
|
|
||||||
__in int nRecommendation
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnDetectUpdateComplete - called when the engine completes detection for bundle update.
|
|
||||||
//
|
|
||||||
// Remarks:
|
|
||||||
// wzUpdateLocation is null if no update was available.
|
|
||||||
STDMETHOD_(void, OnDetectUpdateComplete)(
|
|
||||||
__in HRESULT hrStatus,
|
|
||||||
__in_z_opt LPCWSTR wzUpdateLocation
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnDetectRelatedBundle - called when the engine detects a related bundle.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop detection.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnDetectRelatedBundle)(
|
|
||||||
__in_z LPCWSTR wzBundleId,
|
|
||||||
__in BOOTSTRAPPER_RELATION_TYPE relationType,
|
|
||||||
__in_z LPCWSTR wzBundleTag,
|
|
||||||
__in BOOL fPerMachine,
|
|
||||||
__in DWORD64 dw64Version,
|
|
||||||
__in BOOTSTRAPPER_RELATED_OPERATION operation
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnDetectPackageBegin - called when the engine begins detecting a package.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop detection.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnDetectPackageBegin)(
|
|
||||||
__in_z LPCWSTR wzPackageId
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnDetectRelatedMsiPackage - called when the engine begins detects a related package.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop detection.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnDetectRelatedMsiPackage)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in_z LPCWSTR wzProductCode,
|
|
||||||
__in BOOL fPerMachine,
|
|
||||||
__in DWORD64 dw64Version,
|
|
||||||
__in BOOTSTRAPPER_RELATED_OPERATION operation
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnDetectTargetMsiPackage - called when the engine detects a target MSI package for
|
|
||||||
// an MSP package.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop detection.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnDetectTargetMsiPackage)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in_z LPCWSTR wzProductCode,
|
|
||||||
__in BOOTSTRAPPER_PACKAGE_STATE patchState
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnDetectMsiFeature - called when the engine detects a feature in an MSI package.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop detection.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnDetectMsiFeature)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in_z LPCWSTR wzFeatureId,
|
|
||||||
__in BOOTSTRAPPER_FEATURE_STATE state
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnDetectPackageComplete - called after the engine detects a package.
|
|
||||||
//
|
|
||||||
STDMETHOD_(void, OnDetectPackageComplete)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in HRESULT hrStatus,
|
|
||||||
__in BOOTSTRAPPER_PACKAGE_STATE state
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnDetectPackageComplete - called after the engine completes detection.
|
|
||||||
//
|
|
||||||
STDMETHOD_(void, OnDetectComplete)(
|
|
||||||
__in HRESULT hrStatus
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnPlanBegin - called when the engine begins planning.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop planning.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnPlanBegin)(
|
|
||||||
__in DWORD cPackages
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnPlanRelatedBundle - called when the engine begins planning a related bundle.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop planning.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnPlanRelatedBundle)(
|
|
||||||
__in_z LPCWSTR wzBundleId,
|
|
||||||
__inout BOOTSTRAPPER_REQUEST_STATE* pRequestedState
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnPlanPackageBegin - called when the engine begins planning a package.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop planning.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnPlanPackageBegin)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__inout BOOTSTRAPPER_REQUEST_STATE* pRequestedState
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnPlanTargetMsiPackage - called when the engine plans an MSP package
|
|
||||||
// to apply to an MSI package.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop planning.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnPlanTargetMsiPackage)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in_z LPCWSTR wzProductCode,
|
|
||||||
__inout BOOTSTRAPPER_REQUEST_STATE* pRequestedState
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnPlanMsiFeature - called when the engine plans a feature in an
|
|
||||||
// MSI package.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop planning.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnPlanMsiFeature)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in_z LPCWSTR wzFeatureId,
|
|
||||||
__inout BOOTSTRAPPER_FEATURE_STATE* pRequestedState
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnPlanPackageComplete - called after the engine plans a package.
|
|
||||||
//
|
|
||||||
STDMETHOD_(void, OnPlanPackageComplete)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in HRESULT hrStatus,
|
|
||||||
__in BOOTSTRAPPER_PACKAGE_STATE state,
|
|
||||||
__in BOOTSTRAPPER_REQUEST_STATE requested,
|
|
||||||
__in BOOTSTRAPPER_ACTION_STATE execute,
|
|
||||||
__in BOOTSTRAPPER_ACTION_STATE rollback
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnPlanComplete - called when the engine completes planning.
|
|
||||||
//
|
|
||||||
STDMETHOD_(void, OnPlanComplete)(
|
|
||||||
__in HRESULT hrStatus
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnApplyBegin - called when the engine begins applying the plan.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop applying.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnApplyBegin)() = 0;
|
|
||||||
|
|
||||||
// OnElevate - called before the engine displays an elevation prompt.
|
|
||||||
// Will only happen once per execution of the engine.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to abort elevation and stop applying.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnElevate)() = 0;
|
|
||||||
|
|
||||||
// OnProgress - called when the engine makes progress.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop applying.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnProgress)(
|
|
||||||
__in DWORD dwProgressPercentage,
|
|
||||||
__in DWORD dwOverallPercentage
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnError - called when the engine encounters an error.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// uiFlags is a combination of valid ID* return values appropriate for
|
|
||||||
// the error.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to pass the error through to default
|
|
||||||
// handling which usually results in the apply failing.
|
|
||||||
STDMETHOD_(int, OnError)(
|
|
||||||
__in BOOTSTRAPPER_ERROR_TYPE errorType,
|
|
||||||
__in_z_opt LPCWSTR wzPackageId,
|
|
||||||
__in DWORD dwCode,
|
|
||||||
__in_z_opt LPCWSTR wzError,
|
|
||||||
__in DWORD uiFlags,
|
|
||||||
__in DWORD cData,
|
|
||||||
__in_ecount_z_opt(cData) LPCWSTR* rgwzData,
|
|
||||||
__in int nRecommendation
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnRegisterBegin - called when the engine registers the bundle.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop applying.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnRegisterBegin)() = 0;
|
|
||||||
|
|
||||||
// OnRegisterComplete - called when the engine registration is
|
|
||||||
// complete.
|
|
||||||
//
|
|
||||||
STDMETHOD_(void, OnRegisterComplete)(
|
|
||||||
__in HRESULT hrStatus
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnCacheBegin - called when the engine begins caching.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop caching.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnCacheBegin)() = 0;
|
|
||||||
|
|
||||||
// OnCachePackageBegin - called when the engine begins caching
|
|
||||||
// a package.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop caching.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnCachePackageBegin)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in DWORD cCachePayloads,
|
|
||||||
__in DWORD64 dw64PackageCacheSize
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnCacheAcquireBegin - called when the engine begins copying or
|
|
||||||
// downloading a payload to the working folder.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop caching.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnCacheAcquireBegin)(
|
|
||||||
__in_z_opt LPCWSTR wzPackageOrContainerId,
|
|
||||||
__in_z_opt LPCWSTR wzPayloadId,
|
|
||||||
__in BOOTSTRAPPER_CACHE_OPERATION operation,
|
|
||||||
__in_z LPCWSTR wzSource
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnCacheAcquireProgress - called when the engine makes progresss copying
|
|
||||||
// or downloading a payload to the working folder.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop caching.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnCacheAcquireProgress)(
|
|
||||||
__in_z_opt LPCWSTR wzPackageOrContainerId,
|
|
||||||
__in_z_opt LPCWSTR wzPayloadId,
|
|
||||||
__in DWORD64 dw64Progress,
|
|
||||||
__in DWORD64 dw64Total,
|
|
||||||
__in DWORD dwOverallPercentage
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnResolveSource - called when a payload or container cannot be found locally.
|
|
||||||
//
|
|
||||||
// Parameters:
|
|
||||||
// wzPayloadId will be NULL when resolving a container.
|
|
||||||
// wzDownloadSource will be NULL if the container or payload does not provide a DownloadURL.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDRETRY instructs the engine to try the local source again.
|
|
||||||
//
|
|
||||||
// IDDOWNLOAD instructs the engine to try the download source.
|
|
||||||
//
|
|
||||||
// All other return codes result in an error.
|
|
||||||
//
|
|
||||||
// Notes:
|
|
||||||
// It is expected the BA may call IBurnCore::SetLocalSource() or IBurnCore::SetDownloadSource()
|
|
||||||
// to update the source location before returning IDRETRY or IDDOWNLOAD.
|
|
||||||
STDMETHOD_(int, OnResolveSource)(
|
|
||||||
__in_z LPCWSTR wzPackageOrContainerId,
|
|
||||||
__in_z_opt LPCWSTR wzPayloadId,
|
|
||||||
__in_z LPCWSTR wzLocalSource,
|
|
||||||
__in_z_opt LPCWSTR wzDownloadSource
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnCacheAcquireComplete - called after the engine copied or downloaded
|
|
||||||
// a payload to the working folder.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDRETRY instructs the engine to try the copy or download of the payload again.
|
|
||||||
//
|
|
||||||
// All other return codes are ignored.
|
|
||||||
STDMETHOD_(int, OnCacheAcquireComplete)(
|
|
||||||
__in_z_opt LPCWSTR wzPackageOrContainerId,
|
|
||||||
__in_z_opt LPCWSTR wzPayloadId,
|
|
||||||
__in HRESULT hrStatus,
|
|
||||||
__in int nRecommendation
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnCacheVerifyBegin - called when the engine begins to verify then copy
|
|
||||||
// a payload or container to the package cache folder.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop caching.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnCacheVerifyBegin)(
|
|
||||||
__in_z_opt LPCWSTR wzPackageOrContainerId,
|
|
||||||
__in_z_opt LPCWSTR wzPayloadId
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnCacheVerifyComplete - called after the engine verifies and copies
|
|
||||||
// a payload or container to the package cache folder.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDRETRY instructs the engine to try the verification of the payload again.
|
|
||||||
// Ignored if hrStatus is success.
|
|
||||||
//
|
|
||||||
// IDTRYAGAIN instructs the engine to acquire the payload again. Ignored if
|
|
||||||
// hrStatus is success.
|
|
||||||
//
|
|
||||||
// All other return codes are ignored.
|
|
||||||
STDMETHOD_(int, OnCacheVerifyComplete)(
|
|
||||||
__in_z_opt LPCWSTR wzPackageOrContainerId,
|
|
||||||
__in_z_opt LPCWSTR wzPayloadId,
|
|
||||||
__in HRESULT hrStatus,
|
|
||||||
__in int nRecommendation
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnCachePackageComplete - called after the engine attempts to copy or download all
|
|
||||||
// payloads of a package into the package cache folder.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDIGNORE instructs the engine to ignore non-vital package failures and continue with the
|
|
||||||
// caching. Ignored if hrStatus is a success or the package is vital.
|
|
||||||
//
|
|
||||||
// IDRETRY instructs the engine to try the acquisition and verification of the package
|
|
||||||
// again. Ignored if hrStatus is a success.
|
|
||||||
//
|
|
||||||
// All other return codes are ignored.
|
|
||||||
STDMETHOD_(int, OnCachePackageComplete)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in HRESULT hrStatus,
|
|
||||||
__in int nRecommendation
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnCacheComplete - called when the engine caching is complete.
|
|
||||||
//
|
|
||||||
STDMETHOD_(void, OnCacheComplete)(
|
|
||||||
__in HRESULT hrStatus
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnExecuteBegin - called when the engine begins executing the plan.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop applying.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnExecuteBegin)(
|
|
||||||
__in DWORD cExecutingPackages
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnExecuteBegin - called when the engine begins executing a package.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop applying.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnExecutePackageBegin)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in BOOL fExecute
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnExecutePatchTarget - called when the engine executes one or more patches targeting
|
|
||||||
// a product.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop applying.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnExecutePatchTarget)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in_z LPCWSTR wzTargetProductCode
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnExecuteProgress - called when the engine makes progress executing a package.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDCANCEL instructs the engine to stop applying.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to continue.
|
|
||||||
STDMETHOD_(int, OnExecuteProgress)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in DWORD dwProgressPercentage,
|
|
||||||
__in DWORD dwOverallPercentage
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnExecuteMsiMessage - called when the engine receives an MSI package message.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// uiFlags is a combination of valid ID* return values appropriate for
|
|
||||||
// the message.
|
|
||||||
//
|
|
||||||
// IDNOACTION instructs the engine to pass the message through to default
|
|
||||||
// handling which usually results in the execution continuing.
|
|
||||||
STDMETHOD_(int, OnExecuteMsiMessage)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in INSTALLMESSAGE mt,
|
|
||||||
__in UINT uiFlags,
|
|
||||||
__in_z LPCWSTR wzMessage,
|
|
||||||
__in DWORD cData,
|
|
||||||
__in_ecount_z_opt(cData) LPCWSTR* rgwzData,
|
|
||||||
__in int nRecommendation
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnExecuteFilesInUse - called when the engine encounters files in use while
|
|
||||||
// executing a package.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDNOACTION instructs the engine to pass the message through to default
|
|
||||||
// handling which usually results in the execution continuing.
|
|
||||||
STDMETHOD_(int, OnExecuteFilesInUse)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in DWORD cFiles,
|
|
||||||
__in_ecount_z(cFiles) LPCWSTR* rgwzFiles
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnExecutePackageComplete - called when a package execution is complete.
|
|
||||||
//
|
|
||||||
// Parameters:
|
|
||||||
// restart will indicate whether this package requires a reboot or initiated the reboot already.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDIGNORE instructs the engine to ignore non-vital package failures and continue with the
|
|
||||||
// install. Ignored if hrStatus is a success or the package is vital.
|
|
||||||
//
|
|
||||||
// IDRETRY instructs the engine to try the execution of the package again. Ignored if hrStatus
|
|
||||||
// is a success.
|
|
||||||
//
|
|
||||||
// IDRESTART instructs the engine to stop processing the chain and restart. The engine will
|
|
||||||
// launch again after the machine is restarted.
|
|
||||||
//
|
|
||||||
// IDSUSPEND instructs the engine to stop processing the chain and suspend the current state.
|
|
||||||
//
|
|
||||||
// All other return codes are ignored.
|
|
||||||
STDMETHOD_(int, OnExecutePackageComplete)(
|
|
||||||
__in_z LPCWSTR wzPackageId,
|
|
||||||
__in HRESULT hrStatus,
|
|
||||||
__in BOOTSTRAPPER_APPLY_RESTART restart,
|
|
||||||
__in int nRecommendation
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnExecuteComplete - called when the engine execution is complete.
|
|
||||||
//
|
|
||||||
STDMETHOD_(void, OnExecuteComplete)(
|
|
||||||
__in HRESULT hrStatus
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnUnregisterBegin - called when the engine unregisters the bundle.
|
|
||||||
//
|
|
||||||
STDMETHOD_(void, OnUnregisterBegin)() = 0;
|
|
||||||
|
|
||||||
// OnUnregisterComplete - called when the engine unregistration is complete.
|
|
||||||
//
|
|
||||||
STDMETHOD_(void, OnUnregisterComplete)(
|
|
||||||
__in HRESULT hrStatus
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
// OnApplyComplete - called after the plan has been applied.
|
|
||||||
//
|
|
||||||
// Parameters:
|
|
||||||
// restart will indicate whether any package required a reboot or initiated the reboot already.
|
|
||||||
//
|
|
||||||
// Return:
|
|
||||||
// IDRESTART instructs the engine to restart. The engine will not launch again after the machine
|
|
||||||
// is rebooted. Ignored if reboot was already initiated by OnExecutePackageComplete().
|
|
||||||
//
|
|
||||||
// All other return codes are ignored.
|
|
||||||
STDMETHOD_(int, OnApplyComplete)(
|
|
||||||
__in HRESULT hrStatus,
|
|
||||||
__in BOOTSTRAPPER_APPLY_RESTART restart
|
|
||||||
) = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
extern "C" typedef HRESULT (WINAPI *PFN_BOOTSTRAPPER_APPLICATION_CREATE)(
|
|
||||||
__in IBootstrapperEngine* pEngine,
|
|
||||||
__in const BOOTSTRAPPER_COMMAND* pCommand,
|
|
||||||
__out IBootstrapperApplication** ppApplication
|
|
||||||
);
|
|
||||||
|
|
||||||
extern "C" typedef void (WINAPI *PFN_BOOTSTRAPPER_APPLICATION_DESTROY)();
|
|
|
@ -1,220 +0,0 @@
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
// <copyright file="IBootstrapperEngine.h" company="Outercurve Foundation">
|
|
||||||
// Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
// This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
// The license and further copyright text can be found in the file
|
|
||||||
// LICENSE.TXT at the root directory of the distribution.
|
|
||||||
// </copyright>
|
|
||||||
//
|
|
||||||
// <summary>
|
|
||||||
// IBoostrapperEngine implemented by engine and used by bootstrapper application.
|
|
||||||
// </summary>
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#define IDERROR -1
|
|
||||||
#define IDNOACTION 0
|
|
||||||
|
|
||||||
#define IDDOWNLOAD 101 // Only valid as a return code from OnResolveSource() to instruct the engine to use the download source.
|
|
||||||
#define IDRESTART 102
|
|
||||||
#define IDSUSPEND 103
|
|
||||||
#define IDRELOAD_BOOTSTRAPPER 104
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_ACTION
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_ACTION_UNKNOWN,
|
|
||||||
BOOTSTRAPPER_ACTION_HELP,
|
|
||||||
BOOTSTRAPPER_ACTION_LAYOUT,
|
|
||||||
BOOTSTRAPPER_ACTION_UNINSTALL,
|
|
||||||
BOOTSTRAPPER_ACTION_INSTALL,
|
|
||||||
BOOTSTRAPPER_ACTION_MODIFY,
|
|
||||||
BOOTSTRAPPER_ACTION_REPAIR,
|
|
||||||
BOOTSTRAPPER_ACTION_UPDATE_REPLACE,
|
|
||||||
BOOTSTRAPPER_ACTION_UPDATE_REPLACE_EMBEDDED,
|
|
||||||
};
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_ACTION_STATE
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_ACTION_STATE_NONE,
|
|
||||||
BOOTSTRAPPER_ACTION_STATE_UNINSTALL,
|
|
||||||
BOOTSTRAPPER_ACTION_STATE_INSTALL,
|
|
||||||
BOOTSTRAPPER_ACTION_STATE_ADMIN_INSTALL,
|
|
||||||
BOOTSTRAPPER_ACTION_STATE_MODIFY,
|
|
||||||
BOOTSTRAPPER_ACTION_STATE_REPAIR,
|
|
||||||
BOOTSTRAPPER_ACTION_STATE_MINOR_UPGRADE,
|
|
||||||
BOOTSTRAPPER_ACTION_STATE_MAJOR_UPGRADE,
|
|
||||||
BOOTSTRAPPER_ACTION_STATE_PATCH,
|
|
||||||
};
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_PACKAGE_STATE
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_PACKAGE_STATE_UNKNOWN,
|
|
||||||
BOOTSTRAPPER_PACKAGE_STATE_OBSOLETE,
|
|
||||||
BOOTSTRAPPER_PACKAGE_STATE_ABSENT,
|
|
||||||
BOOTSTRAPPER_PACKAGE_STATE_CACHED,
|
|
||||||
BOOTSTRAPPER_PACKAGE_STATE_PRESENT,
|
|
||||||
BOOTSTRAPPER_PACKAGE_STATE_SUPERSEDED,
|
|
||||||
};
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_REQUEST_STATE
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_REQUEST_STATE_NONE,
|
|
||||||
BOOTSTRAPPER_REQUEST_STATE_FORCE_ABSENT,
|
|
||||||
BOOTSTRAPPER_REQUEST_STATE_ABSENT,
|
|
||||||
BOOTSTRAPPER_REQUEST_STATE_CACHE,
|
|
||||||
BOOTSTRAPPER_REQUEST_STATE_PRESENT,
|
|
||||||
BOOTSTRAPPER_REQUEST_STATE_REPAIR,
|
|
||||||
};
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_FEATURE_STATE
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_FEATURE_STATE_UNKNOWN,
|
|
||||||
BOOTSTRAPPER_FEATURE_STATE_ABSENT,
|
|
||||||
BOOTSTRAPPER_FEATURE_STATE_ADVERTISED,
|
|
||||||
BOOTSTRAPPER_FEATURE_STATE_LOCAL,
|
|
||||||
BOOTSTRAPPER_FEATURE_STATE_SOURCE,
|
|
||||||
};
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_FEATURE_ACTION
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_FEATURE_ACTION_NONE,
|
|
||||||
BOOTSTRAPPER_FEATURE_ACTION_ADDLOCAL,
|
|
||||||
BOOTSTRAPPER_FEATURE_ACTION_ADDSOURCE,
|
|
||||||
BOOTSTRAPPER_FEATURE_ACTION_ADDDEFAULT,
|
|
||||||
BOOTSTRAPPER_FEATURE_ACTION_REINSTALL,
|
|
||||||
BOOTSTRAPPER_FEATURE_ACTION_ADVERTISE,
|
|
||||||
BOOTSTRAPPER_FEATURE_ACTION_REMOVE,
|
|
||||||
};
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_LOG_LEVEL
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_LOG_LEVEL_NONE, // turns off report (only valid for XXXSetLevel())
|
|
||||||
BOOTSTRAPPER_LOG_LEVEL_STANDARD, // written if reporting is on
|
|
||||||
BOOTSTRAPPER_LOG_LEVEL_VERBOSE, // written only if verbose reporting is on
|
|
||||||
BOOTSTRAPPER_LOG_LEVEL_DEBUG, // reporting useful when debugging code
|
|
||||||
BOOTSTRAPPER_LOG_LEVEL_ERROR, // always gets reported, but can never be specified
|
|
||||||
};
|
|
||||||
|
|
||||||
enum BOOTSTRAPPER_UPDATE_HASH_TYPE
|
|
||||||
{
|
|
||||||
BOOTSTRAPPER_UPDATE_HASH_TYPE_NONE,
|
|
||||||
BOOTSTRAPPER_UPDATE_HASH_TYPE_SHA1,
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
DECLARE_INTERFACE_IID_(IBootstrapperEngine, IUnknown, "6480D616-27A0-44D7-905B-81512C29C2FB")
|
|
||||||
{
|
|
||||||
STDMETHOD(GetPackageCount)(
|
|
||||||
__out DWORD* pcPackages
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(GetVariableNumeric)(
|
|
||||||
__in_z LPCWSTR wzVariable,
|
|
||||||
__out LONGLONG* pllValue
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(GetVariableString)(
|
|
||||||
__in_z LPCWSTR wzVariable,
|
|
||||||
__out_ecount_opt(*pcchValue) LPWSTR wzValue,
|
|
||||||
__inout DWORD* pcchValue
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(GetVariableVersion)(
|
|
||||||
__in_z LPCWSTR wzVariable,
|
|
||||||
__out DWORD64* pqwValue
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(FormatString)(
|
|
||||||
__in_z LPCWSTR wzIn,
|
|
||||||
__out_ecount_opt(*pcchOut) LPWSTR wzOut,
|
|
||||||
__inout DWORD* pcchOut
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(EscapeString)(
|
|
||||||
__in_z LPCWSTR wzIn,
|
|
||||||
__out_ecount_opt(*pcchOut) LPWSTR wzOut,
|
|
||||||
__inout DWORD* pcchOut
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(EvaluateCondition)(
|
|
||||||
__in_z LPCWSTR wzCondition,
|
|
||||||
__out BOOL* pf
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(Log)(
|
|
||||||
__in BOOTSTRAPPER_LOG_LEVEL level,
|
|
||||||
__in_z LPCWSTR wzMessage
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(SendEmbeddedError)(
|
|
||||||
__in DWORD dwErrorCode,
|
|
||||||
__in_z_opt LPCWSTR wzMessage,
|
|
||||||
__in DWORD dwUIHint,
|
|
||||||
__out int* pnResult
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(SendEmbeddedProgress)(
|
|
||||||
__in DWORD dwProgressPercentage,
|
|
||||||
__in DWORD dwOverallProgressPercentage,
|
|
||||||
__out int* pnResult
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(SetUpdate)(
|
|
||||||
__in_z_opt LPCWSTR wzLocalSource,
|
|
||||||
__in_z_opt LPCWSTR wzDownloadSource,
|
|
||||||
__in DWORD64 qwSize,
|
|
||||||
__in BOOTSTRAPPER_UPDATE_HASH_TYPE hashType,
|
|
||||||
__in_bcount_opt(cbHash) BYTE* rgbHash,
|
|
||||||
__in DWORD cbHash
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(SetLocalSource)(
|
|
||||||
__in_z LPCWSTR wzPackageOrContainerId,
|
|
||||||
__in_z_opt LPCWSTR wzPayloadId,
|
|
||||||
__in_z LPCWSTR wzPath
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(SetDownloadSource)(
|
|
||||||
__in_z LPCWSTR wzPackageOrContainerId,
|
|
||||||
__in_z_opt LPCWSTR wzPayloadId,
|
|
||||||
__in_z LPCWSTR wzUrl,
|
|
||||||
__in_z_opt LPWSTR wzUser,
|
|
||||||
__in_z_opt LPWSTR wzPassword
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(SetVariableNumeric)(
|
|
||||||
__in_z LPCWSTR wzVariable,
|
|
||||||
__in LONGLONG llValue
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(SetVariableString)(
|
|
||||||
__in_z LPCWSTR wzVariable,
|
|
||||||
__in_z_opt LPCWSTR wzValue
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(SetVariableVersion)(
|
|
||||||
__in_z LPCWSTR wzVariable,
|
|
||||||
__in DWORD64 qwValue
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(CloseSplashScreen)() = 0;
|
|
||||||
|
|
||||||
STDMETHOD(Detect)() = 0;
|
|
||||||
|
|
||||||
STDMETHOD(Plan)(
|
|
||||||
__in BOOTSTRAPPER_ACTION action
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(Elevate)(
|
|
||||||
__in_opt HWND hwndParent
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(Apply)(
|
|
||||||
__in_opt HWND hwndParent
|
|
||||||
) = 0;
|
|
||||||
|
|
||||||
STDMETHOD(Quit)(
|
|
||||||
__in DWORD dwExitCode
|
|
||||||
) = 0;
|
|
||||||
};
|
|
|
@ -1,151 +0,0 @@
|
||||||
#pragma once
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
// <copyright file="aclutil.h" company="Outercurve Foundation">
|
|
||||||
// Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
// This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
// The license and further copyright text can be found in the file
|
|
||||||
// LICENSE.TXT at the root directory of the distribution.
|
|
||||||
// </copyright>
|
|
||||||
//
|
|
||||||
// <summary>
|
|
||||||
// Access Control List helper functions.
|
|
||||||
// </summary>
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#include <aclapi.h>
|
|
||||||
#include <sddl.h>
|
|
||||||
|
|
||||||
#define ReleaseSid(x) if (x) { AclFreeSid(x); }
|
|
||||||
#define ReleaseNullSid(x) if (x) { AclFreeSid(x); x = NULL; }
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// structs
|
|
||||||
struct ACL_ACCESS
|
|
||||||
{
|
|
||||||
BOOL fDenyAccess;
|
|
||||||
DWORD dwAccessMask;
|
|
||||||
|
|
||||||
// TODO: consider using a union
|
|
||||||
LPCWSTR pwzAccountName; // NOTE: the last three items in this structure are ignored if this is not NULL
|
|
||||||
|
|
||||||
SID_IDENTIFIER_AUTHORITY sia; // used if pwzAccountName is NULL
|
|
||||||
BYTE nSubAuthorityCount;
|
|
||||||
DWORD nSubAuthority[8];
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ACL_ACE
|
|
||||||
{
|
|
||||||
DWORD dwFlags;
|
|
||||||
DWORD dwMask;
|
|
||||||
PSID psid;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
// functions
|
|
||||||
HRESULT DAPI AclCheckAccess(
|
|
||||||
__in HANDLE hToken,
|
|
||||||
__in ACL_ACCESS* paa
|
|
||||||
);
|
|
||||||
HRESULT DAPI AclCheckAdministratorAccess(
|
|
||||||
__in HANDLE hToken
|
|
||||||
);
|
|
||||||
HRESULT DAPI AclCheckLocalSystemAccess(
|
|
||||||
__in HANDLE hToken
|
|
||||||
);
|
|
||||||
|
|
||||||
HRESULT DAPI AclGetWellKnownSid(
|
|
||||||
__in WELL_KNOWN_SID_TYPE wkst,
|
|
||||||
__deref_out PSID* ppsid
|
|
||||||
);
|
|
||||||
HRESULT DAPI AclGetAccountSid(
|
|
||||||
__in_opt LPCWSTR wzSystem,
|
|
||||||
__in_z LPCWSTR wzAccount,
|
|
||||||
__deref_out PSID* ppsid
|
|
||||||
);
|
|
||||||
HRESULT DAPI AclGetAccountSidString(
|
|
||||||
__in_z LPCWSTR wzSystem,
|
|
||||||
__in_z LPCWSTR wzAccount,
|
|
||||||
__deref_out_z LPWSTR* ppwzSid
|
|
||||||
);
|
|
||||||
|
|
||||||
HRESULT DAPI AclCreateDacl(
|
|
||||||
__in_ecount(cDeny) ACL_ACE rgaaDeny[],
|
|
||||||
__in DWORD cDeny,
|
|
||||||
__in_ecount(cAllow) ACL_ACE rgaaAllow[],
|
|
||||||
__in DWORD cAllow,
|
|
||||||
__deref_out ACL** ppAcl
|
|
||||||
);
|
|
||||||
HRESULT DAPI AclAddToDacl(
|
|
||||||
__in ACL* pAcl,
|
|
||||||
__in_ecount_opt(cDeny) const ACL_ACE rgaaDeny[],
|
|
||||||
__in DWORD cDeny,
|
|
||||||
__in_ecount_opt(cAllow) const ACL_ACE rgaaAllow[],
|
|
||||||
__in DWORD cAllow,
|
|
||||||
__deref_out ACL** ppAclNew
|
|
||||||
);
|
|
||||||
HRESULT DAPI AclMergeDacls(
|
|
||||||
__in const ACL* pAcl1,
|
|
||||||
__in const ACL* pAcl2,
|
|
||||||
__deref_out ACL** ppAclNew
|
|
||||||
);
|
|
||||||
HRESULT DAPI AclCreateDaclOld(
|
|
||||||
__in_ecount(cAclAccesses) ACL_ACCESS* paa,
|
|
||||||
__in DWORD cAclAccesses,
|
|
||||||
__deref_out ACL** ppAcl
|
|
||||||
);
|
|
||||||
HRESULT DAPI AclCreateSecurityDescriptor(
|
|
||||||
__in_ecount(cAclAccesses) ACL_ACCESS* paa,
|
|
||||||
__in DWORD cAclAccesses,
|
|
||||||
__deref_out SECURITY_DESCRIPTOR** ppsd
|
|
||||||
);
|
|
||||||
HRESULT DAPI AclCreateSecurityDescriptorFromDacl(
|
|
||||||
__in ACL* pACL,
|
|
||||||
__deref_out SECURITY_DESCRIPTOR** ppsd
|
|
||||||
);
|
|
||||||
HRESULT __cdecl AclCreateSecurityDescriptorFromString(
|
|
||||||
__deref_out SECURITY_DESCRIPTOR** ppsd,
|
|
||||||
__in_z __format_string LPCWSTR wzSddlFormat,
|
|
||||||
...
|
|
||||||
);
|
|
||||||
HRESULT DAPI AclDuplicateSecurityDescriptor(
|
|
||||||
__in SECURITY_DESCRIPTOR* psd,
|
|
||||||
__deref_out SECURITY_DESCRIPTOR** ppsd
|
|
||||||
);
|
|
||||||
HRESULT DAPI AclGetSecurityDescriptor(
|
|
||||||
__in_z LPCWSTR wzObject,
|
|
||||||
__in SE_OBJECT_TYPE sot,
|
|
||||||
__in SECURITY_INFORMATION securityInformation,
|
|
||||||
__deref_out SECURITY_DESCRIPTOR** ppsd
|
|
||||||
);
|
|
||||||
HRESULT DAPI AclSetSecurityWithRetry(
|
|
||||||
__in_z LPCWSTR wzObject,
|
|
||||||
__in SE_OBJECT_TYPE sot,
|
|
||||||
__in SECURITY_INFORMATION securityInformation,
|
|
||||||
__in_opt PSID psidOwner,
|
|
||||||
__in_opt PSID psidGroup,
|
|
||||||
__in_opt PACL pDacl,
|
|
||||||
__in_opt PACL pSacl,
|
|
||||||
__in DWORD cRetry,
|
|
||||||
__in DWORD dwWaitMilliseconds
|
|
||||||
);
|
|
||||||
|
|
||||||
HRESULT DAPI AclFreeSid(
|
|
||||||
__in PSID psid
|
|
||||||
);
|
|
||||||
HRESULT DAPI AclFreeDacl(
|
|
||||||
__in ACL* pACL
|
|
||||||
);
|
|
||||||
HRESULT DAPI AclFreeSecurityDescriptor(
|
|
||||||
__in SECURITY_DESCRIPTOR* psd
|
|
||||||
);
|
|
||||||
|
|
||||||
HRESULT DAPI AclAddAdminToSecurityDescriptor(
|
|
||||||
__in SECURITY_DESCRIPTOR* pSecurity,
|
|
||||||
__deref_out SECURITY_DESCRIPTOR** ppSecurityNew
|
|
||||||
);
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,92 +0,0 @@
|
||||||
#pragma once
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
// <copyright file="apuputil.h" company="Outercurve Foundation">
|
|
||||||
// Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
// This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
// The license and further copyright text can be found in the file
|
|
||||||
// LICENSE.TXT at the root directory of the distribution.
|
|
||||||
// </copyright>
|
|
||||||
//
|
|
||||||
// <summary>
|
|
||||||
// Header for Application Update helper functions.
|
|
||||||
// </summary>
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define ReleaseApupChain(p) if (p) { ApupFreeChain(p); p = NULL; }
|
|
||||||
#define ReleaseNullApupChain(p) if (p) { ApupFreeChain(p); p = NULL; }
|
|
||||||
|
|
||||||
|
|
||||||
const LPCWSTR APPLICATION_SYNDICATION_NAMESPACE = L"http://appsyndication.org/2006/appsyn";
|
|
||||||
|
|
||||||
enum APUP_HASH_ALGORITHM
|
|
||||||
{
|
|
||||||
APUP_HASH_ALGORITHM_UNKNOWN,
|
|
||||||
APUP_HASH_ALGORITHM_MD5,
|
|
||||||
APUP_HASH_ALGORITHM_SHA1,
|
|
||||||
APUP_HASH_ALGORITHM_SHA256,
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
struct APPLICATION_UPDATE_ENCLOSURE
|
|
||||||
{
|
|
||||||
LPWSTR wzUrl;
|
|
||||||
LPWSTR wzLocalName;
|
|
||||||
DWORD64 dw64Size;
|
|
||||||
|
|
||||||
BYTE* rgbDigest;
|
|
||||||
DWORD cbDigest;
|
|
||||||
APUP_HASH_ALGORITHM digestAlgorithm;
|
|
||||||
|
|
||||||
BOOL fInstaller;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
struct APPLICATION_UPDATE_ENTRY
|
|
||||||
{
|
|
||||||
LPWSTR wzApplicationId;
|
|
||||||
LPWSTR wzApplicationType;
|
|
||||||
|
|
||||||
LPWSTR wzUpgradeId;
|
|
||||||
BOOL fUpgradeExclusive;
|
|
||||||
DWORD64 dw64Version;
|
|
||||||
DWORD64 dw64UpgradeVersion;
|
|
||||||
|
|
||||||
DWORD64 dw64TotalSize;
|
|
||||||
|
|
||||||
DWORD cEnclosures;
|
|
||||||
APPLICATION_UPDATE_ENCLOSURE* rgEnclosures;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
struct APPLICATION_UPDATE_CHAIN
|
|
||||||
{
|
|
||||||
LPWSTR wzDefaultApplicationId;
|
|
||||||
LPWSTR wzDefaultApplicationType;
|
|
||||||
|
|
||||||
DWORD cEntries;
|
|
||||||
APPLICATION_UPDATE_ENTRY* rgEntries;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
HRESULT DAPI ApupAllocChainFromAtom(
|
|
||||||
__in ATOM_FEED* pFeed,
|
|
||||||
__out APPLICATION_UPDATE_CHAIN** ppChain
|
|
||||||
);
|
|
||||||
|
|
||||||
HRESULT DAPI ApupFilterChain(
|
|
||||||
__in APPLICATION_UPDATE_CHAIN* pChain,
|
|
||||||
__in DWORD64 dw64Version,
|
|
||||||
__out APPLICATION_UPDATE_CHAIN** ppFilteredChain
|
|
||||||
);
|
|
||||||
|
|
||||||
void DAPI ApupFreeChain(
|
|
||||||
__in APPLICATION_UPDATE_CHAIN* pChain
|
|
||||||
);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,158 +0,0 @@
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
// <copyright file="atomutil.h" company="Outercurve Foundation">
|
|
||||||
// Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
// This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
// The license and further copyright text can be found in the file
|
|
||||||
// LICENSE.TXT at the root directory of the distribution.
|
|
||||||
// </copyright>
|
|
||||||
//
|
|
||||||
// <summary>
|
|
||||||
// ATOM helper functions.
|
|
||||||
// </summary>
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define ReleaseAtomFeed(p) if (p) { AtomFreeFeed(p); }
|
|
||||||
#define ReleaseNullAtomFeed(p) if (p) { AtomFreeFeed(p); p = NULL; }
|
|
||||||
|
|
||||||
|
|
||||||
struct ATOM_UNKNOWN_ATTRIBUTE
|
|
||||||
{
|
|
||||||
LPWSTR wzNamespace;
|
|
||||||
LPWSTR wzAttribute;
|
|
||||||
LPWSTR wzValue;
|
|
||||||
|
|
||||||
ATOM_UNKNOWN_ATTRIBUTE* pNext;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ATOM_UNKNOWN_ELEMENT
|
|
||||||
{
|
|
||||||
LPWSTR wzNamespace;
|
|
||||||
LPWSTR wzElement;
|
|
||||||
LPWSTR wzValue;
|
|
||||||
|
|
||||||
ATOM_UNKNOWN_ATTRIBUTE* pAttributes;
|
|
||||||
ATOM_UNKNOWN_ELEMENT* pNext;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ATOM_LINK
|
|
||||||
{
|
|
||||||
LPWSTR wzRel;
|
|
||||||
LPWSTR wzTitle;
|
|
||||||
LPWSTR wzType;
|
|
||||||
LPWSTR wzUrl;
|
|
||||||
LPWSTR wzValue;
|
|
||||||
DWORD64 dw64Length;
|
|
||||||
|
|
||||||
ATOM_UNKNOWN_ATTRIBUTE* pUnknownAttributes;
|
|
||||||
ATOM_UNKNOWN_ELEMENT* pUnknownElements;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ATOM_CONTENT
|
|
||||||
{
|
|
||||||
LPWSTR wzType;
|
|
||||||
LPWSTR wzUrl;
|
|
||||||
LPWSTR wzValue;
|
|
||||||
|
|
||||||
ATOM_UNKNOWN_ELEMENT* pUnknownElements;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ATOM_AUTHOR
|
|
||||||
{
|
|
||||||
LPWSTR wzName;
|
|
||||||
LPWSTR wzEmail;
|
|
||||||
LPWSTR wzUrl;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ATOM_CATEGORY
|
|
||||||
{
|
|
||||||
LPWSTR wzLabel;
|
|
||||||
LPWSTR wzScheme;
|
|
||||||
LPWSTR wzTerm;
|
|
||||||
|
|
||||||
ATOM_UNKNOWN_ELEMENT* pUnknownElements;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ATOM_ENTRY
|
|
||||||
{
|
|
||||||
LPWSTR wzId;
|
|
||||||
LPWSTR wzSummary;
|
|
||||||
LPWSTR wzTitle;
|
|
||||||
FILETIME ftPublished;
|
|
||||||
FILETIME ftUpdated;
|
|
||||||
|
|
||||||
ATOM_CONTENT* pContent;
|
|
||||||
|
|
||||||
DWORD cAuthors;
|
|
||||||
ATOM_AUTHOR* rgAuthors;
|
|
||||||
|
|
||||||
DWORD cCategories;
|
|
||||||
ATOM_CATEGORY* rgCategories;
|
|
||||||
|
|
||||||
DWORD cLinks;
|
|
||||||
ATOM_LINK* rgLinks;
|
|
||||||
|
|
||||||
IXMLDOMNode* pixn;
|
|
||||||
ATOM_UNKNOWN_ELEMENT* pUnknownElements;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ATOM_FEED
|
|
||||||
{
|
|
||||||
LPWSTR wzGenerator;
|
|
||||||
LPWSTR wzIcon;
|
|
||||||
LPWSTR wzId;
|
|
||||||
LPWSTR wzLogo;
|
|
||||||
LPWSTR wzSubtitle;
|
|
||||||
LPWSTR wzTitle;
|
|
||||||
FILETIME ftUpdated;
|
|
||||||
|
|
||||||
DWORD cAuthors;
|
|
||||||
ATOM_AUTHOR* rgAuthors;
|
|
||||||
|
|
||||||
DWORD cCategories;
|
|
||||||
ATOM_CATEGORY* rgCategories;
|
|
||||||
|
|
||||||
DWORD cEntries;
|
|
||||||
ATOM_ENTRY* rgEntries;
|
|
||||||
|
|
||||||
DWORD cLinks;
|
|
||||||
ATOM_LINK* rgLinks;
|
|
||||||
|
|
||||||
IXMLDOMNode* pixn;
|
|
||||||
ATOM_UNKNOWN_ELEMENT* pUnknownElements;
|
|
||||||
};
|
|
||||||
|
|
||||||
HRESULT DAPI AtomInitialize(
|
|
||||||
);
|
|
||||||
|
|
||||||
void DAPI AtomUninitialize(
|
|
||||||
);
|
|
||||||
|
|
||||||
HRESULT DAPI AtomParseFromString(
|
|
||||||
__in_z LPCWSTR wzAtomString,
|
|
||||||
__out ATOM_FEED **ppFeed
|
|
||||||
);
|
|
||||||
|
|
||||||
HRESULT DAPI AtomParseFromFile(
|
|
||||||
__in_z LPCWSTR wzAtomFile,
|
|
||||||
__out ATOM_FEED **ppFeed
|
|
||||||
);
|
|
||||||
|
|
||||||
HRESULT DAPI AtomParseFromDocument(
|
|
||||||
__in IXMLDOMDocument* pixdDocument,
|
|
||||||
__out ATOM_FEED **ppFeed
|
|
||||||
);
|
|
||||||
|
|
||||||
void DAPI AtomFreeFeed(
|
|
||||||
__in_xcount(pFeed->cItems) ATOM_FEED *pFEED
|
|
||||||
);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,69 +0,0 @@
|
||||||
#pragma once
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
// <copyright file="balcondition.h" company="Outercurve Foundation">
|
|
||||||
// Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
// This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
// The license and further copyright text can be found in the file
|
|
||||||
// LICENSE.TXT at the root directory of the distribution.
|
|
||||||
// </copyright>
|
|
||||||
//
|
|
||||||
// <summary>
|
|
||||||
// Bootstrapper Application Layer condition utility.
|
|
||||||
// </summary>
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef struct _BAL_CONDITION
|
|
||||||
{
|
|
||||||
LPWSTR sczCondition;
|
|
||||||
LPWSTR sczMessage;
|
|
||||||
} BAL_CONDITION;
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct _BAL_CONDITIONS
|
|
||||||
{
|
|
||||||
BAL_CONDITION* rgConditions;
|
|
||||||
DWORD cConditions;
|
|
||||||
} BAL_CONDITIONS;
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalConditionsParseFromXml - loads the conditions from the UX manifest.
|
|
||||||
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(HRESULT) BalConditionsParseFromXml(
|
|
||||||
__in BAL_CONDITIONS* pConditions,
|
|
||||||
__in IXMLDOMDocument* pixdManifest,
|
|
||||||
__in_opt WIX_LOCALIZATION* pWixLoc
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalConditionEvaluate - evaluates condition against the provided IBurnCore.
|
|
||||||
|
|
||||||
NOTE: psczMessage is optional.
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(HRESULT) BalConditionEvaluate(
|
|
||||||
__in BAL_CONDITION* pCondition,
|
|
||||||
__in IBootstrapperEngine* pEngine,
|
|
||||||
__out BOOL* pfResult,
|
|
||||||
__out_z_opt LPWSTR* psczMessage
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalConditionsUninitialize - uninitializes any conditions previously loaded.
|
|
||||||
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(void) BalConditionsUninitialize(
|
|
||||||
__in BAL_CONDITIONS* pConditions
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,90 +0,0 @@
|
||||||
#pragma once
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
// <copyright file="balinfo.h" company="Outercurve Foundation">
|
|
||||||
// Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
// This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
// The license and further copyright text can be found in the file
|
|
||||||
// LICENSE.TXT at the root directory of the distribution.
|
|
||||||
// </copyright>
|
|
||||||
//
|
|
||||||
// <summary>
|
|
||||||
// Bootstrapper Application Layer package utility.
|
|
||||||
// </summary>
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
enum BAL_INFO_PACKAGE_TYPE
|
|
||||||
{
|
|
||||||
BAL_INFO_PACKAGE_TYPE_EXE,
|
|
||||||
BAL_INFO_PACKAGE_TYPE_MSI,
|
|
||||||
BAL_INFO_PACKAGE_TYPE_MSP,
|
|
||||||
BAL_INFO_PACKAGE_TYPE_MSU,
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct _BAL_INFO_PACKAGE
|
|
||||||
{
|
|
||||||
LPWSTR sczId;
|
|
||||||
LPWSTR sczDisplayName;
|
|
||||||
LPWSTR sczDescription;
|
|
||||||
BAL_INFO_PACKAGE_TYPE type;
|
|
||||||
BOOL fPermanent;
|
|
||||||
BOOL fVital;
|
|
||||||
BOOL fDisplayInternalUI;
|
|
||||||
} BAL_INFO_PACKAGE;
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct _BAL_INFO_PACKAGES
|
|
||||||
{
|
|
||||||
BAL_INFO_PACKAGE* rgPackages;
|
|
||||||
DWORD cPackages;
|
|
||||||
} BAL_INFO_PACKAGES;
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct _BAL_INFO_BUNDLE
|
|
||||||
{
|
|
||||||
BOOL fPerMachine;
|
|
||||||
LPWSTR sczName;
|
|
||||||
LPWSTR sczLogVariable;
|
|
||||||
BAL_INFO_PACKAGES packages;
|
|
||||||
} BAL_INFO_BUNDLE;
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalInfoParseFromXml - loads the bundle and package info from the UX
|
|
||||||
manifest.
|
|
||||||
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(HRESULT) BalInfoParseFromXml(
|
|
||||||
__in BAL_INFO_BUNDLE* pBundle,
|
|
||||||
__in IXMLDOMDocument* pixdManifest
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalInfoFindPackageById - finds a package by its id.
|
|
||||||
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(HRESULT) BalInfoFindPackageById(
|
|
||||||
__in BAL_INFO_PACKAGES* pPackages,
|
|
||||||
__in LPCWSTR wzId,
|
|
||||||
__out BAL_INFO_PACKAGE** ppPackage
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalInfoUninitialize - uninitializes any info previously loaded.
|
|
||||||
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(void) BalInfoUninitialize(
|
|
||||||
__in BAL_INFO_BUNDLE* pBundle
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,75 +0,0 @@
|
||||||
#pragma once
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
// <copyright file="balretry.h" company="Outercurve Foundation">
|
|
||||||
// Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
// This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
// The license and further copyright text can be found in the file
|
|
||||||
// LICENSE.TXT at the root directory of the distribution.
|
|
||||||
// </copyright>
|
|
||||||
//
|
|
||||||
// <summary>
|
|
||||||
// Bootstrapper Application Layer retry utility.
|
|
||||||
// </summary>
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
enum BALRETRY_TYPE
|
|
||||||
{
|
|
||||||
BALRETRY_TYPE_CACHE,
|
|
||||||
BALRETRY_TYPE_EXECUTE,
|
|
||||||
};
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalRetryInitialize - initialize the retry count and timeout between
|
|
||||||
retries (in milliseconds).
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(void) BalRetryInitialize(
|
|
||||||
__in DWORD dwMaxRetries,
|
|
||||||
__in DWORD dwTimeout
|
|
||||||
);
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalRetryUninitialize - call to cleanup any memory allocated during
|
|
||||||
use of the retry utility.
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(void) BalRetryUninitialize();
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalRetryStartPackage - call when a package begins to be modified. If
|
|
||||||
the package is being retried, the function will
|
|
||||||
wait the specified timeout.
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(void) BalRetryStartPackage(
|
|
||||||
__in BALRETRY_TYPE type,
|
|
||||||
__in_z_opt LPCWSTR wzPackageId,
|
|
||||||
__in_z_opt LPCWSTR wzPayloadId
|
|
||||||
);
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalRetryErrorOccured - call when an error occurs for the retry utility
|
|
||||||
to consider.
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(void) BalRetryErrorOccurred(
|
|
||||||
__in_z_opt LPCWSTR wzPackageId,
|
|
||||||
__in DWORD dwError
|
|
||||||
);
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalRetryEndPackage - returns IDRETRY is a retry is recommended or
|
|
||||||
IDNOACTION if a retry is not recommended.
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(int) BalRetryEndPackage(
|
|
||||||
__in BALRETRY_TYPE type,
|
|
||||||
__in_z_opt LPCWSTR wzPackageId,
|
|
||||||
__in_z_opt LPCWSTR wzPayloadId,
|
|
||||||
__in HRESULT hrError
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,120 +0,0 @@
|
||||||
#pragma once
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
// <copyright file="balutil.h" company="Outercurve Foundation">
|
|
||||||
// Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
// This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
// The license and further copyright text can be found in the file
|
|
||||||
// LICENSE.TXT at the root directory of the distribution.
|
|
||||||
// </copyright>
|
|
||||||
//
|
|
||||||
// <summary>
|
|
||||||
// Burn utility library.
|
|
||||||
// </summary>
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#include "dutil.h"
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define BalExitOnFailure(x, f) if (FAILED(x)) { BalLogError(x, f); ExitTrace(x, f); goto LExit; }
|
|
||||||
#define BalExitOnFailure1(x, f, s) if (FAILED(x)) { BalLogError(x, f, s); ExitTrace1(x, f, s); goto LExit; }
|
|
||||||
#define BalExitOnFailure2(x, f, s, t) if (FAILED(x)) { BalLogError(x, f, s, t); ExitTrace2(x, f, s, t); goto LExit; }
|
|
||||||
#define BalExitOnFailure3(x, f, s, t, u) if (FAILED(x)) { BalLogError(x, f, s, t, u); ExitTrace3(x, f, s, t, u); goto LExit; }
|
|
||||||
|
|
||||||
#define BalExitOnRootFailure(x, f) if (FAILED(x)) { BalLogError(x, f); Dutil_RootFailure(__FILE__, __LINE__, x); ExitTrace(x, f); goto LExit; }
|
|
||||||
#define BalExitOnRootFailure1(x, f, s) if (FAILED(x)) { BalLogError(x, f, s); Dutil_RootFailure(__FILE__, __LINE__, x); ExitTrace1(x, f, s); goto LExit; }
|
|
||||||
#define BalExitOnRootFailure2(x, f, s, t) if (FAILED(x)) { BalLogError(x, f, s, t); Dutil_RootFailure(__FILE__, __LINE__, x); ExitTrace2(x, f, s, t); goto LExit; }
|
|
||||||
#define BalExitOnRootFailure3(x, f, s, t, u) if (FAILED(x)) { BalLogError(x, f, s, t, u); Dutil_RootFailure(__FILE__, __LINE__, x); ExitTrace3(x, f, s, t, u); goto LExit; }
|
|
||||||
|
|
||||||
#define BalExitOnNullWithLastError(p, x, f) if (NULL == p) { DWORD Dutil_er = ::GetLastError(); x = HRESULT_FROM_WIN32(Dutil_er); if (!FAILED(x)) { x = E_FAIL; } BalLogError(x, f); ExitTrace(x, f); goto LExit; }
|
|
||||||
#define BalExitOnNullWithLastError1(p, x, f, s) if (NULL == p) { DWORD Dutil_er = ::GetLastError(); x = HRESULT_FROM_WIN32(Dutil_er); if (!FAILED(x)) { x = E_FAIL; } BalLogError(x, f, s); ExitTrace1(x, f, s); goto LExit; }
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalInitialize - remembers the engine interface to enable logging and
|
|
||||||
other functions.
|
|
||||||
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(void) BalInitialize(
|
|
||||||
__in IBootstrapperEngine* pEngine
|
|
||||||
);
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalUninitialize - cleans up utility layer internals.
|
|
||||||
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(void) BalUninitialize();
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalManifestLoad - loads the Application manifest into an XML document.
|
|
||||||
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(HRESULT) BalManifestLoad(
|
|
||||||
__in HMODULE hUXModule,
|
|
||||||
__out IXMLDOMDocument** ppixdManifest
|
|
||||||
);
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalFormatString - formats a string using variables in the engine.
|
|
||||||
|
|
||||||
Note: Use StrFree() to release psczOut.
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(HRESULT) BalFormatString(
|
|
||||||
__in_z LPCWSTR wzFormat,
|
|
||||||
__inout LPWSTR* psczOut
|
|
||||||
);
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalGetNumericVariable - gets a number from a variable in the engine.
|
|
||||||
|
|
||||||
Note: Returns E_NOTFOUND if variable does not exist.
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(HRESULT) BalGetNumericVariable(
|
|
||||||
__in_z LPCWSTR wzVariable,
|
|
||||||
__out LONGLONG* pllValue
|
|
||||||
);
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalStringVariableExists - checks if a string variable exists in the engine.
|
|
||||||
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(BOOL) BalStringVariableExists(
|
|
||||||
__in_z LPCWSTR wzVariable
|
|
||||||
);
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalGetStringVariable - gets a string from a variable in the engine.
|
|
||||||
|
|
||||||
Note: Use StrFree() to release psczValue.
|
|
||||||
********************************************************************/
|
|
||||||
DAPI_(HRESULT) BalGetStringVariable(
|
|
||||||
__in_z LPCWSTR wzVariable,
|
|
||||||
__inout LPWSTR* psczValue
|
|
||||||
);
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalLog - logs a message with the engine.
|
|
||||||
|
|
||||||
********************************************************************/
|
|
||||||
DAPIV_(HRESULT) BalLog(
|
|
||||||
__in BOOTSTRAPPER_LOG_LEVEL level,
|
|
||||||
__in_z __format_string LPCSTR szFormat,
|
|
||||||
...
|
|
||||||
);
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
BalLogError - logs an error message with the engine.
|
|
||||||
|
|
||||||
********************************************************************/
|
|
||||||
DAPIV_(HRESULT) BalLogError(
|
|
||||||
__in HRESULT hr,
|
|
||||||
__in_z __format_string LPCSTR szFormat,
|
|
||||||
...
|
|
||||||
);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,92 +0,0 @@
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
// <copyright file="buffutil.h" company="Outercurve Foundation">
|
|
||||||
// Copyright (c) 2004, Outercurve Foundation.
|
|
||||||
// This software is released under Microsoft Reciprocal License (MS-RL).
|
|
||||||
// The license and further copyright text can be found in the file
|
|
||||||
// LICENSE.TXT at the root directory of the distribution.
|
|
||||||
// </copyright>
|
|
||||||
//
|
|
||||||
// <summary>
|
|
||||||
// Binary serialization helper functions.
|
|
||||||
// </summary>
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
// macro definitions
|
|
||||||
|
|
||||||
#define ReleaseBuffer ReleaseMem
|
|
||||||
#define ReleaseNullBuffer ReleaseNullMem
|
|
||||||
#define BuffFree MemFree
|
|
||||||
|
|
||||||
|
|
||||||
// function declarations
|
|
||||||
|
|
||||||
HRESULT BuffReadNumber(
|
|
||||||
__in_bcount(cbBuffer) const BYTE* pbBuffer,
|
|
||||||
__in SIZE_T cbBuffer,
|
|
||||||
__inout SIZE_T* piBuffer,
|
|
||||||
__out DWORD* pdw
|
|
||||||
);
|
|
||||||
HRESULT BuffReadNumber64(
|
|
||||||
__in_bcount(cbBuffer) const BYTE* pbBuffer,
|
|
||||||
__in SIZE_T cbBuffer,
|
|
||||||
__inout SIZE_T* piBuffer,
|
|
||||||
__out DWORD64* pdw64
|
|
||||||
);
|
|
||||||
HRESULT BuffReadString(
|
|
||||||
__in_bcount(cbBuffer) const BYTE* pbBuffer,
|
|
||||||
__in SIZE_T cbBuffer,
|
|
||||||
__inout SIZE_T* piBuffer,
|
|
||||||
__deref_out_z LPWSTR* pscz
|
|
||||||
);
|
|
||||||
HRESULT BuffReadStringAnsi(
|
|
||||||
__in_bcount(cbBuffer) const BYTE* pbBuffer,
|
|
||||||
__in SIZE_T cbBuffer,
|
|
||||||
__inout SIZE_T* piBuffer,
|
|
||||||
__deref_out_z LPSTR* pscz
|
|
||||||
);
|
|
||||||
HRESULT BuffReadStream(
|
|
||||||
__in_bcount(cbBuffer) const BYTE* pbBuffer,
|
|
||||||
__in SIZE_T cbBuffer,
|
|
||||||
__inout SIZE_T* piBuffer,
|
|
||||||
__deref_out_bcount(*pcbStream) BYTE** ppbStream,
|
|
||||||
__out SIZE_T* pcbStream
|
|
||||||
);
|
|
||||||
|
|
||||||
HRESULT BuffWriteNumber(
|
|
||||||
__deref_out_bcount(*piBuffer) BYTE** ppbBuffer,
|
|
||||||
__inout SIZE_T* piBuffer,
|
|
||||||
__in DWORD dw
|
|
||||||
);
|
|
||||||
HRESULT BuffWriteNumber64(
|
|
||||||
__deref_out_bcount(*piBuffer) BYTE** ppbBuffer,
|
|
||||||
__inout SIZE_T* piBuffer,
|
|
||||||
__in DWORD64 dw64
|
|
||||||
);
|
|
||||||
HRESULT BuffWriteString(
|
|
||||||
__deref_out_bcount(*piBuffer) BYTE** ppbBuffer,
|
|
||||||
__inout SIZE_T* piBuffer,
|
|
||||||
__in_z_opt LPCWSTR scz
|
|
||||||
);
|
|
||||||
HRESULT BuffWriteStringAnsi(
|
|
||||||
__deref_out_bcount(*piBuffer) BYTE** ppbBuffer,
|
|
||||||
__inout SIZE_T* piBuffer,
|
|
||||||
__in_z_opt LPCSTR scz
|
|
||||||
);
|
|
||||||
HRESULT BuffWriteStream(
|
|
||||||
__deref_out_bcount(*piBuffer) BYTE** ppbBuffer,
|
|
||||||
__inout SIZE_T* piBuffer,
|
|
||||||
__in_bcount(cbStream) const BYTE* pbStream,
|
|
||||||
__in SIZE_T cbStream
|
|
||||||
);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue