If a the user clicks on "Cancel", I want the installer to stop and exit,开发者_运维问答 WITHOUT asking I want to exit or not.
Can this be done somehow? Any help would be greatly appreciated.
This is very easy. Just add
[Code]
procedure CancelButtonClick(CurPageID: Integer; var Cancel, Confirm: Boolean);
begin
Cancel := true;
Confirm := false;
end;
to your ISS script.
精彩评论