Skip to main content
Version: v3

Column Element

Description
Column definition for a Custom Table
Windows Installer references
None
Parents
CustomTable
Inner Text
None
Children
None
Attributes
NameTypeDescriptionRequired
IdStringIdentifier for the column.Yes
CategoryEnumeration Category of this column. This attribute must be specified with a value of 'Binary' if the Type attribute's value is 'binary'. This attribute's value must be one of the following:
Text
UpperCase
LowerCase
Integer
DoubleInteger
TimeDate
Identifier
Property
Filename
WildCardFilename
Path
Paths
AnyPath
DefaultDir
RegPath
Formatted
FormattedSddl
Template
Condition
Guid
Version
Language
Binary
CustomSource
Cabinet
Shortcut
 
DescriptionStringDescription of this column. 
KeyColumnIntegerColumn in the table in KeyTable attribute. 
KeyTableStringTable in which this column is an external key. Can be semicolon delimited. 
LocalizableYesNoTypeWhether this column can be localized. 
MaxValueIntegerMaximum value for a numeric value, date or version in this column. 
MinValueIntegerMinimum value for a numeric value, date or version in this column. 
ModularizeEnumerationHow this column should be modularized, if at all. This attribute's value must be one of the following:
None
Column should not be modularized. This is the default value.
Column
Column should be modularized.
Condition
Column is a condition and should be modularized.
Icon
When the column is an primary or foreign key to the Icon table it should be modularized special.
Property
Any Properties in the column should be modularized.
SemicolonDelimited
Semi-colon list of keys, all of which need to be modularized.
 
NullableYesNoTypeWhether this column can be left null. 
PrimaryKeyYesNoTypeWhether this column is a primary key. 
SetStringSemicolon delimited list of permissible values. 
TypeEnumerationThe type of this column. This attribute's value must be one of the following:
binary
Column contains a path to a file that will be inserted into the column as a binary object. If this value is set, the Category attribute must also be set with a value of 'Binary' to pass ICE validation.
int
Column contains an integer or datetime value (the MinValue and MaxValue attributes should also be set).
string
Column contains a non-localizable string value.
Yes
WidthIntegerWidth of this column. 
See Also
Wix Schema