3

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.

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
lostprophet
  • 31
  • 1
  • 2

1 Answers1

8

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.

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
Andreas Rejbrand
  • 105,602
  • 8
  • 282
  • 384