newbie2015
15th April 2008 06:08 UTC
NOT deleting overwritten files?
I wanna create an installer for a modification to a game. What I don't want done is for me to first successfully install the mod, then when I uninstall it, remove some of the files that were overwritten initially. What's the most simple way to approach this for an NSIS newbie?
Red Wine
15th April 2008 06:22 UTC
You don't want to remove files that were included with the installation and they are overwritten initially, right??
You may check file size, file last modified flag, or simply do not include such files into the uninstall section.
newbie2015
15th April 2008 06:35 UTC
Originally posted by Red Wine
You don't want to remove files that were included with the installation and they are overwritten initially, right??
I don't want to remove any files that were overwritten. Maybe there is a way compare 2 directory trees and find matching files, then remove them from the
uninstallation segment of NSIS?
Tintera
15th April 2008 07:16 UTC
Hello newbie2015,
I'm now just do installer with update too. Using uninstall based on http://nsis.sourceforge.net/Uninstal...nstalled_files
This function saves list of installed files in a log file excluding owerwritten files. On uninstall then it removes only these listed. I'm looking fo a way to exted it so it support file /r or locate command (see E.1.2 in NSIS manual).
newbie2015
15th April 2008 14:57 UTC
For some reason, where you try to link me to that custom uninstaller, it says "URL submitted by user." and I can't go there.