Skip to content
⌘ NSIS Forum Archive

Jump back to a page

2 posts

hstanciu#

Jump back to a page

Hello!

I want to send the user to go back and select the component page if a needed component was not selected. How can I do that?

Thank you,
H
kichik#
Use abort in the leave function of that page. If using the MUI define MUI_CUSTOMFUNCTION_COMPONENTS_LEAVE and use Abort from the defined function if needed. For example:

!define MUI_CUSTOMFUNCTION_COMPONENTS_LEAVE myLeaveFunc
Function myLeaveFunc
Abort
FunctionEnd
If not using the MUI use

Page comoponents "" "" myLeaveFunc

with the same function as above.