Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 12th July 2010, 13:48   #1
merveleb
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
merveleb is offline   Reply With Quote
Old 12th July 2010, 14:38   #2
MSG
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
MSG is online now   Reply With Quote
Old 15th July 2010, 11:55   #3
merveleb
Junior Member
 
Join Date: Jul 2010
Posts: 4
thank you very much for your help
merveleb is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump