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.
Archive: Execute the function AFTER the "I agree" button is pressed (moder UI)
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.
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
This worked perfectly.
Thanks! :)