Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 2nd August 2007, 01:43   #1
Sheik
Senior Member
 
Join Date: Feb 2007
Posts: 152
General Query for all - Removing Files on Uninstall - What method do you use?

Hi all,

I am just curious, what method do people here use for removing their installed files during the uninstaller?

Especially for very LARGE installers where there are too many files to manually type in each file name in the uninstall method.

As I see it, there are 3 different options.

1) No special "logging" makensis.exe build.
Just "RMDIR /r" and run with it.

2) No special "logging" makensis.exe build.
Instead use the "Advanced Uninstall Log NSIS Header" and have it log during install, and uninstall based on that.
http://nsis.sourceforge.net/Advanced...og_NSIS_Header

3) Use the special "logging" makensis.exe build.
Parse the log to do the file removal on uninstall.
http://nsis.sourceforge.net/Uninstall_from_NSIS_log


What leads me to ask this question, is I came from the WISE world, where the install log is fundamental to the uninstall procedure.

I actually started to get liking the NSIS method of not logging the install, but just go ahead and blow away your created directories as you see fit, and have released a few of my Installers with this.

But I have gotten a complaint that this is a HORRIBLE idea, in that if your customer has created important files underneath your directory, we are indiscriminately blowing away things that shouldn't be blown away.

They have a point.

So this leads me to asking the rest of the NSIS world...

Has anyone else ran into the same problem?
What did you decide to do?
Did I miss any options?

Thanks!
Scott
Sheik is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump