MsmTask.

MsmModuleExclusionsElement Property

Summary

Lists other merge modules that are incompatible in the same installer database.

Contains any number of exclusion elements.

More information is available here.

Parameters

Attribute Type Description Required
id string Identifier of the merge module required True
language string Numeric language ID of the merge module in ExcludedID. The ExcludedLanguage column can specify the language ID for a single language, such as 1033 for U.S. English, or specify the language ID for a language group, such as 9 for any English. The ExcludedLanguage column can accept negative language IDs. The meaning of the value in the ExcludedLanguage column is as follows. DescriptionExclude the language IDs specified by ExcludedLanguage.Exclude no language IDs.Exclude all language IDs except those specified by ExcludedLanguage.
ExcludedLanguage
> 0
= 0
< 0
True
minversion string Minimum version excluded from a range. If ommitted, all versions before maxversion are excluded. If both minversion and maxversion are ommitted there is no exclusion based on version. False
maxversion string Maximum version excluded from a range. If ommitted, all versions after minversion are excluded. If both minversion and maxversion are ommitted there is no exclusion based on version. False

Examples

Exclude the all NAnt merge modules created before version 0.85.0 <moduleexclusions> <exclusion id="NAnt_MergeModule.2D2FB50C_DADF_4813_8932_8EF1E8CB8E80" language="0" maxversion="0.85.0" /> </moduleexclusions>
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks.Msi
Containing Type
MsmTask

Syntax

[BuildElement("moduleexclusions", ProcessXml = false)]
public SchemaElement[] MsmModuleExclusionsElement { get; set; }

Attributes

Type Description
BuildElement

Value

Type Description
SchemaElement[]