Windows Installer Editor Reference
461
Working With Dialogs
5. Specify where in the sequence the new dialog box should appear.
If Move Up and Move Down buttons appear, use them to move the new dialog
box within the list.
If they do not appear, then you must select a dialog box in both the After and
Before columns. The new dialog box will appear after the dialog box you select
in After, and before the dialog box you select in Before.
6. Click Finish to add the new dialog box to the dialog box list.
Now you can add and edit controls on the dialog box.
See:
Adding Controls to Dialogs
on page 458
Editing Dialog Details
on page 458
Organizing and Aligning Controls on Dialogs
on page 469
About Dialog Controls
Installation dialog boxes contain standard controls, which you can add and edit. Most
controls are configured by completing their Properties dialog box.
See
Editing Dialog Controls
on page 463.
dialog box controls often have an associated property. The result from the dialog box
control is put into the property. To have a dialog box control be deselected by default,
associate the control with a property whose value is not defined (null).
Example:
Suppose you create a check box, and you want the check box to be initially cleared. In
the Properties dialog box for the check box, click the New button next to the Property
field, create a new property named CHECKBOX1, and leave its value blank. Although this
results in error messages during compile (which you can safely ignore), it ensures that
the check box is initially cleared when initially cleared when it appears to the end user.
(Delete the property from the Properties icon on the Product tab to eliminate error
messages.) To test whether the end user marked the check box, you use a condition
that consists of the property’s name, that is, CHECKBOX1. If the check box was not
marked, the value of the property remains null, and therefore CHECKBOX1 is false. If
the check box was marked, its value is now non-null, and therefore CHECKBOX1 is true.
Types of Dialog Controls
Billboard
A static field that defines the area of the dialog box where a
sequence of text and images is displayed during installation
Billboards require special setup.
See
About Billboards
on page 472.
Bitmap
A static image field for displaying graphics
Button
A clickable button
Check box
A single check box for on/off, true/false settings