Archive: NSIS (repair install and/or upgrade) functionality


NSIS (repair install and/or upgrade) functionality
Hi,

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?

Thanks;)


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.


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.