InstallShield 2016 » InstallScript Language Reference
Project • This information applies to the following project types:
| • | InstallScript | 
| • | InstallScript MSI | 
The OnCanceling event handler responds to the Cancel event that is generated when the end user clicks the Cancel button in one of the built-in InstallScript dialogs.
function OnCanceling( )
begin
if (YES = AskYesNo(
"Are you sure you want to cancel the setup?",
YES))
then abort;
endif;
end;
| InstallShield 2016 Help LibraryMay 2017 | Copyright Information | Flexera Software |