Archive: Skipping MUI Welcome Page


Skipping MUI Welcome Page
Hi,

In my installer program, if the application is already installed then a custom page called "Program Maintenance" will display with three option Modify, Repair and Remove. In this case I want to skip (the welcome page + License Page + Directory Page) and directly move to components page instead and continue installation following the pages come after components page. But I have used "!insertmacro MUI_PAGE_WELCOME" command instead of creating a custom page. Is there a way to do this without creating a custom page? Eventhough I have used GOTO to jump in to components page still welcome page displays.
If someone can, please help me.


Simply call 'abort' in the prefunctions for every page you want to skip.


I can call "Abort" with prefunctions of custom pages. But if I'm calling macro MUI_PAGE_WELCOME then where should I call "Abort". I couldn't find a way to define a prefunction for MUI_PAGE_WELCOME since it has no parameters to pass.


Open the MUI2 readme and look for 'MUI_PAGE_CUSTOMFUNCTION_PRE'.

http://nsis.sourceforge.net/Docs/Mod...02/Readme.html


You have to call "!define MUI_PAGE_CUSTOMFUNCTION_PRE PreWelcomeFunction" right before calling "!insertmacro MUI_PAGE_WELCOME"


Thanks for both.. It's working now.