Ned_Flanders_
1st March 2004 17:27 UTC
leave out MUI_FINISHPAGE
Hello *,
Im looking for a solution to leave out the Final Page (MUI_FINISHPAGE) from the Installer. I´ve tried to "SetAutoClose true" in .onInstSuccess Function as well as useing the but that wont work at all.
I think I use the MUI_FINISHPAGE LEAVE macro in a wrong way,
can someone give me a hint how that would work?
thanks,
Joost Verburg
1st March 2004 17:50 UTC
You have inserted that page yourself. Do not insert the MUI_PAGE_FINISH macro and it's gone.
Ned_Flanders_
1st March 2004 18:42 UTC
no, all I use is:
---<snip>------------------------------------
"${NSISDIR}\SKit\confs\License.txt"
Page custom choose_product_page
Page license
Page directory
Page components
Page instfiles
---<snap>------------------------------------
but I have included the MUI.nsh of course.
All I want is to close the Installer automaticly when its finished.
thanks for helping,
Joost Verburg
1st March 2004 19:49 UTC
You are mixing up different things. If you are using the Modern UI you should use the Modern UI settings for the installer interface, see the Modern UI Readme and examples for details.
Ned_Flanders_
2nd March 2004 10:27 UTC
I see,
Id switched to MUI macros in general, and leave out the MUI_PAGE_FINISH thats basicly all I wanted to do.
Only thing I wonder about is why there is no way to leave that page out when useing the Page commands, but okay I see useing macros is the much proper way to handle the page setup.
You where so right,
thanks
Joost Verburg
2nd March 2004 16:49 UTC
If you are using the Modern UI you should use the MUI macros, not the Classic UI Page commands.