Uninstall multiple sections
I want to add a custom page to uninstall, but the page appears to be empty. I used MUI. I saw the InstallOptions example and I tried to use it but somewhere I am wrong. Scraps from install script are here:
...
!define MUI_UNCUSTOMPAGECOMMANDS
...
;Adds a custom page for uninstall to select packages.
!insertmacro MUI_UNPAGECOMMAND_CONFIRM
UninstPage custom un.Hello
!insertmacro MUI_UNPAGECOMMAND_INSTFILES
ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll"
ReserveFile "ioFile.ini"
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
...
;Language Strings
LangString TEXT_IO_TITLE ${LANG_ENGLISH} "Install Options Page Title"
LangString TEXT_IO_SUBTITLE ${LANG_ENGLISH} "A subtitle"
...
Function .onInit
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "ioFile.ini"
...
FunctionEnd
...
Function un.Hello
!insertmacro MUI_HEADER_TEXT "$(TEXT_IO_TITLE)" "$(TEXT_IO_SUBTITLE)"
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "ioFile.ini"
FunctionEnd
This is the script, the page is added but it is empty. I used as ini file test.ini from Contrib\InstallOptions.
Please help,
H