Archive: question about "Uninstall only installed files"


question about "Uninstall only installed files"
I just read this link:
http://nsis.sourceforge.net/Uninstal...nstalled_files

But I do not understand how it works. Do I just simply copy all the code and TrimNewLines into the end of my xxxxx.nsi file?

Or do I need to edit something inside? Any instruction for that? Are those code for MUI or classic?

Thanks.


the simple and safe way to uninstall only installed files/dirs is to create your uninstaller deleting each one installed file and removing each one created dir and obviously never use the RmDir /r switch. This is true for both MUI and classic.


I've added some more information to the Wiki page:
http://nsis.sourceforge.net/Uninstal...nstalled_files

-Stu