Skip to content
⌘ NSIS Forum Archive

Force uninstall of current

5 posts

Lel#

Force uninstall of current

Hi,
probably this has been already discussed several times but I can't find any reference searching in the forum.
Please redirect me to the thread if there's already one.

How can I check that I've already installed my software and force an uninstall before installing the new one?

thanks a lot in advance

bye
Wizou#
here is a clue:
in the .onInit function, you could check for the presence in registry of your add/remove program information and use it to launch the uninstaller
Lel#
ok, thanks.
I just thought that maybe there were a script already made for that.
Maybe I can check and run an ExecWait?
Wizou#
did you search NSIS wiki ?