nsDialogs and INSTFILES
few questions

1) if I have a nsDialogs page before instfiles how do i goto
the instfiles page from a custom button i know how to make the button and have it call a function but what would i put in the fuction?

2)if i have a custom page after the instfiles page and no mui finish page defined after the files are installed the user has to click next ,how can i have it just goto the custom page like it would goto the finish page if that was defined?

3) on my custom page after the instfiles page if i use
nsDialogs::Create /NOUNLOAD 1018 none of my custom controls show up i have to use /NOUNLOAD /1044 instead and then the show up but certain commands dont work that worked on the 1018
for instance i have a button that calls this
Function LeaveInstaller
Pop $0
SendMessage $HWNDPARENT ${WM_CLOSE} 0 0
FunctionEnd

and it works if the custom page is before instfiles but not if the page is after

thanks