Ethereal-dev: [Ethereal-dev] [patch] clean uninstall under win32

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Motonori Shindo <mshindo@xxxxxxxxxxx>
Date: Wed, 12 Dec 2001 16:43:04 +0900 (JST)
Hi,

In Win32 environment, some files are not deleted by the uninstaller. A
patch attached for clean uninstallation.

=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=
 +----+----+     
 |.. .|    |     Motonori Shindo
 |_~__|    |     
 | .. |~~_~|     Sr. Systems Engineer
 | .  |    |     CoSine Communications Inc.
 +----+----+     
 C o S i n e     e-mail:  mshindo@xxxxxxxxxxxxx 
Communications
=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=



Index: packaging/nsis/ethereal.nsi.in
===================================================================
RCS file: /cvsroot/ethereal/packaging/nsis/ethereal.nsi.in,v
retrieving revision 1.9
diff -u -r1.9 ethereal.nsi.in
--- ethereal.nsi.in	2001/12/12 01:29:07	1.9
+++ ethereal.nsi.in	2001/12/12 07:42:50
@@ -155,6 +155,12 @@
 DeleteRegKey HKEY_LOCAL_MACHINE SOFTWARE\Ethereal
 
 Delete "$INSTDIR\README*"
+Delete "$INSTDIR\manuf"
+Delete "$INSTDIR\dictionary.dtd"
+Delete "$INSTDIR\dictionary.xml"
+Delete "$INSTDIR\mobileipv4.xml"
+Delete "$INSTDIR\nasreq.xml"
+Delete "$INSTDIR\sunping.xml"
 Delete "$INSTDIR\*.exe"
 Delete "$INSTDIR\*.pdb"
 Delete "$INSTDIR\*.html"
This message has been 'sanitized'.  This means that potentially
dangerous content has been rewritten or removed.  The following
log describes which actions were taken.

Sanitizer (start="1008143288"):
  Replaced MIME boundary: >>--Next_Part--<<
                    with: >>MIMEStream=_0+184338_7514445657663_21837028069<<
  Writer (pos="1067"):
    Total modifications so far: 1

  Part (pos="1113"):
    SanitizeFile (filename="unnamed.txt", mimetype="Text/Plain"):
      Match (rule="2"):
        Enforced policy: accept

  Part (pos="1690"):
    SanitizeFile (filename="clean-uninstall.patch", mimetype="Text/Plain"):
      Match (rule="2"):
        Enforced policy: accept


Anomy 0.0.0 : Sanitizer.pm
$Id: Sanitizer.pm,v 1.32 2001/10/11 19:27:15 bre Exp $