Problem with skipping custom pages and text of the Next/Install button
Hi @ all,
I was not able to find a solution for my problem within tutorials, examples etc., now I hope someone can help me.
These are my installer pages:
!insertmacro MUI_PAGE_WELCOME
Page custom CustomPageVersion CustomLeaveVersion
!insertmacro MUI_PAGE_COMPONENTS
Page custom CustomPageTM CustomLeaveTM
Page custom CustomPageServer CustomLeaveServer
Page custom CustomPageWF CustomLeaveWF
Page custom CustomPageDB CustomLeaveDB
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
Based on user's selection the pages CustonPageWF and CustomPageDB are shown or skipped. Every time they are skipped there is no INSTALL button on the last shown custom page (CustomPageServer). Instead the text of the button stays "Next". Showing all pages the button's text on the last custom page shows correctly "Install".
Does anybody know, how the button text is set? How does NSIS know that CustomPageDB is the last one before MUI_PAGE_INSTFILES? Am I able to control this from my script?
Thank's in advance.
Sue