Archive: MUI_PAGE_FINISH 'Finish' button..


MUI_PAGE_FINISH 'Finish' button..
Hi All,

I have a question about the MUI_PAGE_FINISH
page. I've seen some installers put up the
final page with just a "Finish" button, and
no other buttons.

Ideally, that's what I'd like to have.

Right now my installer has:

!define MUI_FINISHPAGE_NOREBOOTSUPPORT
!insertmacro MUI_PAGE_FINISH


Even if my install goes perfectly, it puts up
a "< Back" button, and the "Finish" button is
highlighted, but I'd rather not let the user hit
"< Back" and possibly foul-up an install, that
went okay.

Is there a way I can just have a "Finish" button?

Thanks!


The back button is disabled if the previous page is the instfiles page and so the user can't really go back and foul-up anything.


I need to have a "custom" page in between:


!insertmacro MUI_PAGE_INSTFILES

Page custom CustomPortPage

!define MUI_FINISHPAGE_NOREBOOTSUPPORT
!insertmacro MUI_PAGE_FINISH

And I'm able to hit the "< Back" button, even if
"Finish" is highlighted.

So is there any way, other than possibly creating a
special "custom" finish page, to just have a
"Finish" button, or some way to "disable"
the "< Back" button?

Thanks!


You can disable the button with the EnableWindow command in the show callback function of the Finish page.

GetDlGItem $0 $HWNDPARENT 3
EnableWindow $0 0