Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Update uninstall information after installation (http://forums.winamp.com/showthread.php?t=306445)

teras 16th May 2009 18:21

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 20th May 2009 04:30

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:
http://nsis.sourceforge.net/Uninstal...nstalled_files

teras 20th May 2009 16:34

Thanks, I think that's what I need :)


All times are GMT. The time now is 17:44.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.