Archive: Skipping pages using MUI_PAGE_COMPONENTS


Skipping pages using MUI_PAGE_COMPONENTS
Hello all.

This is a similar question to one I see has been asked in the past, but I could not find an answer that quite handles this situation.

I need to find a way to switch MUI_PAGE_DIRECTORY pages on and off based off the selections in an earlier MUI_PAGE_COMPONENTS. I found plenty of good information on how to do this using MUI2, but for various reasons we are stuck on the first version of MUI (so MUI.nsh (NSIS version 2.10) which throws an error on lines like:

${Unless} ${SectionIsSelected} ${SECTION1}
Abort
${EndUnless}

Saying it does not recognize ${Unless} so I have assumed it is part of MUI2. Looking through the history of the 'skipping pages' wiki entry it did have a MUI1 example, but the example was message box oriented rather then pulling from the components page.

So, can anyone suggest a way to handle this situation in MUI1?

Thanks.


${Unless} isn't part of MUI, it's logiclib.

!include logiclib.nsh