A Cancel dialog box confirms that the user wants to terminate the installation. This is a modal dialog box.
This type of dialog box commonly contains a Text control and two PushButtons. The two buttons give the user the choice of either returning to the last dialog box or confirming the termination of the installation.
The EndDialog ControlEvent is linked to these two buttons in the ControlEvent table. The Return parameter of the EndDialog ControlEvent is linked to one of the buttons and causes the Cancel dialog box to be terminated and the focus to return to the previous dialog box. The Exit parameter is linked to the other button and causes the user interface to return control to the installer with the appropriate code indicating that the user wants to exit. The installer then shuts down and displays the UserExit Dialog.