Mark called uninstallers rebootok
[gpg4win.git] / src / uninst-claws-mail-cmds.nsi
1 # uninst-claws-mail-cmds.nsi - Installer snippet.    -*- coding: latin-1; -*-
2 # Copyright (C) 2015 Intevation GmbH
3 #
4 # This file is part of GPG4Win.
5 #
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.
10 #
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.
15 #
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
19
20
21 # We delete this file from the old (and removed) jpeg package, that
22 # was only installed if claws was selected.
23 Delete "$INSTDIR\jpeg62.dll"
24
25 Delete "$INSTDIR\claws-mail.exe"
26
27 Delete "$INSTDIR\claws-mail-manual.pdf"
28
29 Delete "$INSTDIR\share\claws-mail\ca-certificates.crt"
30 Delete "$INSTDIR\lib\claws-mail\plugins\pgpcore.dll"
31 Delete "$INSTDIR\lib\claws-mail\plugins\pgpinline.dll"
32 Delete "$INSTDIR\lib\claws-mail\plugins\pgpinline.deps"
33 Delete "$INSTDIR\lib\claws-mail\plugins\pgpmime.dll"
34 Delete "$INSTDIR\lib\claws-mail\plugins\pgpmime.deps"
35 Delete "$INSTDIR\lib\claws-mail\plugins\smime.dll"
36 Delete "$INSTDIR\lib\claws-mail\plugins\smime.deps"
37 Delete "$INSTDIR\lib\claws-mail\plugins\address_keeper.dll"
38 Delete "$INSTDIR\lib\claws-mail\plugins\att_remover.dll"
39 Delete "$INSTDIR\lib\claws-mail\plugins\attachwarner.dll"
40 Delete "$INSTDIR\lib\claws-mail\plugins\bsfilter.dll"
41 Delete "$INSTDIR\lib\claws-mail\plugins\fetchinfo.dll"
42 Delete "$INSTDIR\lib\claws-mail\plugins\notification.dll"
43 Delete "$INSTDIR\lib\claws-mail\plugins\tnef_parse.dll"
44 Delete "$INSTDIR\lib\claws-mail\plugins\rssyl.dll"
45 Delete "$INSTDIR\lib\claws-mail\plugins\spamreport.dll"
46 Delete "$INSTDIR\lib\claws-mail\plugins\vcalendar.dll"
47
48 RMDir "$INSTDIR\lib\claws-mail\plugins"
49 RMDir "$INSTDIR\lib\claws-mail"
50 RMDir "$INSTDIR\share\claws-mail"
51 RMDir "$INSTDIR\lib"
52 RMDir "$INSTDIR\share"
53
54 Delete "$INSTDIR\share\locale\pt_BR\LC_MESSAGES\claws-mail.mo"
55 Delete "$INSTDIR\share\locale\uk\LC_MESSAGES\claws-mail.mo"
56 Delete "$INSTDIR\share\locale\bg\LC_MESSAGES\claws-mail.mo"
57 Delete "$INSTDIR\share\locale\pl\LC_MESSAGES\claws-mail.mo"
58 Delete "$INSTDIR\share\locale\ja\LC_MESSAGES\claws-mail.mo"
59 Delete "$INSTDIR\share\locale\pt_PT\LC_MESSAGES\claws-mail.mo"
60 Delete "$INSTDIR\share\locale\fi\LC_MESSAGES\claws-mail.mo"
61 Delete "$INSTDIR\share\locale\it\LC_MESSAGES\claws-mail.mo"
62 Delete "$INSTDIR\share\locale\es\LC_MESSAGES\claws-mail.mo"
63 Delete "$INSTDIR\share\locale\id\LC_MESSAGES\claws-mail.mo"
64 Delete "$INSTDIR\share\locale\zh_CN\LC_MESSAGES\claws-mail.mo"
65 Delete "$INSTDIR\share\locale\nl\LC_MESSAGES\claws-mail.mo"
66 Delete "$INSTDIR\share\locale\cs\LC_MESSAGES\claws-mail.mo"
67 Delete "$INSTDIR\share\locale\ru\LC_MESSAGES\claws-mail.mo"
68 Delete "$INSTDIR\share\locale\sv\LC_MESSAGES\claws-mail.mo"
69 Delete "$INSTDIR\share\locale\sk\LC_MESSAGES\claws-mail.mo"
70 Delete "$INSTDIR\share\locale\ca\LC_MESSAGES\claws-mail.mo"
71 Delete "$INSTDIR\share\locale\hu\LC_MESSAGES\claws-mail.mo"
72 Delete "$INSTDIR\share\locale\de\LC_MESSAGES\claws-mail.mo"
73 Delete "$INSTDIR\share\locale\fr\LC_MESSAGES\claws-mail.mo"
74 Delete "$INSTDIR\share\locale\en_GB\LC_MESSAGES\claws-mail.mo"
75
76 RMDir "$INSTDIR\share\claws-mail"
77
78 DeleteRegKey HKLM "SOFTWARE\Clients\Mail\Claws Mail"
79 DeleteRegKey HKLM "SOFTWARE\Classes\Claws-Mail.Url.mailto"
80
81 ; libetpan
82 Delete "$INSTDIR\libetpan-13.dll"
83
84 ; libxml2
85 Delete "$INSTDIR\libxml2-2.dll"
86
87 ; regex
88 # Old version.
89 Delete "$INSTDIR\regex.dll"
90
91 Delete "$INSTDIR\libregex-1.dll"
92
93 ; crypt had nothing to uninstall
94
95 ; enchant
96 Delete "$INSTDIR\libenchant-1.dll"
97 Delete "$INSTDIR\lib\enchant\libenchant_myspell.dll"
98
99 RMDir "$INSTDIR\lib\enchant"
100 RMDir "$INSTDIR\lib"
101
102 # Dictionaries
103 Delete "$INSTDIR\share\enchant\myspell\en_US.aff"
104 Delete "$INSTDIR\share\enchant\myspell\en_US.dic"
105 Delete "$INSTDIR\share\enchant\myspell\de.aff"
106 Delete "$INSTDIR\share\enchant\myspell\de.dic"
107 Delete "$INSTDIR\share\enchant\myspell\fr.aff"
108 Delete "$INSTDIR\share\enchant\myspell\fr.dic"
109
110 RMDir "$INSTDIR\share\enchant\myspell"
111 RMDIR "$INSTDIR\share\enchant"
112
113 ; gtkhtmlviewer2
114 Delete "$INSTDIR\lib\claws-mail\plugins\gtkhtml2_viewer.dll"
115 RMDir "$INSTDIR\lib\claws-mail\plugins"
116 RMDir "$INSTDIR\lib\claws-mail"
117 Delete "$INSTDIR\share\locale\ca\LC_MESSAGES\gtkhtml2_viewer.mo"
118 Delete "$INSTDIR\share\locale\cs\LC_MESSAGES\gtkhtml2_viewer.mo"
119 Delete "$INSTDIR\share\locale\de\LC_MESSAGES\gtkhtml2_viewer.mo"
120 Delete "$INSTDIR\share\locale\es\LC_MESSAGES\gtkhtml2_viewer.mo"
121 Delete "$INSTDIR\share\locale\fi\LC_MESSAGES\gtkhtml2_viewer.mo"
122 Delete "$INSTDIR\share\locale\fr\LC_MESSAGES\gtkhtml2_viewer.mo"
123 Delete "$INSTDIR\share\locale\hu\LC_MESSAGES\gtkhtml2_viewer.mo"
124 Delete "$INSTDIR\share\locale\id_ID\LC_MESSAGES\gtkhtml2_viewer.mo"
125 Delete "$INSTDIR\share\locale\it\LC_MESSAGES\gtkhtml2_viewer.mo"
126 Delete "$INSTDIR\share\locale\ja\LC_MESSAGES\gtkhtml2_viewer.mo"
127 Delete "$INSTDIR\share\locale\nl\LC_MESSAGES\gtkhtml2_viewer.mo"
128 Delete "$INSTDIR\share\locale\pl\LC_MESSAGES\gtkhtml2_viewer.mo"
129 Delete "$INSTDIR\share\locale\pt_BR\LC_MESSAGES\gtkhtml2_viewer.mo"
130 Delete "$INSTDIR\share\locale\ru\LC_MESSAGES\gtkhtml2_viewer.mo"
131 Delete "$INSTDIR\share\locale\sk\LC_MESSAGES\gtkhtml2_viewer.mo"
132 Delete "$INSTDIR\share\locale\sr\LC_MESSAGES\gtkhtml2_viewer.mo"
133 Delete "$INSTDIR\share\locale\zh_CN\LC_MESSAGES\gtkhtml2_viewer.mo"
134
135 ; pthreads
136 Delete "$INSTDIR\pthreadGC2.dll"
137
138 RMDir "$INSTDIR\share"
139 RMDir "$INSTDIR"