|
|
#1 |
|
Junior Member
Join Date: Jul 2010
Posts: 4
|
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 ![]()
|
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,841
|
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 |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2010
Posts: 4
|
thank you very much for your help
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|