Lel
5th September 2007 08:15 UTC
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
5th September 2007 09:52 UTC
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
5th September 2007 10:13 UTC
ok, thanks.
I just thought that maybe there were a script already made for that.
Maybe I can check and run an ExecWait?
Wizou
5th September 2007 13:57 UTC
did you search NSIS wiki ?
http://nsis.sourceforge.net/Auto-uni...installing_new
Lel
5th September 2007 15:05 UTC
exaxtly what I was looking for, thanks