Skip to content

Commit

Permalink
installer: correctly label the Install button even when there is no e…
Browse files Browse the repository at this point in the history
…xperimental option

If all of the experimental options are hidden, we skip that page.
However, this is the last page of the wizard (at least if there are
no active processes that would block the installation), and that is
therefore the page where we re-label the "Next" button so that it says
"Install".

Therefore, if the experimental options page is hidden, we need to move
that button re-labeling to the preceding page.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Oct 30, 2024
1 parent 1ffa3df commit 18e1a8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions installer/install.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2526,6 +2526,8 @@ begin
#endif
PageIDBeforeInstall:=CurrentCustomPageID;
if (PageIDBeforeInstall=ExperimentalOptionsPage.ID) and IsHiddenExperimentalOptionsPageEmpty then
PageIDBeforeInstall:=PageIDBeforeInstall-1;
(*
* Create a custom page for finding the processes that lock a module.
Expand Down

0 comments on commit 18e1a8d

Please sign in to comment.