Skip to content
⌘ NSIS Forum Archive

create 2 differents pages with Install options

2 posts

alex6969#

create 2 differents pages with Install options

Hello,

Please could you help to create 2 differents pages with install options?

Maybe something like that :
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "${NSISDIR}\Docs\Modern UI\test.rtf"
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH

this one show same options to the second and third page.
Red Wine#
It's possible to create and add as many custom (InstallOptions) pages you like to your installer regarding to required functionality, however your example shows 2 components pages which are built in thus easier to add.
Adding more pages of the same type makes sense when they are programmed to offer different/advanced options.