![]() |
Newbie uninstaller question - only delete the files I installed?
NSIS newbie here. I've successfully created a modern UI installer that installs my application after checking for a specific Java JRE version or greater.
My question is re: my uninstaller. Currently, I'm installing files by simply doing: File /r "mysoftware\" ...where all the stuff I want to install is in the directory "mysoftware". There are *many* files/folders within that directory. I chose this approach instead of having to enumerate every file/folder I wanted to install. So now my uninstaller - I've currently just doing: RMDir /r "$INSTDIR" Although this works, I'd prefer not to delete *everything* in the install directory, since my users might create and save some specific application data that they might store in that directory. So how do I *only* delete the files that my installer installed, and not any the user might have created? Do I have to specifically identify each and every file/folder that I installed, so that I only uninstall those? That will be tedious, if so. Thanks in advance... |
See if this helps:
http://nsis.sourceforge.net/Advanced...og_NSIS_Header |
My bad, just found this:
h**p://nsis.sourceforge.net/Advanced_Uninstall_Log_NSIS_Header Sorry for the noise. |
Quote:
|
| All times are GMT. The time now is 04:24. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.