Skip to content
⌘ NSIS Forum Archive

coding on the click event of custom page next button ?

4 posts

anilnarayan#

coding on the click event of custom page next button ?

hi..

i have a custom page which have two text boxes. I want to call a function with these text box values as parameter.

how to code at the click event of the custom page next button.

please help me...
Majek#
Create 2 functions:

Function CustomPageEnter
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "CustomPage.ini"
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "CustomPage.ini"
FunctionEnd

Function CustomPageLeave
!insertmacro MUI_INSTALLOPTIONS_READ $R0 "CustomPage.ini" "Field 1" "Text"
; $R0 variable contains text
FunctionEnd

Then where you define your page order use:

Page Custom CustomPageEnter CustomPageLeave