Cancel button ignored
Posted: Mon Oct 26, 2009 1:45 pm
I have 2 custom dialogs in my script - the first one non-modal (progress for checking prerequisites) and the second a modal display of prerequisite status. Both have cancel buttons. If the user clicks on cancel for either, the script just hangs with the dialog there.
I verified that the checkingPrereqs dialog (nonmodal) returns its result in the WIZARD variable. During the next sets of checks that run I check several times if the WIZARD Equals CANCEL, then terminate.
if Variable WIZARD Equals CANCEL
Hide Dialog
Terminate Installation
end
For the modal dialog, it just check one time after the dialog returns.
The script just seems to ignore the request. Is WIZARD a variable I should not use here?
Version 8.0. Is this a known issue?
I verified that the checkingPrereqs dialog (nonmodal) returns its result in the WIZARD variable. During the next sets of checks that run I check several times if the WIZARD Equals CANCEL, then terminate.
if Variable WIZARD Equals CANCEL
Hide Dialog
Terminate Installation
end
For the modal dialog, it just check one time after the dialog returns.
The script just seems to ignore the request. Is WIZARD a variable I should not use here?
Version 8.0. Is this a known issue?