Problem inserting finish page on clikcing next button of main window
i have a problem, i have an installer code which is as following
;Modern UI Configuration

; Show a warning when the user cancels the install
!define MUI_ABORTWARNING
; I'm using some custom pages
!define MUI_CUSTOMPAGECOMMANDS
; Show a finish page at the end of the installation
;!define MUI_FINISHPAGE
; Don't present the option to reboot the computer on the finish page
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
; The icon for the installer title bar and .exe file
!define MUI_ICON "eclipse.ico"
; I've written a function that I want to be called when the user cancels the installation
!define MUI_CUSTOMFUNCTION_ABORT myOnAbort
; Override the text on the Finish Page

!define MUI_FINISHPAGE_TITLE "Installation Complete"
!define MUI_FINISHPAGE_TEXT "Survey has been queued for installation on the selected Palm devices.\r\n\r\nClick 'Finish,' then HotSync each device to complete publishing."
;!insertmacro MUI_PAGE_FINISH
;--------------------------------
; Modern UI Pages (listed in order they will appear

; file installation page (preps needed files)
;!insertmacro MUI_PAGE_INSTFILES
; custom page for choosing the Palm user(s) to publish to
;added leave custom to the page by shwetha
Page custom ShowUserList LeaveCustom
;Page custom LeaveCustom
; this will be called before the finish page is displayed to perform cleanup
define MUI_PAGE_CUSTOMFUNCTION_PRE myFinishPre
; finish page
!insertmacro MUI_PAGE_FINISH
-----------------------------------
the finish page doesnt appear when i click on the next button...what can be tha problem