5

When building my installer, I can let the user choose which sections to install by calling

!insertmacro MUI_PAGE_COMPONENTS

How can I provide similar functionality in the uninstaller?

I know how to make the sections themselves (thanks to the answers for this question). I just don't know how to let the user choose which of these sections to uninstall.

Community
  • 1
  • 1
Jason 'Bug' Fenter
  • 1,616
  • 1
  • 16
  • 27

1 Answers1

5

You do the same things as in the installer, you just need the correct uninstaller prefix:

MUI_UNPAGE_COMPONENTS

and

Section /o un.optional
SectionEnd
Anders
  • 97,548
  • 12
  • 110
  • 164
  • I figured it had to be something like that. I wasn't sure where it belonged in the script. I stuck that line right after the MUI_PAGE_COMPONENTS line and that does the trick. Thanks! – Jason 'Bug' Fenter Feb 02 '12 at 16:43