Displays a standard Windows message box with a Yes button and a No button.
Action ID: 28
Action Category: Dialogs
The title bar text for the message box.
The text that you want to display in the message box.
The icon (if any) that you want to include on the message box. Choose from:
|
|
|
|
|
|
|
|
|
|
The variable name to store the result of the message box in. The result will depend on whether the user presses the Yes or No button.
The value to store in the variable if the Yes button is pressed.
The value to store in the variable if the No button is pressed.
Value |
Simple Message |
Verbose Message |
0 (OK) |
|
|
1 - XXX (i.e. 1, 2, 3...N) |
Could not display message box. |
<<System-defined error message>> |
In this example, we will ask the user if they would like to download and install some optional image files.
We will store their answer in a custom variable named %InstallImages%.
%InstallImages% will contain "1" if the user selects Yes and "0" if they select No.
Later in our setup we would probably use %InstallImages% as a Boolean condition for an IF action.
Title: Image Files
Message: Would you like to
download and install our optional image library?
Icon: Question
Store result in variable: %InstallImages%
YES value: 1
NO value: 0
See Also: Alphabetical List of Actions, Categorical List of Actions, On Error tab