Skip to content
⌘ NSIS Forum Archive

question about "Uninstall only installed files"

3 posts

cpthk#

question about "Uninstall only installed files"

I just read this link:


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.
Red Wine#
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.
Afrow UK#
I've added some more information to the Wiki page:


-Stu