Old 3rd May 2004, 09:44   #1
Jotto
Junior Member
 
Join Date: May 2004
Posts: 2
How to update/uninstall previous installation

Hi, given that I have an application A 1.0, how can I ensure that the A 1.1 installer will uninstall A 1.0 prior to installing 1.1?

There may be some files, shortcuts, etc, in 1.0 that are obsolete and thus should be removed when installing 1.1.

Do I have to check the registry and manually clear the directories, or is there a quick way to automaticly uninstall A 1.0 before doing 1.1 installing?

Btw, this is a greeeat tool! I've been using AdvancedInstaller, which is far less flexible than NSIS.
Jotto is offline   Reply With Quote
Old 3rd May 2004, 10:21   #2
evilO
Senior Member
 
Join Date: Jan 2004
Location: Strasbourg, Europe
Posts: 117
Hi Jotto

Well, you'll have at least to check the registry manually. Then it depends whether you have or not an Uninstaller available for the version 1.0 of the application.
If it is available, then you just have to execute it. Otherwise you'll have to write the functions that removes the obsolete shortcuts, files, etc.

Check this link, it might help:
http://nsis.sourceforge.net/archive/...b.php?page=385


evilO/Olive

PS: Welcome to the forums Jotto !
evilO is offline   Reply With Quote
Old 3rd May 2004, 10:48   #3
Jotto
Junior Member
 
Join Date: May 2004
Posts: 2
Thanks!
I guess running the uninstaller is the easiest way to go then.

Oh, in case anyone is interested; this is the application that I'm developing: http://www.jotto.no/pixort :-)

Feel free to add it to the list of applications using NSIS! (well, starting from version 1.1 alpha 2, that is).


Jahn Otto
Jotto is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump