The default next button for the Directory page is either Next or Install depending on if there are more sections after it. I was wondering if there was a way to control that. With custom pages I can just set that value, but I'm not sure how to set the value with system generated pages.
Thanks
Joe
Changing Default Pages
3 posts
Hello.
Add a MUI_PAGE_CUSTOMFUNCTION_SHOW define right before the Directory page macro, like this:
Add a MUI_PAGE_CUSTOMFUNCTION_SHOW define right before the Directory page macro, like this:
Then add this function, and replace "ButtonTextHere" with what ever you want the button to say:
!define MUI_PAGE_CUSTOMFUNCTION_SHOW "DirectoryShow"
!insertmacro MUI_PAGE_DIRECTORY
Good luck.
Function DirectoryShow
GetDlgItem $0 $HWNDPARENT 1
SendMessage $0 ${WM_SETTEXT} 0 "STR:ButtonTextHere"
FunctionEnd
Or simply use MiscButtonText and InstallButtonText.