Archive: .onInit function


.onInit function
I have an older script and I want to run with the new NSIS version but I have the following problem.
with the older one ..the check component doesnt work and jump directly to install location page.

With the new one the check component work (telling the msg "please select a component to install"") but it doesnt stop to select component page and and move foward.
Missing somenthing can someone help me out

Thank you


You should not add a custom page but define MUI_PAGE_CUSTOMFUNCTION_LEAVE before inserting the page macro.


Thank you