1 # uninst-qt.nsi - Installer snippet for qt. -*- 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
24 !define prefix ${ipdir}/qt-${gpg4win_pkg_qt_version}
27 ; Uninstaller section.
30 Push "${gpg4win_pkg_qt_src}"
33 Delete "$INSTDIR\Qt3Support4.dll"
34 Delete "$INSTDIR\QtAssistantClient4.dll"
35 Delete "$INSTDIR\QtCore4.dll"
36 Delete "$INSTDIR\QtDesigner4.dll"
37 Delete "$INSTDIR\QtDesignerComponents4.dll"
38 Delete "$INSTDIR\QtGui4.dll"
39 Delete "$INSTDIR\QtNetwork4.dll"
40 Delete "$INSTDIR\QtOpenGL4.dll"
41 Delete "$INSTDIR\QtScript4.dll"
42 Delete "$INSTDIR\QtSql4.dll"
43 Delete "$INSTDIR\QtSvg4.dll"
44 Delete "$INSTDIR\QtTest4.dll"
45 Delete "$INSTDIR\QtXml4.dll"
47 # Delete "$INSTDIR\phrasebooks\danish.qph"
48 # Delete "$INSTDIR\phrasebooks\dutch.qph"
49 # Delete "$INSTDIR\phrasebooks\finnish.qph"
50 # Delete "$INSTDIR\phrasebooks\french.qph"
51 Delete "$INSTDIR\phrasebooks\german.qph"
52 # Delete "$INSTDIR\phrasebooks\italian.qph"
53 # Delete "$INSTDIR\phrasebooks\japanese.qph"
54 # Delete "$INSTDIR\phrasebooks\norwegian.qph"
55 # Delete "$INSTDIR\phrasebooks\polish.qph"
56 # Delete "$INSTDIR\phrasebooks\russian.qph"
57 # Delete "$INSTDIR\phrasebooks\spanish.qph"
58 # Delete "$INSTDIR\phrasebooks\swedish.qph"
60 RMDir "$INSTDIR\phrasebooks"
62 Delete "$INSTDIR\plugins\accessible\qtaccessiblecompatwidgets4.dll"
63 Delete "$INSTDIR\plugins\accessible\qtaccessiblecompatwidgetsd4.dll"
64 Delete "$INSTDIR\plugins\accessible\qtaccessiblewidgets4.dll"
65 Delete "$INSTDIR\plugins\accessible\qtaccessiblewidgetsd4.dll"
67 RMDir "$INSTDIR\plugins\accessible"
69 Delete "$INSTDIR\plugins\codecs\qcncodecs4.dll"
70 Delete "$INSTDIR\plugins\codecs\qcncodecsd4.dll"
71 Delete "$INSTDIR\plugins\codecs\qjpcodecs4.dll"
72 Delete "$INSTDIR\plugins\codecs\qjpcodecsd4.dll"
73 Delete "$INSTDIR\plugins\codecs\qkrcodecs4.dll"
74 Delete "$INSTDIR\plugins\codecs\qkrcodecsd4.dll"
75 Delete "$INSTDIR\plugins\codecs\qtwcodecs4.dll"
76 Delete "$INSTDIR\plugins\codecs\qtwcodecsd4.dll"
78 RMDir "$INSTDIR\plugins\codecs"
80 Delete "$INSTDIR\plugins\designer\arthurplugin.dll"
81 Delete "$INSTDIR\plugins\designer\containerextension.dll"
82 Delete "$INSTDIR\plugins\designer\containerextensiond.dll"
83 Delete "$INSTDIR\plugins\designer\customwidgetplugin.dll"
84 Delete "$INSTDIR\plugins\designer\qt3supportwidgets.dll"
85 Delete "$INSTDIR\plugins\designer\taskmenuextension.dll"
86 Delete "$INSTDIR\plugins\designer\taskmenuextensiond.dll"
87 Delete "$INSTDIR\plugins\designer\worldtimeclockplugin.dll"
89 RMDir "$INSTDIR\plugins\designer"
91 Delete "$INSTDIR\plugins\iconengines\qsvg4.dll"
92 Delete "$INSTDIR\plugins\iconengines\qsvgd4.dll"
94 RMDir "$INSTDIR\plugins\iconengines"
96 Delete "$INSTDIR\plugins\imageformats\qgif4.dll"
97 Delete "$INSTDIR\plugins\imageformats\qgifd4.dll"
98 Delete "$INSTDIR\plugins\imageformats\qjpeg4.dll"
99 Delete "$INSTDIR\plugins\imageformats\qjpegd4.dll"
100 Delete "$INSTDIR\plugins\imageformats\qmng4.dll"
101 Delete "$INSTDIR\plugins\imageformats\qmngd4.dll"
102 Delete "$INSTDIR\plugins\imageformats\qsvg4.dll"
103 Delete "$INSTDIR\plugins\imageformats\qsvgd4.dll"
104 Delete "$INSTDIR\plugins\imageformats\qtiff4.dll"
105 Delete "$INSTDIR\plugins\imageformats\qtiffd4.dll"
107 RMDir "$INSTDIR\plugins\imageformats"
109 Delete "$INSTDIR\plugins\sqldrivers\qsqlite4.dll"
110 Delete "$INSTDIR\plugins\sqldrivers\qsqlited4.dll"
112 RMDir "$INSTDIR\plugins\sqldrivers"
113 RMDir "$INSTDIR\plugins"
115 Delete "$INSTDIR\translations\assistant_de.qm"
116 Delete "$INSTDIR\translations\assistant_de.ts"
117 # Delete "$INSTDIR\translations\assistant_ja.qm"
118 # Delete "$INSTDIR\translations\assistant_ja.ts"
119 # Delete "$INSTDIR\translations\assistant_pl.ts"
120 Delete "$INSTDIR\translations\assistant_untranslated.ts"
121 Delete "$INSTDIR\translations\designer_de.qm"
122 Delete "$INSTDIR\translations\designer_de.ts"
123 # Delete "$INSTDIR\translations\designer_ja.qm"
124 # Delete "$INSTDIR\translations\designer_ja.ts"
125 # Delete "$INSTDIR\translations\designer_pl.ts"
126 Delete "$INSTDIR\translations\designer_untranslated.ts"
127 # Delete "$INSTDIR\translations\linguist_ja.qm"
128 # Delete "$INSTDIR\translations\linguist_ja.ts"
129 # Delete "$INSTDIR\translations\linguist_pl.ts"
130 # Delete "$INSTDIR\translations\qt_ar.qm"
131 # Delete "$INSTDIR\translations\qt_ar.ts"
132 Delete "$INSTDIR\translations\qt_de.qm"
133 Delete "$INSTDIR\translations\qt_de.ts"
134 # Delete "$INSTDIR\translations\qt_es.qm"
135 # Delete "$INSTDIR\translations\qt_es.ts"
136 # Delete "$INSTDIR\translations\qt_fr.qm"
137 # Delete "$INSTDIR\translations\qt_fr.ts"
138 # Delete "$INSTDIR\translations\qt_iw.qm"
139 # Delete "$INSTDIR\translations\qt_iw.ts"
140 # Delete "$INSTDIR\translations\qt_ja_jp.qm"
141 # Delete "$INSTDIR\translations\qt_ja_jp.ts"
142 # Delete "$INSTDIR\translations\qt_pl.ts"
143 # Delete "$INSTDIR\translations\qt_pt.qm"
144 # Delete "$INSTDIR\translations\qt_pt.ts"
145 # Delete "$INSTDIR\translations\qt_ru.qm"
146 # Delete "$INSTDIR\translations\qt_ru.ts"
147 # Delete "$INSTDIR\translations\qt_sk.qm"
148 # Delete "$INSTDIR\translations\qt_sk.ts"
149 # Delete "$INSTDIR\translations\qt_sv.qm"
150 # Delete "$INSTDIR\translations\qt_sv.ts"
151 # Delete "$INSTDIR\translations\qt_uk.qm"
152 # Delete "$INSTDIR\translations\qt_uk.ts"
153 Delete "$INSTDIR\translations\qt_untranslated.ts"
154 # Delete "$INSTDIR\translations\qt_zh_CN.qm"
155 # Delete "$INSTDIR\translations\qt_zh_CN.ts"
156 # Delete "$INSTDIR\translations\qtconfig_pl.ts"
157 # Delete "$INSTDIR\translations\qvfb_pl.ts"
159 RMDir "$INSTDIR\translations"