The source code schema for the Windows Installer XML Toolset COM+ Extension.
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.
Identifier for the element.
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.
Name of the partition. This attribute can be omitted if
the element is a locater, and a value is provided for the PartitionId
attribute.
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.
Identifier for the element.
The id of a ComPlusPartition element representing the partition
the role belongs to.
Name of the partition role.
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.
Identifier for the element.
The id of a ComPlusPartitionRole element representing the
partition the user should be added to.
Foreign key into the User table.
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.
Identifier for the element.
The id of a ComPlusPartitionRole element representing the
partition the user should be added to.
Foreign key into the Group table.
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.
Identifier for the element.
The id of a ComPlusPartition element representing the
partition that will be the default partition for the user.
Foreign key into the User table.
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.
Identifier for the element.
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.
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.
Name of the application. This attribute can be omitted if
the element is a locater, and a value is provided for the PartitionId
attribute.
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.
Identifier for the element.
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.
Name of the application role.
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.
Identifier for the element.
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.
Foreign key into the User table.
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.
Identifier for the element.
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.
Foreign key into the Group table.
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.
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.
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.
Warning: 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.
Identifier for the element.
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.
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”.
The path to locate the assembly DLL during registration.
This attribute should be provided if DllPathFromGAC is not set to “yes”.
An optional path to an external type lib for the assembly.
This attribute must be provided if the Type attribute is set to “.net”.
An optional path to an external proxy/stub DLL for the assembly.
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.
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.
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.
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.
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.
Reference to the id of the assembly required by the parent
ComPlusAssembly element.
Represents a COM+ component in an assembly.
Identifier for the element.
CLSID of the component.
Represents a role assignment to a COM+ component.
Identifier for the element.
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.
Id of the ComPlusApplicationRole element representing the
role that shall be granted access to the component.
Represents an interface for a COM+ component.
Identifier for the element.
IID of the interface.
Represents a role assignment to an interface.
Identifier for the element.
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.
Id of the ComPlusApplicationRole element representing the
role that shall be granted access to the interface.
Represents a method for an interface.
Identifier for the element.
Dispatch id of the method. If this attribute is not set a
value must be provided for the Name attribute.
Name of the method. If this attribute is not set a value
must be provided for the Index attribute.
Represents a role assignment to a COM+ method.
Identifier for the element.
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.
Id of the ComPlusApplicationRole element representing the
role that shall be granted access to the method.
Defines an event subscription for a COM+ component.
Identifier for the element.
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.
Id of the subscription. If a value is not provided for
this attribute, an id will be generated during installation.
Name of the subscription.
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.
Publisher id for the subscription. If a value for this
attribute is not provided, a value for the EventCLSID attribute must be
provided.
Values of this type will either be "yes" or "no".
Values of this type will look like: "01234567-89AB-CDEF-0123-456789ABCDEF".