Old 30th April 2010, 20:07   #1
Junior Member
Join Date: Apr 2010
Posts: 1
Question NSIS (repair install and/or upgrade) functionality


I am trying to create an installer that allows the user to upgrade from previous versions without having to separately uninstall, then install.

Can someone direct me to where I can find this information?

dimoes is offline   Reply With Quote
Old 30th April 2010, 20:30   #2
Major Dude
Join Date: Oct 2006
Posts: 1,892
Because no two software applications are the same, there is no automated functionality for this. You'll have to write you own.

This question has been asked dozens of times before. Please try searching before asking, next time.
MSG is offline   Reply With Quote
Old 30th April 2010, 21:25   #3
Senior Member
Join Date: Nov 2005
Posts: 115
You can simply run the uninstaller of the old version silently ( /S switch) before doing anything else, using the uninstall info from registry to figure out where that older version is installed.

Or you can borrow from other projects.. Filezilla is open source and their script is here: http://svn.filezilla-project.org/fil...?revision=3683. You just have to figure how to work their solution into your script.. depending on your familiarity with NSIS that might be easy or difficult.
redxii is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

"combined install", reinstall, repair, upgrade

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