Welcome, Guest
Username Password: Remember me

Switch to the finish page in Inno Setup installation
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Switch to the finish page in Inno Setup installation

Switch to the finish page in Inno Setup installation 2 years, 3 months ago #1410

  • InstallerExpert
I* added a few custom pages to my setup. In one of this custom pages I do some checks. If this checks failed, I want switch to finish page. How can I do this?

I can not do this with ShouldSkipPage event function because:

function ShouldSkipPage(PageID: Integer): Boolean;
begin
  // this will NEVER happened - see documentation below
  if (PageID = wpInstalling) or (PageID = wpPreparing) or (PageID = wpWelcome) then
  begin
    // skip install - simply for example
    result := True;
    exit;
  end;
 
  resutl := false;
end;
  • Page:
  • 1
Time to create page: 0.52 seconds

     
    
Home Forum