Browse Source

Updated to WiX 3.0.4917.0

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3761 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Matt Ward 17 years ago
parent
commit
381262f765
  1. 6
      data/schemas/firewall.xsd
  2. 27
      data/schemas/iis.xsd
  3. 6
      data/schemas/netfx.xsd
  4. 62
      data/schemas/util.xsd
  5. 281
      data/schemas/wix.xsd

6
data/schemas/firewall.xsd

@ -82,7 +82,7 @@ @@ -82,7 +82,7 @@
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Port" type="xs:integer">
<xs:attribute name="Port" type="xs:string">
<xs:annotation>
<xs:documentation>
Port to allow through the firewall for this exception. If you use Port, you
@ -96,15 +96,13 @@ @@ -96,15 +96,13 @@
<xs:documentation>
IP protocol used for this firewall exception. If not specified, "tcp" is
assumed. If you use Protocol, you must also specify Port and you cannot
also use File or Program. Note that using "any" requires Windows Firewall
with Advanced Security on Windows Vista and will fail on Windows XP.
also use File or Program.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="tcp" />
<xs:enumeration value="udp" />
<xs:enumeration value="any" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>

27
data/schemas/iis.xsd

@ -431,6 +431,7 @@ @@ -431,6 +431,7 @@
Used to install and unintall certificates.
</xs:documentation>
<xs:appinfo>
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
<xse:seeAlso ref="CertificateRef"/>
</xs:appinfo>
</xs:annotation>
@ -740,7 +741,22 @@ @@ -740,7 +741,22 @@
<xs:attribute name="Id" use="required" type="xs:string"/>
<xs:attribute name="IP" type="xs:string">
<xs:annotation>
<xs:documentation>For IP address "All Unassigned", do not specify this attribute or specify its value as "*".</xs:documentation>
<xs:documentation>
The IP address to locate an existing WebSite or create a new WebSite. When the WebAddress is part of a WebSite element
used to locate an existing web site the following rules are used:
<html:ul>
<html:li>When this attribute is not specified only the “All Unassigned” IP address will be located.</html:li>
<html:li>When this attribute is explicitly specified only the specified IP address will be located.</html:li>
<html:li>When this attribute has the value “*” then any IP address including the “All Unassigned” IP address will be located</html:li>
</html:ul>
When the WebAddress is part of a WebSite element used to create a new web site the following rules are used:
<html:ul>
<html:li>When this attribute is not specified or the value is "*" the "All Unassigned" IP address will be used.</html:li>
<html:li>When this attribute is explicitly specified the IP address will use that value.</html:li>
</html:ul>
The IP attribute can contain a formatted string that is processed at install time to insert the values of properties using
[PropertyName] syntax.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Port" use="required" type="xs:string"/>
@ -918,7 +934,14 @@ @@ -918,7 +934,14 @@
</xs:attribute>
<xs:attribute name="SiteId" type="xs:string">
<xs:annotation>
<xs:documentation>Optional attribute to directly specify the site id of the WebSite. Use this to ensure all web sites in a web garden get the same site id. Be sure the site id is unique. Must be a number or a formatted value that resolves to a number or blank.</xs:documentation>
<xs:documentation>
Optional attribute to directly specify the site id of the WebSite. Use this to ensure all web
sites in a web garden get the same site id. If a number is provided, the site id must be unique
on all target machines. If "*" is used, the Description attribute will be hashed to create a unique
value for the site id. This value must be a positive number or a "*" or a formatted value that resolves
to "-1" (for the same behavior as "*") or a positive number or blank. If this attribute is absent then
the web site will be located using the WebAddress element associated with the web site.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StartOnInstall" type="YesNoType">

6
data/schemas/netfx.xsd

@ -51,9 +51,9 @@ @@ -51,9 +51,9 @@
<xs:annotation>
<xs:documentation>
The identifier of the directory to use for locating dependent assemblies.
For DLL assemblies and assemblies installed to the 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
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.
</xs:documentation>
</xs:annotation>

62
data/schemas/util.xsd

@ -124,6 +124,13 @@ @@ -124,6 +124,13 @@
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="KeyPath" type="YesNoType">
<xs:annotation>
<xs:documentation>
Marks the EventSource registry as the key path of the component it belongs to.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Log" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the event source's log.</xs:documentation>
@ -291,12 +298,28 @@ @@ -291,12 +298,28 @@
<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>Group for all kinds of things</xs:documentation>
<xs:documentation>
Finds user groups on the local machine or specified Active Directory domain. The local machine will be
searched for the group first then fallback to looking in Active Directory. This element is not capable
of creating new groups but can be used to add new or existing users to an existing group.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Id" type="xs:string" use="required"/>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Domain" type="xs:string"/>
<xs:attribute name="Id" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Unique identifier in your installation package for this group.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>A <html:a href='http://msdn.microsoft.com/library/aa368609.aspx' target='_blank'>Formatted</html:a> string that contains the name of the group to be found.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Domain" type="xs:string">
<xs:annotation>
<xs:documentation>An optional <html:a href='http://msdn.microsoft.com/library/aa368609.aspx' target='_blank'>Formatted</html:a> string that specifies the domain for the group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
@ -460,6 +483,7 @@ @@ -460,6 +483,7 @@
<xs:annotation>
<xs:appinfo>
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="File" />
<xse:deprecated ref="PerformanceCounter" />
</xs:appinfo>
<xs:documentation>Used to install Perfmon counters.</xs:documentation>
</xs:annotation>
@ -657,6 +681,8 @@ @@ -657,6 +681,8 @@
<xs:annotation>
<xs:documentation>Service configuration information for failure actions.</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="ServiceInstall" />
<xse:remarks>
<html:dl>
<html:dd>Nesting a ServiceConfig element under a ServiceInstall element will result in the service being installed to be configured.</html:dd>
@ -751,19 +777,33 @@ @@ -751,19 +777,33 @@
</xs:sequence>
<xs:attribute name="Id" type="xs:string" use="required"/>
<xs:attribute name="Name" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>A <a href="http://msdn2.microsoft.com/library/aa368609.aspx" target="_blank">Formatted</a> string that contains the name of the user account.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Domain" type="xs:string">
<xs:annotation>
<xs:documentation>A <a href="http://msdn2.microsoft.com/library/aa368609.aspx" target="_blank">Formatted</a> string that contains the local machine or Active Directory domain for the user.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Password" type="xs:string">
<xs:annotation>
<xs:documentation>Usually a Property that is passed in on the command-line to keep it more secure.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PasswordNeverExpires" type="YesNoType"/>
<xs:attribute name="CanNotChangePassword" type="YesNoType"/>
<xs:attribute name="PasswordNeverExpires" type="YesNoType">
<xs:annotation>
<xs:documentation>The account's password never expires. Equivalent to UF_DONT_EXPIRE_PASSWD.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="CanNotChangePassword" type="YesNoType">
<xs:annotation>
<xs:documentation>The user cannot change the account's password. Equivalent to UF_PASSWD_CANT_CHANGE.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RemoveOnUninstall" type="YesNoType">
<xs:annotation>
<xs:documentation>Indicates whether the user account should be left behind on uninstall.</xs:documentation>
<xs:documentation>Indicates whether the user account should be removed or left behind on uninstall.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="FailIfExists" type="YesNoType">
@ -786,7 +826,11 @@ @@ -786,7 +826,11 @@
<xs:documentation>Indicates whether the user must change their password on their first login.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Disabled" type="YesNoType"/>
<xs:attribute name="Disabled" type="YesNoType">
<xs:annotation>
<xs:documentation>The account is disabled. Equivalent to UF_ACCOUNTDISABLE.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="CreateUser" type="YesNoType">
<xs:annotation>
<xs:documentation>Indicates whether or not to create the user. User creation can be skipped if all that is desired is to join a user to groups.</xs:documentation>
@ -812,7 +856,7 @@ @@ -812,7 +856,7 @@
</xs:attribute>
<xs:attribute name="ElementPath" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>The XPath of the element to be modified. Note that this is a formatted field and therefore, square brackets in the XPath must be escapted.</xs:documentation>
<xs:documentation>The XPath of the element to be modified. Note that this is a formatted field and therefore, square brackets in the XPath must be escaped.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="File" use="required" type="xs:string">

281
data/schemas/wix.xsd

@ -2415,9 +2415,10 @@ @@ -2415,9 +2415,10 @@
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="Icon" minOccurs="0" />
</xs:sequence>
<xs:element ref="ShortcutProperty" minOccurs="0" />
</xs:choice>
<xs:attribute name="Id" type="xs:string" use="required">
<xs:annotation><xs:documentation>Unique identifier for the shortcut. This value will serve as the primary key for the row.</xs:documentation></xs:annotation>
@ -2581,6 +2582,27 @@ @@ -2581,6 +2582,27 @@
</xs:complexType>
</xs:element>
<xs:element name="ShortcutProperty">
<xs:annotation>
<xs:appinfo>
<xse:seeAlso ref="Shortcut"/>
<xse:msiRef table="MsiShortcutProperty" />
</xs:appinfo>
<xs:documentation>Property values for a shortcut.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Id" type="xs:string">
<xs:annotation><xs:documentation>Unique identifier for MsiShortcutProperty table. If omitted, a stable identifier will be generated from the parent shortcut identifier and Key value.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Key" type="xs:string" use="required">
<xs:annotation><xs:documentation>Sets a default value for the property. The value will be overwritten if the Property is used for a search.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Value" type="xs:string">
<xs:annotation><xs:documentation>Sets a default value for the property. The value will be overwritten if the Property is used for a search.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Permission">
<xs:annotation>
<xs:documentation>
@ -2662,6 +2684,41 @@ @@ -2662,6 +2684,41 @@
</xs:complexType>
</xs:element>
<xs:element name="PermissionEx">
<xs:annotation>
<xs:documentation>
Sets ACLs on File, Registry, or CreateFolder. When under a Registry element, this cannot be used
if the Action attribute's value is remove or removeKeyOnInstall. This element is only available
when installing with MSI 5.0. For downlevel support, see the PermissionEx element from the
WixUtilExtension.
</xs:documentation>
<xs:appinfo>
<xse:msiRef table="MsiLockPermissionsEx" href="http://msdn.microsoft.com/library/aa369774.aspx"/>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="Condition" minOccurs="0">
<xs:annotation><xs:documentation>
Optional condition that controls whether the permissions are applied.
</xs:documentation></xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="Id" type="xs:string">
<xs:annotation><xs:documentation>
Primary key used to identify this particular entry. If this is not specified the parent element's Id attribute
will be used instead.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Sddl" type="xs:string" use="required">
<xs:annotation><xs:documentation>
Security descriptor to apply to parent object.
</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="CopyFile">
<xs:annotation>
<xs:appinfo>
@ -2790,6 +2847,9 @@ @@ -2790,6 +2847,9 @@
<xs:element ref="Permission">
<xs:annotation><xs:documentation>Used to configure the ACLs for this file.</xs:documentation></xs:annotation>
</xs:element>
<xs:element ref="PermissionEx">
<xs:annotation><xs:documentation>Can also configure the ACLs for this file.</xs:documentation></xs:annotation>
</xs:element>
<xs:element ref="CopyFile">
<xs:annotation><xs:documentation>Used to create a duplicate of this file elsewhere.</xs:documentation></xs:annotation>
</xs:element>
@ -2919,7 +2979,7 @@ @@ -2919,7 +2979,7 @@
<xs:annotation>
<xs:documentation>
Specifies if this File is a Win32 Assembly or .NET Assembly that needs to be installed into the
Global Assembly Cache. If the value is '.net' or 'win32', this file must also be the key path of the Component.
Global Assembly Cache (GAC). If the value is '.net' or 'win32', this file must also be the key path of the Component.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
@ -2962,7 +3022,7 @@ @@ -2962,7 +3022,7 @@
<xs:documentation>
Specifies the file identifier of the application file. This assembly will be isolated
to the same directory as the application file.
If this attribute is absent, the assembly will be installed to the Global Assembly Cache.
If this attribute is absent, the assembly will be installed to the Global Assembly Cache (GAC).
This attribute may only be specified if the Assembly attribute is set to '.net' or 'win32'.
</xs:documentation>
</xs:annotation>
@ -3006,7 +3066,7 @@ @@ -3006,7 +3066,7 @@
<xs:annotation><xs:documentation>Specifies the Media this File should be sourced on. This attribute overrides the default DiskId attribute from the parent Component element. If no DiskId attribute is specifed, the default is "1".</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Source" type="xs:string">
<xs:annotation><xs:documentation>Specifies the path to the File in the build process. This attribute must be set if no source information can be gathered from parent directories.</xs:documentation></xs:annotation>
<xs:annotation><xs:documentation>Specifies the path to the File in the build process. Overrides default source path set by parent directories and Name attribute. This attribute must be set if no source information can be gathered from parent directories. For more information, see <a href="\html\specifying_source_files.htm">Specifying source files</a>.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="src" type="xs:string">
<xs:annotation>
@ -3072,6 +3132,9 @@ @@ -3072,6 +3132,9 @@
<xs:element ref="Permission" minOccurs="0" maxOccurs="unbounded">
<xs:annotation><xs:documentation>ACL permission</xs:documentation></xs:annotation>
</xs:element>
<xs:element ref="PermissionEx">
<xs:annotation><xs:documentation>Can also configure the ACLs for this registry key.</xs:documentation></xs:annotation>
</xs:element>
<xs:any namespace="##other" processContents="lax">
<xs:annotation>
<xs:documentation>
@ -3158,6 +3221,9 @@ @@ -3158,6 +3221,9 @@
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="Permission"/>
<xs:element ref="PermissionEx">
<xs:annotation><xs:documentation>Can also configure the ACLs for this registry value.</xs:documentation></xs:annotation>
</xs:element>
<xs:element ref="MultiStringValue"/>
<xs:any namespace="##other" processContents="lax">
<xs:annotation>
@ -3422,6 +3488,9 @@ @@ -3422,6 +3488,9 @@
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="Permission"/>
<xs:element ref="PermissionEx">
<xs:annotation><xs:documentation>Can also configure the ACLs for this registry key.</xs:documentation></xs:annotation>
</xs:element>
<xs:element ref="RegistryValue"/>
<xs:element ref="Registry"/>
<xs:any namespace="##other" processContents="lax">
@ -3769,6 +3838,9 @@ @@ -3769,6 +3838,9 @@
<xs:element ref="Permission" minOccurs="0" maxOccurs="unbounded">
<xs:annotation><xs:documentation>ACL permission</xs:documentation></xs:annotation>
</xs:element>
<xs:element ref="PermissionEx">
<xs:annotation><xs:documentation>Can also configure the ACLs for this folder.</xs:documentation></xs:annotation>
</xs:element>
<xs:any namespace="##other" processContents="lax">
<xs:annotation>
<xs:documentation>
@ -4486,8 +4558,12 @@ @@ -4486,8 +4558,12 @@
<xs:attribute name="Id" type="Guid" use="required">
<xs:annotation><xs:documentation>The Class identifier (CLSID) of a COM server.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Context" use="required">
<xs:annotation><xs:documentation>The server context(s) for this server.</xs:documentation></xs:annotation>
<xs:attribute name="Context">
<xs:annotation><xs:documentation>
The server context(s) for this COM server. This attribute is optional for VB6 libraries that are marked "PublicNotCreateable".
Class elements marked Advertised must specify at least one server context. It is most common for there to be a single value
for the Context attribute.
</xs:documentation></xs:annotation>
<xs:simpleType>
<xs:list>
<xs:simpleType>
@ -4659,6 +4735,9 @@ @@ -4659,6 +4735,9 @@
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation><xs:documentation>Name for COM Interface.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="BaseInterface" type="Guid">
<xs:annotation><xs:documentation>Identifies the interface from which the current interface is derived.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="ProxyStubClassId" type="Guid">
<xs:annotation><xs:documentation>GUID CLSID for proxy stub to COM Interface.</xs:documentation></xs:annotation>
</xs:attribute>
@ -4741,6 +4820,8 @@ @@ -4741,6 +4820,8 @@
<xs:element ref="ServiceDependency">
<xs:annotation><xs:documentation>ordered list of dependencies when installing services</xs:documentation></xs:annotation>
</xs:element>
<xs:element ref="ServiceConfig"/>
<xs:element ref="ServiceConfigFailureActions"/>
<xs:any namespace="##other" processContents="lax">
<xs:annotation>
<xs:documentation>
@ -4750,8 +4831,11 @@ @@ -4750,8 +4831,11 @@
</xs:annotation>
</xs:any>
</xs:choice>
<xs:attribute name="Id" type="xs:string" use="required">
<xs:annotation><xs:documentation>Unique identifier for this service.</xs:documentation></xs:annotation>
<xs:attribute name="Id" type="xs:string">
<xs:annotation><xs:documentation>
Unique identifier for this service configuration. This value will default to the Name attribute if not
specified.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation><xs:documentation>This column is the string that gives the service name to install.</xs:documentation></xs:annotation>
@ -5015,6 +5099,177 @@ @@ -5015,6 +5099,177 @@
</xs:complexType>
</xs:element>
<xs:element name="RequiredPrivilege" type="xs:string">
<xs:annotation>
<xs:documentation>
Privilege required by service configured by ServiceConfig parent. Valid values are a <a href="http://msdn.microsoft.com/en-us/library/bb530716.aspx">privilege constant</a> or a
Formatted property that resolves to a privilege constant.
</xs:documentation>
<xs:appinfo>
<xse:msiRef table="MsiServiceConfig" href="http://msdn.microsoft.com/library/aa371634.aspx"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="ServiceConfig">
<xs:annotation>
<xs:documentation>
Configures a service being installed or one that already exists.
</xs:documentation>
<xs:appinfo>
<xse:msiRef table="MsiServiceConfig" href="http://msdn.microsoft.com/library/aa371637.aspx"/>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="RequiredPrivilege">
<xs:annotation><xs:documentation>List of privileges to apply to service.</xs:documentation></xs:annotation>
</xs:element>
</xs:choice>
<xs:attribute name="Id" type="xs:string">
<xs:annotation><xs:documentation>
Unique identifier for this service configuration. This value will default to the ServiceName attribute if not
specified.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="DelayedAutoStart" type="xs:string">
<xs:annotation><xs:documentation>
This attribute specifies whether an auto-start service should delay its start until after all other auto-start
services. This attribute only affects auto-start services. Allowed values are "yes", "no" or a Formatted property that
resolves to "1" (for "yes") or "0" (for "no"). If this attribute is not present the setting is not configured.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="FailureActionsWhen" type="xs:string">
<xs:annotation><xs:documentation>
This attribute specifies when failure actions should be applied. Allowed values are "failedToStop", "failedToStopOrReturnedError"
or a Formatted property that resolves to "1" (for "failedToStopOrReturnedError") or "0" (for "failedToStop"). If this attribute
is not present the setting is not configured.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="PreShutdownDelay" type="xs:string">
<xs:annotation><xs:documentation>
This attribute specifies time in milliseconds that the Service Control Manager (SCM) waits after notifying the service of a system
shutdown. If this attribute is not present the default value, 3 minutes, is used.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="OnInstall" type="YesNoType">
<xs:annotation><xs:documentation>
Specifies whether to configure the service when the parent Component is installed. This attribute may be combined with OnReinstall
and OnUninstall.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="OnReinstall" type="YesNoType">
<xs:annotation><xs:documentation>
Specifies whether to configure the service when the parent Component is reinstalled. This attribute may be combined with OnInstall
and OnUninstall.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="OnUninstall" type="YesNoType">
<xs:annotation><xs:documentation>
Specifies whether to configure the service when the parent Component is uninstalled. This attribute may be combined with OnInstall
and OnReinstall.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="ServiceName" type="xs:string">
<xs:annotation><xs:documentation>
Specifies the name of the service to configure. This value will default to the ServiceInstall/@Name attribute when nested under
a ServiceInstall element.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="ServiceSid" type="xs:string">
<xs:annotation><xs:documentation>
Specifies the service SID to apply to the service. Valid values are "none", "restricted", "unrestricted" or a Formatted property
that resolves to "0" (for "none"), "3" (for "restricted") or "1" (for "unrestricted"). If this attribute is not present the
setting is not configured.
</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Failure">
<xs:annotation><xs:documentation>Failure action for a ServiceConfigFailureActions element.</xs:documentation></xs:annotation>
<xs:complexType>
<xs:attribute name="Action" type="xs:string" use="required">
<xs:annotation><xs:documentation>
Specifies the action to take when the service fails. Valid values are "none", "restartComputer", "restartService", "runCommand" or a Formatted property
that resolves to "0" (for "none"), "1" (for "restartService"), "2" (for "restartComputer") or "3" (for "runCommand").
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Delay" type="xs:string" use="required">
<xs:annotation><xs:documentation>
Specifies the time in milliseconds to wait before performing the value from the Action attribute.
</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="ServiceConfigFailureActions">
<xs:annotation>
<xs:documentation>
Configures the failure actions for a service being installed or one that already exists.
</xs:documentation>
<xs:appinfo>
<xse:msiRef table="MsiServiceConfigFailureActions" href="http://msdn.microsoft.com/library/aa371637.aspx"/>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="Failure">
<xs:annotation><xs:documentation>Ordered list of failure actions to apply to service.</xs:documentation></xs:annotation>
</xs:element>
</xs:choice>
<xs:attribute name="Id" type="xs:string">
<xs:annotation><xs:documentation>
Unique identifier for this service configuration. This value will default to the ServiceName attribute if not
specified.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Command" type="xs:string">
<xs:annotation><xs:documentation>
This attribute specifies command to execute when a "runCommand" failure action hit. If an empty string is provided it clears
the existing command. If this attribute is not present the setting is not changed.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="OnInstall" type="YesNoType">
<xs:annotation><xs:documentation>
Specifies whether to configure the service when the parent Component is installed. This attribute may be combined with OnReinstall
and OnUninstall.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="OnReinstall" type="YesNoType">
<xs:annotation><xs:documentation>
Specifies whether to configure the service when the parent Component is reinstalled. This attribute may be combined with OnInstall
and OnUninstall.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="OnUninstall" type="YesNoType">
<xs:annotation><xs:documentation>
Specifies whether to configure the service when the parent Component is uninstalled. This attribute may be combined with OnInstall
and OnReinstall.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="RebootMessage" type="xs:string">
<xs:annotation><xs:documentation>
Specifies the message to show for a reboot failure action. If an empty string is provided it clears any existing reboot message. If this
attribute is not present the setting is not changed.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="ResetPeriod" type="xs:string">
<xs:annotation><xs:documentation>
Specifies the time in seconds to reset the failure count. If this attribute is not present the failure count will not be reset.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="ServiceName" type="xs:string">
<xs:annotation><xs:documentation>
Specifies the name of the service to configure. This value will default to the ServiceInstall/@Name attribute when nested under
a ServiceInstall element.
</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Environment">
<xs:annotation>
<xs:documentation>
@ -5281,6 +5536,8 @@ @@ -5281,6 +5536,8 @@
<xs:element ref="RemoveRegistryValue"/>
<xs:element ref="ReserveCost"/>
<xs:element ref="ServiceControl"/>
<xs:element ref="ServiceConfig"/>
<xs:element ref="ServiceConfigFailureActions"/>
<xs:element ref="ServiceInstall"/>
<xs:element ref="Shortcut"/>
<xs:element ref="SymbolPath"/>
@ -5736,7 +5993,7 @@ @@ -5736,7 +5993,7 @@
</xs:annotation>
</xs:attribute>
<xs:attribute name="FileSource" type="xs:string">
<xs:annotation><xs:documentation>Used to set the file system source for this directory's child elements.</xs:documentation></xs:annotation>
<xs:annotation><xs:documentation>Used to set the file system source for this directory's child elements. For more information, see <a href="\html\specifying_source_files.htm">Specifying source files</a>.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="LongName" type="LongFileNameType">
<xs:annotation>
@ -5855,7 +6112,7 @@ @@ -5855,7 +6112,7 @@
</xs:annotation>
</xs:attribute>
<xs:attribute name="FileSource" type="xs:string">
<xs:annotation><xs:documentation>Used to set the file system source for this DirectoryRef's child elements.</xs:documentation></xs:annotation>
<xs:annotation><xs:documentation>Used to set the file system source for this DirectoryRef's child elements. For more information, see <a href="\html\specifying_source_files.htm">Specifying source files</a>.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="src" type="xs:string">
<xs:annotation>
@ -8480,6 +8737,7 @@ @@ -8480,6 +8737,7 @@
If the Property attribute is specified, set the value of this attribute to the new value for the property.
To set a property to null, do not set this attribute (the ControlEvent Argument column will be set to '{}').
Otherwise, this attribute's value should be the argument for the event specified in the Event attribute.
If the event doesn't take an attribute, a common value to use is "0".
</xs:documentation>
</xs:annotation>
</xs:attribute>
@ -9300,6 +9558,7 @@ @@ -9300,6 +9558,7 @@
<xs:enumeration value="DefaultDir"/>
<xs:enumeration value="RegPath"/>
<xs:enumeration value="Formatted"/>
<xs:enumeration value="FormattedSddl"/>
<xs:enumeration value="Template"/>
<xs:enumeration value="Condition"/>
<xs:enumeration value="Guid"/>

Loading…
Cancel
Save