Skip to content
⌘ NSIS Forum Archive

Uninstaller help need

7 posts

BitOver#

Uninstaller help need

Hi,

I've developed an installer for one of my friends that contain 2 components. The installer is working fine but I have problems with uninstaller. I need help to make the installer to allow users to uninstall only one or both components.

I've tried to do this with Section/SubSection but it seems that this approch is working only for installer.

How can I do the uninstaller ?

Thanks,
Gabi😕
Joost Verburg#
If you are using the latest version (NSIS 2 beta 4), add an uninstaller component pages and create uninstaller sections (name should start with un.).
kichik#
In NSIS 2.0 b4 you can use Section/SectionEnd for the uninstaller too. Simply prefix the section name with `un.' to let NSIS know you want it to be an uninstaller section.
BitOver#
Thanks for the answer.
Can you give me an example ?

I've tryied :
Section unSection
...
SectionEnd
Section unSection1
SectionEnd
But this is executed during the install time.

I'm sorry, I've just started to use NSIS.

Thanks a lot for your help
Gabi
BitOver#
Thanks Anders.
I've done that change but now I do not know how to create and display the uninstaller page with 2 check boxes.

A seample will help me a lot.

Thanks,
Gabi