# uninst-kdesupport.nsi - Snippet for kdesupport. -*- coding: latin-1; -*- # Copyright (C) 2005, 2007 g10 Code GmbH # # This file is part of GPG4Win. # # GPG4Win is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # GPG4Win is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA !ifdef prefix !undef prefix !endif !define prefix ${ipdir}/kdesupport-${gpg4win_pkg_kdesupport_version} ; Uninstaller section. Section "-un.kdesupport" !ifdef SOURCES Push "${gpg4win_pkg_kdesupport_src}" Call un.SourceDelete !else # FIXME: See inst-kdesupport.nsi. Delete "$INSTDIR\bin\dbus-daemon.exe" RMDir "$INSTDIR\bin" Delete "$INSTDIR\dbus-env.bat" Delete "$INSTDIR\dbus-launch.exe" Delete "$INSTDIR\dbus-monitor.exe" Delete "$INSTDIR\dbus-send.exe" Delete "$INSTDIR\pcregrep.exe" Delete "$INSTDIR\update-mime-database.exe" Delete "$INSTDIR\xmlcatalog.exe" Delete "$INSTDIR\xmllint.exe" Delete "$INSTDIR\xsltproc.exe" Delete "$INSTDIR\giflib4.dll" Delete "$INSTDIR\libdbus-1.dll" Delete "$INSTDIR\libexpat.dll" Delete "$INSTDIR\libexpatw.dll" Delete "$INSTDIR\libexslt.dll" Delete "$INSTDIR\libkdewin32.dll" Delete "$INSTDIR\libxml2.dll" Delete "$INSTDIR\libxslt.dll" Delete "$INSTDIR\mingw-pcrecpp.dll" Delete "$INSTDIR\pcre.dll" Delete "$INSTDIR\pcrecpp.dll" Delete "$INSTDIR\pcreposix.dll" # Some test installers installed these files: # fixme: Remove them when releasing 2.0. Delete "$INSTDIR\ssleay32.dll" Delete "$INSTDIR\libeay32.dll" Delete "$INSTDIR\etc\session.conf" Delete "$INSTDIR\etc\system.conf" RMDir "$INSTDIR\etc" RMDir "$INSTDIR" !endif SectionEnd