Skip to content
⌘ NSIS Forum Archive

Update uninstall information after installation

3 posts

teras#

Update uninstall information after installation

I have successfully used NSIS to create an installation program (with it's corresponding uninstall information).

My problem is what to do, if later on (programmatically) decide that I want to add (or remove) some more files from the uninstall list.
I don't want to do something like RmDir /r
I still want to specifically remove files, but this information I want to alter it later on.

Is it somehow possible?
Comperio#
Probably the best would be to create a log of the files you want--maybe as just a simple text file with one file per line. Store this under $APPDATA folder. If you need to make changes later, then it's just a matter of updating the file.

Here's an article to get you started: