Archive: save list of copied files (with *.*) in order to uninstall them later


save list of copied files (with *.*) in order to uninstall them later
During my setup I need to copy files from a folder in $EXEDIR to a specific folder like this
CopyFiles "$EXEDIR\folder\*.*" "C:\destFolder"

Now I want to get the list of all the copied files, in order to store it in a log file and then to uninstall only files previously copied.
Am I clear... ?

Can you give me some hint on how to do that ?

Thx


if you know that dest dir is empty before you extract your files on it, you can use ${Locate} in a function e.g .onInstSuccess to create a file list and pass this list to your uninstaller.
See Instructor's examples on how to use ${Locate} along with other macros from FileFunc.nsh.
Also, Instructor has posted here in forum working examples on creating list for uninstall, so you must perform a forum search about that.


Or use this:
http://nsis.sourceforge.net/RecFind:...t%2C_FindClose
with this:
http://nsis.sourceforge.net/Uninstal...nstalled_files

-Stu