Skip to content
⌘ NSIS Forum Archive

Execute the function AFTER the "I agree" button is pressed (moder UI)

3 posts

grzech#

Execute the function AFTER the "I agree" button is pressed (moder UI)

Hi,

I want to execute the function just after "I agree" (License) button is pressed but before the proper installation begins. I use Modern UI. How to do it?

Thanks.
Red Wine#
You may want to refer to MUI documentation
EX:
!insertmacro MUI_PAGE_WELCOME
!define MUI_PAGE_CUSTOMFUNCTION_LEAVE "function"
!insertmacro MUI_PAGE_LICENSE '${NSISDIR}\License.txt'
!insertmacro MUI_PAGE_COMPONENTS