Skip to content
⌘ NSIS Forum Archive

Uninstaller uninstalls first then shows component page

4 posts

Searcher64#

Uninstaller uninstalls first then shows component page

Hello, I have a problem with my installer at the moment, where my installer installs first THEN shows the component page and the directory uninstall page, does anyone know why? I have

UninstPage components
UninstPage uninstConfirm 
and then I added the un sections

Section "un.blah" unblah 
but I don't know what else to do besides those two things, can anyone help? 😐
Searcher64#
Ohhh....:S

I didn't realise !insertmacro MUI_UNPAGE_INSTFILES and UninstPage InstFiles was the same....thanks

One more thing, when I removed MUI_UNPAGE_INSTFILES and added UninstPage InstFiles, it is all working perfectly except that the top part of the installer (where its supposed to say "Choose Components" or "License Agreement") is gone, is there a way I can add it back?
Afrow UK#
You never said you are using MUI otherwise I would have told you to use MUI_UNPAGE_INSTFILES instead. You can't mix MUI_PAGE_*/MUI_UNPAGE_* and Page/UninstPage in an MUI script. Use the MUI macros only.

Stu