inno-setup

Hide Inno Setup Preparing to Install page


When I try to install my app over already installed instance, Inno Setup installer shows "Preparing to Install" page, which in my case is blank as I hide most of standard labels. Is it possible to hide manually this page?

procedure CurPageChanged(CurPageID: Integer);
begin
  case CurPageID of wpPreparing
    WizardForm.PreparingPage.Visible := False; // doesn't work. 
  end;
end;

Solution

  • If I understand your question correctly, the installer does not stop on the "Preparing to Install" page, right?

    You just want to avoid that momentary display of the page just before the actual installation starts, right?

    You cannot. There's no way. You can of course modify the page to look differently, if needed, but you cannot skip it.