1 # uninst-pango.nsi - Installer snippet for pango. -*- coding: latin-1; -*-
2 # Copyright (C) 2005 g10 Code GmbH
4 # This file is part of GPG4Win.
6 # GPG4Win is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # GPG4Win is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
23 !define prefix ${ipdir}/pango-${gpg4win_pkg_pango_version}
26 ; Uninstaller section.
29 Push "${gpg4win_pkg_pango_src}"
32 Delete "$INSTDIR\pango-querymodules.exe"
33 Delete "$INSTDIR\libpango-1.0-0.dll"
34 Delete "$INSTDIR\libpangoft2-1.0-0.dll"
35 Delete "$INSTDIR\libpangowin32-1.0-0.dll"
36 Delete "$INSTDIR\libpangocairo-1.0-0.dll"
38 Delete "$INSTDIR\etc\pango\pango.aliases"
39 Delete "$INSTDIR\etc\pango\pango.modules"
40 RMDir "$INSTDIR\etc\pango"
43 # Remove stuff from old Pango versions.
44 Delete "$INSTDIR\lib\pango\1.4.0\modules\pango-arabic-fc.dll"
45 Delete "$INSTDIR\lib\pango\1.4.0\modules\pango-basic-fc.dll"
46 Delete "$INSTDIR\lib\pango\1.4.0\modules\pango-basic-win32.dll"
47 Delete "$INSTDIR\lib\pango\1.4.0\modules\pango-hangul-fc.dll"
48 Delete "$INSTDIR\lib\pango\1.4.0\modules\pango-hebrew-fc.dll"
49 Delete "$INSTDIR\lib\pango\1.4.0\modules\pango-indic-fc.dll"
50 Delete "$INSTDIR\lib\pango\1.4.0\modules\pango-khmer-fc.dll"
51 Delete "$INSTDIR\lib\pango\1.4.0\modules\pango-syriac-fc.dll"
52 Delete "$INSTDIR\lib\pango\1.4.0\modules\pango-thai-fc.dll"
53 Delete "$INSTDIR\lib\pango\1.4.0\modules\pango-tibetan-fc.dll"
54 RMDir "$INSTDIR\lib\pango\1.4.0\modules"
55 RMDir "$INSTDIR\lib\pango\1.4.0"
56 RMDir "$INSTDIR\lib\pango"