Archive: Warning!!!!! NSIS Installer Deletes files you may not want it to,,,


Warning!!!!! NSIS Installer Deletes files you may not want it to,,,
I have just found out the hard way.

Be careful when you upgrade your version of NSIS. The installer (or rather the embedded unistaller) deletes anything you may have added to the NSIS directory. At least I have confirmed that anything I added to the contrib folder is gone. I have not verified 100% that it deleted what I added to the include folder.

Luckily this is not a disaster because anything I custom made was backed up. However I have a rather large collection of icons and includes that I have donwloaded from the internet that are now all gone and I have to try and find them again. In the meantime all of my scripts are broken and cannot compile until fix the links to the missing graphics and includes. This is a huge inconvenience.

Be aware of this and for future reference, it would be nice if the un-installer gave some sort of warning.... WARNING all user files that have been added to the NSIS directories will be lost!!!!!

I have loved NSIS but this is atypical unistaller behaviour and a warning would have been appreciated.


I have noticed that the uninstaller dosen't delete the files in the root dir of nsis (${NSISDIR}) and that when you install again, the installation overwrites the nsisconf.nsh. Maybe the uninstaller would only uninstall the files that it installed. And when installing could check that the nsisconf.nsh file exists, and if it does, leave it alone.

note: I now have over a hundred posts :).