PDA

View Full Version : Keeping modified files


graham.reeds
31st October 2007, 09:58
I've ran into a largish snag when developing my script. Is there a way of detecting if the file is different to when it was installed? So if a customer modifies one of the originally installed files it is left?

Our customers sometimes use the provided examples as a starting block for their own and I don't want to delete their work. I've got it so it doesn't delete the directory if their are still files in there (new files), but if they modify a file then it won't be detected that it has changed.

Is it possible to place a screen where it asks if the user wants to delete the APPDATA directory in modern UI like I've seen in some uninstallers or do I need to do it as a custom page?

With Thanks, Graham.

Afrow UK
31st October 2007, 10:19
http://nsis.sourceforge.net/Uninstall_only_installed_files
http://nsis.sourceforge.net/Advanced_Uninstall_Log_NSIS_Header
http://nsis.sourceforge.net/Uninstall_from_NSIS_log

Stu