Skip to content
⌘ NSIS Forum Archive

how can i disable the next button on welcome page

2 posts

JamesKiller#

how can i disable the next button on welcome page

How can i disable the next button on welcome page, i am using MUI.....
Comperio#
GetDlgItem $1 $HWNDPARENT 1
EnableWindow $1 0
Use this in the page's show function. If course, you'd have to re-enable it at some point or your install won't get far! 😉

PS:
Use !define MUI_WELCOMEFINISHPAGE_CUSTOMFUNCTION_INIT YourFunction to setup a custom welcome page init function. Or you could use MUI_PAGE_CUSTOMFUNCTION_SHOW or MUI_PAGE_CUSTOMFUNCTION_LEAVE. These are all in the MUI docs.