Archive: How to uninstall only the previously installed files?


How to uninstall only the previously installed files?
Hi,

currently I'm creating an installer, which has to copy about 45 files and several sub directories. To make thinks easy, I'm using the NSIS command: File /r "c:\SourceFileFolder"

Creating the uninstaller is a little more difficult. I want to make sure, that the uninstaller won't delete files, which has been added afterwards to the folders. But all uninstaller examples I found, deletes either a complete folder or you must list each file separately (which is very unhandy in my case).

Is it some how possible to track the files copied by the installer and use this information to tell the uninstaller, which files to delete?

Frank


The only way is to dump the installation progress log to a file for later. The uninstaller can then parse this file.

-Stu


And how can this be achieved?

Thanks,

Fretje


http://forums.winamp.com/showthread....hreadid=213182
http://nsis.sourceforge.net/wiki/Uni...nstalled_files