Skip to content
⌘ NSIS Forum Archive

Skipping MUI Welcome Page

6 posts

watzr#

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.
watzr#
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.
MSG#
Open the MUI2 readme and look for 'MUI_PAGE_CUSTOMFUNCTION_PRE'.

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