Summary
Includes pre-packaged installation components (.msm files) as part
of the msi database. This feature allows reuse of installation
components that use MSI technology from other setup vendors or as
created by the NAnt.Contrib.Tasks.Msi.MsmTask
.
Parameters
Attribute |
Type |
Description |
Required |
feature |
string |
Refrence to a feature. Used to associate the merge module with the feature (and the feature's directory) for when to install the components in the merge module. |
True |
Nested Elements:
<modules>
Specifies the merge module(s) to include with the specified feature.
</modules>
<configurationitems>
<configurationitem>
Specifies the value for a configurable item
Parameters
Attribute
Type
Description
Required
-
module
string
Merge module filename to limit the configuration item to. If this is not set, the configuration item will be applied to all merge modules in the fileset.
True
-
name
string
Name of item for which data is to be set
True
-
value
string
Value of the configurable item
True
</configurationitem>
</configurationitems>
Examples
Add the NAnt merge module to the install.
<mergemodules>
<merge feature="F__NAntMSM">
<modules>
<include name="${nant.dir}\Install\NAnt.msm" />
</modules>
</merge>
</mergemodules>
Add a Visual Studio .wid package (merge module) and specify some configurable items.
<mergemodules>
<merge feature="F__DefaultFeature">
<modules>
<include name="VsdReadmeDlg.wid" />
</modules>
<configurationitems>
<configurationitem name="BannerBitmap" value="CONFIGURED_BANNERBITMAP" />
<configurationitem module="VsdReadmeDlg.wid" name="ReadmeText" value="CONFIGURED_READMETEXT" />
</configurationitems>
</merge>
</mergemodules>
Syntax
[BuildElement("mergemodules", ProcessXml = false)]
public SchemaElement[] MsiMergeModulesElement { get; set; }
Attributes
Type |
Description |
BuildElement |
|
Value
Type |
Description |
SchemaElement[] |
|