WiX Database XML Schema

Element: Control

Description

Contains the controls that appear on each dialog.

Derived By

Restricting anyType

Attributes

Name  Type  Description 
Id  string  Combined with the Dialog Id to make up the primary key of the Control table.
Type  string  The type of the control.
X  LocalizableInteger  Horizontal coordinate of the upper-left corner of the rectangular boundary of the control.
Y  LocalizableInteger  Vertical coordinate of the upper-left corner of the rectangular boundary of the control.
Width  LocalizableInteger  Width of the rectangular boundary of the control.
Height  LocalizableInteger  Height of the rectangular boundary of the control.
Property  string  The name of a defined property to be linked to this control.
Text  string  A localizable string used to set the initial text contained in a control.
Help  string  This attribute is reserved for future use.
ToolTip  string  The string used for the Tooltip.
CheckBoxValue  string  This attribute is only valid for CheckBox Controls.
TabSkip  YesNoType  Set this attribute to "yes" to cause this Control to be skipped in the tab sequence.
Default  YesNoType  Set this attribute to "yes" to cause this Control to be invoked by the return key.
Cancel  YesNoType  Set this attribute to "yes" to cause this Control to be invoked by the escape key.
Hidden  YesNoType  Set this attribute to "yes" to cause the Control to be hidden.
Disabled  YesNoType  Set this attribute to "yes" to cause the Control to be disabled.
Sunken  YesNoType  Set this attribute to "yes" to cause the Control to be sunken.
Indirect  YesNoType  Specifies whether the value displayed or changed by this control is referenced indirectly.
Integer  YesNoType  Set this attribute to "yes" to cause the linked Property value for the Control to be treated as an integer. Otherwise, the Property will be treated as a string.
RightToLeft  YesNoType  Set this attribute to "yes" to cause the Control to display from right to left.
RightAligned  YesNoType  Set this attribute to "yes" to cause the Control to be right aligned.
LeftScroll  YesNoType  Set this attribute to "yes" to cause the scroll bar to display on the left side of the Control.
Transparent  YesNoType  This attribute is only valid for Text Controls.
NoPrefix  YesNoType  This attribute is only valid for Text Controls.
NoWrap  YesNoType  This attribute is only valid for Text Controls.
FormatSize  YesNoType  This attribute is only valid for Text Controls.
UserLanguage  YesNoType  This attribute is only valid for Text Controls.
Multiline  YesNoType  This attribute is only valid for Edit Controls.
Password  YesNoType  This attribute is only valid for Edit Controls.
ProgressBlocks  YesNoType  This attribute is only valid for ProgressBar Controls.
Removable  YesNoType  This attribute is only valid for Volume and Directory Controls.
Fixed  YesNoType  This attribute is only valid for Volume and Directory Controls.
Remote  YesNoType  This attribute is only valid for Volume and Directory Controls.
CDROM  YesNoType  This attribute is only valid for Volume and Directory Controls.
RAMDisk  YesNoType  This attribute is only valid for Volume and Directory Controls.
Floppy  YesNoType  This attribute is only valid for Volume and Directory Controls.
ShowRollbackCost  YesNoType  This attribute is only valid for VolumeCostList Controls.
Sorted  YesNoType  This attribute is only valid for Listbox, ListView, and ComboBox Controls.
ComboList  YesNoType  This attribute is only valid for ComboBox Controls.
Image  YesNoType  This attribute is only valid for RadioButton, PushButton, and Icon Controls.
IconSize  NMTOKEN (restriction)  This attribute is only valid for RadioButton, PushButton, and Icon Controls.
FixedSize  YesNoType  This attribute is only valid for RadioButton, PushButton, and Icon Controls.
Icon  YesNoType  This attribute is only valid for RadioButton and PushButton Controls.
Bitmap  YesNoType  This attribute is only valid for RadioButton and PushButton Controls.
PushLike  YesNoType  This attribute is only valid for RadioButton and Checkbox Controls.
HasBorder  YesNoType  This attribute is only valid for RadioButton Controls.
ElevationShield  YesNoType  This attribute is only valid for PushButton controls.

Content Model

Contains elements as defined in the following table.

Component  Type  Description 
Text  string (extension)  An alternative to using the Text attribute when the value contains special XML characters like <, >, or &.
ComboBox  anyType (restriction)  Set of items for a particular ComboBox control tied to an install Property
ListBox  anyType (restriction)  Set of items for a particular ListBox control tied to an install Property
ListView  anyType (restriction)  Set of items for a particular ListView control tied to an install Property
RadioButtonGroup  anyType (restriction)  Set of radio buttons tied to the specified Property
Property  anyType (restriction)  Property value for a Product or Module.
Binary  anyType (restriction)  Binary data used for CustomAction elements and UI controls.
Condition  string (extension)  Conditions for components, controls, features, and products.
Publish  string (extension)   
Subscribe  anyType (restriction)  Sets attributes for events in the EventMapping table