Archive: Uninstall installed files and keep other files


Uninstall installed files and keep other files
hello ,
I'm using Nsis to make a setup for a big application that is composed from a big number of files and folders, the problem is that i want to uninstall only files that are installed and keep the other files created by the user so i cannot delete entire folders'contents by wildcards
is there a way to uninstall only installed files without deleting them file by file ?


thank you very much for your help :):)


You can use partial wildcards like Delete "$INSTDIR\commonfilename??.dat". There are also some helper macros that keep track of the installed files for you:
http://nsis.sourceforge.net/Uninstal...nstalled_files
http://nsis.sourceforge.net/Advanced...og_NSIS_Header


thank you very much for your help :)