InstallAware for Windows Installer
 

Intra-Dialog Relations

While working on dialogs, you will realize you need to constrain the behavior of controls shown on the dialogs. A step-by-step procedure is provided below for defining relations in between your dialog controls.

  1. Make sure the dialog contains the controls that are expected to interact with one another.
  2. Double-click one of the controls. The Define Interactive Characteristics dialog appears. Select the Object Rules tab on this dialog.
  3. If you have any existing relations previously defined, they show under the Existing Rules pane. You may highlight rules and move their processing order up or down, or delete the rules altogether. Keep in mind that rules will be processed at runtime following a top-down order.
  4. In the When Control drop down menu, select the control whose state will effect the other control. Controls are listed on this drop down menu by their Name property accessible from the Object Properties window.
  5. Choose the property you wish to check for in the Has Property drop down menu.
  6. Enter the property value in the Equal To field as a string. You may also check not if you wish to test for the exclusion of this property.
  7. In the Change Control drop down menu, choose the target control.
  8. Pick the Property Value to modify from the drop down menu.
  9. Enter the new value into the To New Value field as a string.
  10. Click the Add button to add your new rule to the list of existing rules. Click Replace instead to replace the currently highlighted rule in the Existing Rules pane with the new rule.
  11. If you later wish to customize an existing rule, simply click that rule in the Existing Rules pane. All fields in the rule editor will be automatically populated. You can update your rule and click Replace to store your changes.
  12. Be sure to click Close on the dialog to finalize your changes, and save your dialog in the main editor.

 Notes

  • To see example dialog relations in action, open any license agreement dialog.
  • Test the behavior you defined in the main editor by choosing ToolsTest Dialog.