Skip to content
⌘ NSIS Forum Archive

Typical / Custom install options to conditionally skip 2 MUI Pages

2 posts

Spilly#

Typical / Custom install options to conditionally skip 2 MUI Pages

Hi, I am interested in having a "typical" and "custom" install page in my installer. If the user selects typical it skips the components and dir path pages and if it custom it doesn't skip any pages.

I have the radio buttons all setup and can detect which button they select, but the problem seems to be that I'm that using MUI_PAGE_COMPONENTS and MUI_PAGE_DIRECTORY for the pages I want to skip. Since they are set outside of a section or function I can't use a conditional jump to avoid the insertmacro calls if not wanted.

I'm sure there's a way around this. I'm guessing putting these macro calls in their own custom pages would work, but I'm hoping for something more elegant. Thanks for the help.