Skip to content

Commit 18e1a8d

Browse files
committed
installer: correctly label the Install button even when there is no experimental 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 <[email protected]>
1 parent 1ffa3df commit 18e1a8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

installer/install.iss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2526,6 +2526,8 @@ begin
25262526
#endif
25272527
25282528
PageIDBeforeInstall:=CurrentCustomPageID;
2529+
if (PageIDBeforeInstall=ExperimentalOptionsPage.ID) and IsHiddenExperimentalOptionsPageEmpty then
2530+
PageIDBeforeInstall:=PageIDBeforeInstall-1;
25292531
25302532
(*
25312533
* Create a custom page for finding the processes that lock a module.

0 commit comments

Comments
 (0)