Column Element

WiX

Column Element

Description
Column definition for a Custom Table
Windows Installer references
None
Parents
CustomTable
Inner Text
None
Children
None
Attributes
Name Type Description Required
Id String Identifier for the column. Yes
Category Enumeration 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
 
Description String Description of this column.  
KeyColumn Integer Column in the table in KeyTable attribute.  
KeyTable String Table in which this column is an external key. Can be semicolon delimited.  
Localizable YesNoType Whether this column can be localized.  
MaxValue Integer Maximum value for a numeric value, date or version in this column.  
MinValue Integer Minimum value for a numeric value, date or version in this column.  
Modularize Enumeration How 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.
 
Nullable YesNoType Whether this column can be left null.  
PrimaryKey YesNoType Whether this column is a primary key.  
Set String Semicolon delimited list of permissible values.  
Type Enumeration The 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
Width Integer Width of this column.  
See Also
Wix Schema