|
|
||
MSI Factory
The VolumeCostList control presents information about the cost associated with the selection on the different drives. It shows all the drives involved in the current installation plus all drives that are of the types chosen in the Drives to Display area of this dialog. If the required disk space exceeds the amount available on some drive, it is highlighted in the control.
The following localizable string identifiers are used for the column headings in the control:
UITextVolumeCostVolume
UITextVolumeCostSize
UITextVolumeCostRequired
UITextVolumeCostDifference
UITextVolumeCostAvailable
The following four localized strings are used in formatting the size of a file:
bytes
KB
MB
GB
Note: The installer does not update the content of the VolumeCostControl when a user enters a different path into a PathEdit control, browse dialog box, DirectoryList control, or DirectoryCombo control because there is no property associated with this control.
The font, font style, and column widths to use for the control. Text styles can be managed in your project on the Styles dialog (Project > Styles).
To set the column widths in the VolumeCostList control, append the column widths to any font specification. Column widths are entered as a series of positive integers enclosed in curly braces. Empty curly braces or {0} hide the column. A negative number or a string that cannot be converted into a positive integer is an invalid column width. When an invalid column width is encountered in the series, the remaining columns are hidden. A maximum of five column widths can be specified.
Example: (the last column is set to be hidden)
{\UI_Font_Normal}{40}{55}{60}{60}{0}
If checked, all CD-ROM drives will be listed in the control. If unchecked, they will be excluded.
If checked, all fixed internal hard drives will be listed in the control. If unchecked, they will be excluded.
If checked, all floppy drives will be listed in the control. If unchecked, they will be excluded.
If checked, all RAM disks will be listed in the control. If unchecked, they will be excluded.
If checked, all remote drives will be listed in the control. If unchecked, they will be excluded.
If checked, all removable drives will be listed in the control. If unchecked, they will be excluded.
If checked, the scroll bar will be shown on the left side of the control. If unchecked, it will be shown on the right side.
If checked, the text in the control will be shown in right-to-left reading order. If unchecked, it will be shown in left-to-right reading order.
If checked, the text in the control will be aligned to the right. If unchecked, it will be aligned to the left.
If checked, and the property PROMPTROLLBACKCOST = P, and this attribute is set, the rollback, back-up files are included in the cost shown by the VolumeCostList control. If unchecked, and the property PROMPTROLLBACKCOST = P, the rollback, backup files are not included in the cost shown by the VolumeCostList Control. This control attribute is ignored if PROMPTROLLBACKCOST = D or F. If PROMPTROLLBACKCOST = F, the cost of the rollback, backup files is included. If PROMPTROLLBACKCOST = D, or DISABLEROLLBACK = 1, the cost of the rollback, back-up files is not included.
MSDN Online: VolumeCostList Control
MSDN Online: Controls
MSDN Online: Control Table
MSDN Online: PROMPTROLLBACKCOST Property
MSDN Online: DisableRollback
WiX Help File: Control Element
Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us