5 SetCompressor
/final
/solid lzma
7 !define myAppName
"Gajim"
9 InstallDir "$PROGRAMFILES\Gajim"
10 InstallDirRegKey HKCU "Software\Gajim" ""
11 RequestExecutionLevel admin
15 !define MUI_ICON
"${NSISDIR}\Contrib\Graphics\Icons\orange-install.ico"
16 !define MUI_UNICON
"${NSISDIR}\Contrib\Graphics\Icons\orange-uninstall.ico"
17 !define MUI_HEADERIMAGE
18 !define MUI_HEADERIMAGE_BITMAP
"data\pixmaps\nsis_header.bmp"
19 !define MUI_WELCOMEFINISHPAGE_BITMAP
"data\pixmaps\nsis_wizard.bmp"
20 !define MUI_UNWELCOMEFINISHPAGE_BITMAP
"data\pixmaps\nsis_wizard.bmp"
21 ;!define MUI_COMPONENTSPAGE_CHECKBITMAP "${NSISDIR}\Contrib\Graphics\Checks\colorful.bmp"
22 !define MUI_COMPONENTSPAGE_SMALLDESC
23 !define MUI_ABORTWARNING
25 !insertmacro MUI_PAGE_WELCOME
26 !insertmacro MUI_PAGE_LICENSE
"COPYING"
27 !insertmacro MUI_PAGE_COMPONENTS
28 !insertmacro MUI_PAGE_DIRECTORY
29 !define MUI_STARTMENUPAGE_REGISTRY_ROOT
"HKCU"
30 !define MUI_STARTMENUPAGE_REGISTRY_KEY
"Software\Gajim"
31 !define MUI_STARTMENUPAGE_REGISTRY_VALUENAME
"Start Menu Folder"
32 !insertmacro MUI_PAGE_STARTMENU Application
$StartMenuFolder
33 !insertmacro MUI_PAGE_INSTFILES
34 !define MUI_FINISHPAGE_RUN
"$INSTDIR\bin\Gajim.exe"
35 !insertmacro MUI_PAGE_FINISH
37 !insertmacro MUI_UNPAGE_WELCOME
38 !insertmacro MUI_UNPAGE_CONFIRM
39 !insertmacro MUI_UNPAGE_INSTFILES
40 !insertmacro MUI_UNPAGE_FINISH
42 !insertmacro MUI_LANGUAGE
"English"
43 !insertmacro MUI_LANGUAGE
"French"
44 !insertmacro MUI_LANGUAGE
"German"
45 !insertmacro MUI_LANGUAGE
"Italian"
46 !insertmacro MUI_LANGUAGE
"Russian"
47 !insertmacro MUI_RESERVEFILE_LANGDLL
50 LangString NAME_Emoticons
${LANG_ENGLISH} "Emoticons"
51 LangString NAME_Iconsets
${LANG_ENGLISH} "Iconsets"
52 LangString NAME_Languages
${LANG_ENGLISH} "Languages"
53 LangString NAME_SecLanguagesOther
${LANG_ENGLISH} "Other"
54 LangString NAME_Themes
${LANG_ENGLISH} "Themes"
55 LangString NAME_SecDesktopIcon
${LANG_ENGLISH} "Create icon on desktop"
56 LangString NAME_SecAutostart
${LANG_ENGLISH} "Start Gajim when Windows starts"
57 LangString DESC_SecGajim
${LANG_ENGLISH} "Installs the main Gajim files."
58 LangString DESC_SecGtk
${LANG_ENGLISH} "Installs Gtk+ 2 (necessary to run Gajim)."
59 LangString DESC_SecDesktopIcon
${LANG_ENGLISH} "If set, a shortcut for Gajim will be created on the desktop."
60 LangString DESC_SecAutostart
${LANG_ENGLISH} "If set, Gajim will be automatically started when Windows starts."
61 LangString STR_Installed
${LANG_ENGLISH} "Apparently, Gajim is already installed."
62 LangString STR_Uninstall
${LANG_ENGLISH} "Launch Uninstaller"
63 LangString STR_Cancel
${LANG_ENGLISH} "Cancel"
64 LangString STR_Running
${LANG_ENGLISH} "It appears that Gajim is currently running.$\n\
65 Please quit Gajim and restart the uninstaller."
68 LangString NAME_Emoticons
${LANG_FRENCH} "Emoticônes"
69 LangString NAME_Iconsets
${LANG_FRENCH} "Bibliothèque d'icônes"
70 LangString NAME_Languages
${LANG_FRENCH} "Langues"
71 LangString NAME_SecLanguagesOther
${LANG_FRENCH} "Autre"
72 LangString NAME_Themes
${LANG_FRENCH} "Thèmes"
73 LangString NAME_SecDesktopIcon
${LANG_FRENCH} "Créer une icône sur le bureau"
74 LangString NAME_SecAutostart
${LANG_FRENCH} "Lancer Gajim au démarrage de Windows"
75 LangString DESC_SecGajim
${LANG_FRENCH} "Installer les fichiers principaux de Gajim."
76 LangString DESC_SecGtk
${LANG_FRENCH} "Installer Gtk+ 2 (nécessaire à Gajim)."
77 LangString DESC_SecDesktopIcon
${LANG_FRENCH} "Si selectionné, un raccourci pour Gajim sera créé sur le bureau."
78 LangString DESC_SecAutostart
${LANG_FRENCH} "Si activé, Gajim sera automatiquement lancé au démarrage de Windows."
79 LangString STR_Installed
${LANG_FRENCH} "Gajim est apparement déja installé."
80 LangString STR_Uninstall
${LANG_FRENCH} "Lancer la Désinstallation"
81 LangString STR_Cancel
${LANG_FRENCH} "Annuler"
82 LangString STR_Running
${LANG_FRENCH} "Gajim est apparament lancé.$\n\
83 Fermez-le et redémarrez le désinstallateur."
86 LangString NAME_Emoticons
${LANG_GERMAN} "Emoticons"
87 LangString NAME_Iconsets
${LANG_GERMAN} "Symbolsets"
88 LangString NAME_Languages
${LANG_GERMAN} "Sprachen"
89 LangString NAME_SecLanguagesOther
${LANG_GERMAN} "Sonstige"
90 LangString NAME_Themes
${LANG_GERMAN} "Designs"
91 LangString NAME_SecDesktopIcon
${LANG_GERMAN} "Desktop-Icon erstellen"
92 LangString NAME_SecAutostart
${LANG_GERMAN} "Gajim mit Windows starten"
93 LangString DESC_SecGajim
${LANG_GERMAN} "Installiert die Hauptdateien von Gajim."
94 LangString DESC_SecGtk
${LANG_GERMAN} "Installert Gtk+ 2 (notwendig um Gajim zu benutzen)."
95 LangString DESC_SecDesktopIcon
${LANG_GERMAN} "Wenn dies aktiviert wird, wird ein Icon für Gajim auf dem Desktop erstellt."
96 LangString DESC_SecAutostart
${LANG_GERMAN} "Gajim wird automatisch gestartet, sowie Windows startet, wenn dies aktivier wird."
97 LangString STR_Installed
${LANG_GERMAN} "Gajim scheint bereits installiert zu sein."
98 LangString STR_Uninstall
${LANG_GERMAN} "Deinstallations-Programm starten"
99 LangString STR_Cancel
${LANG_GERMAN} "Abbrechen"
100 LangString STR_Running
${LANG_GERMAN} "Es scheint, dass Gajim bereits läuft.$\n\
101 Bitte beenden Sie es und starten Sie den Installer erneut.."
104 LangString NAME_Emoticons
${LANG_ITALIAN} "Emoticons"
105 LangString NAME_Iconsets
${LANG_ITALIAN} "Set di icone"
106 LangString NAME_Languages
${LANG_ITALIAN} "Lingue"
107 LangString NAME_SecLanguagesOther
${LANG_ITALIAN} "Altre"
108 LangString NAME_Themes
${LANG_ITALIAN} "Temi"
109 LangString NAME_SecDesktopIcon
${LANG_ITALIAN} "Crea un'icona sul desktop"
110 LangString NAME_SecAutostart
${LANG_ITALIAN} "Lancia Gajim quando parte Windows"
111 LangString DESC_SecGajim
${LANG_ITALIAN} "Installa i file principali di Gajim."
112 LangString DESC_SecGtk
${LANG_ITALIAN} "Installa Gtk+ 2 (necessario per eseguire Gajim)."
113 LangString DESC_SecDesktopIcon
${LANG_ITALIAN} "Se selezionato, un'icona verrà creata sul desktop."
114 LangString DESC_SecAutostart
${LANG_ITALIAN} "Se selezionato, Gajim sarà eseguito all'avvio di Windows."
115 LangString STR_Installed
${LANG_ITALIAN} "Gajim is apparently already installed."
116 LangString STR_Uninstall
${LANG_ITALIAN} "Launch Uninstall"
117 LangString STR_Cancel
${LANG_ITALIAN} "Cancel"
118 LangString STR_Running
${LANG_ITALIAN} "It appears that Gajim is currently running.$\n\
119 Close it and restart uninstaller."
122 LangString NAME_Emoticons
${LANG_RUSSIAN} "Ñìàéëèêè"
123 LangString NAME_Iconsets
${LANG_RUSSIAN} "Òåìû èêîíîê"
124 LangString NAME_Languages
${LANG_RUSSIAN} "ßçûêè"
125 LangString NAME_SecLanguagesOther
${LANG_RUSSIAN} "Äðóãîå"
126 LangString NAME_Themes
${LANG_RUSSIAN} "Òåìû"
127 LangString NAME_SecDesktopIcon
${LANG_RUSSIAN} "Ñîçäàòü ÿðëûê íà ðàáî÷åì ñòîëå"
128 LangString NAME_SecAutostart
${LANG_RUSSIAN} "Çàïóñêàòü Gajim ïðè çàãðóçêå Windows"
129 LangString DESC_SecGajim
${LANG_RUSSIAN} "Óñòàíîâêà îñíîâíûõ ôàéëîâ Gajim."
130 LangString DESC_SecGtk
${LANG_RUSSIAN} "Óñòàíîâêà Gtk+ 2 (íåîáõîäèìî äëÿ ðàáîòû Gajim)."
131 LangString DESC_SecDesktopIcon
${LANG_RUSSIAN} "Åñëè îòìå÷åíî, íà ðàáî÷åì ñòîëå áóäåò ñîçäàí ÿðëûê Gajim."
132 LangString DESC_SecAutostart
${LANG_RUSSIAN} "Åñëè îòìå÷åíî, Gajim áóäåò àâòîìàòè÷åñêè çàïóñêàòüñÿ ïðè çàãðóçêå Windows."
133 LangString STR_Installed
${LANG_RUSSIAN} "Gajim is apparently already installed."
134 LangString STR_Uninstall
${LANG_RUSSIAN} "Launch Uninstall"
135 LangString STR_Cancel
${LANG_RUSSIAN} "Cancel"
136 LangString STR_Running
${LANG_RUSSIAN} "It appears that Gajim is currently running.$\n\
137 Close it and restart uninstaller."
139 Section "Gajim" SecGajim
142 SetOutPath "$INSTDIR"
146 File "THANKS.artists"
148 SetOutPath "$INSTDIR\bin"
149 File "bin\_ctypes.pyd"
150 File "bin\_hashlib.pyd"
151 File "bin\_socket.pyd"
152 File "bin\_sqlite3.pyd"
156 File "bin\cairo._cairo.pyd"
157 File "bin\Crypto.Cipher.AES.pyd"
158 File "bin\Crypto.Hash.SHA256.pyd"
159 File "bin\Crypto.Random.OSRNG.winrandom.pyd"
160 File "bin\Crypto.Util._counter.pyd"
162 File "bin\gio._gio.pyd"
163 File "bin\glib._glib.pyd"
164 File "bin\gobject._gobject.pyd"
165 File "bin\gtk._gtk.pyd"
166 File "bin\history_manager.exe"
167 File "bin\OpenSSL.crypto.pyd"
168 File "bin\libeay32.dll"
169 File "bin\library.zip"
170 File "bin\pangocairo.pyd"
172 File "bin\pyexpat.pyd"
173 File "bin\python26.dll"
174 File "bin\pywintypes26.dll"
175 File "bin\OpenSSL.rand.pyd"
176 File "bin\select.pyd"
177 File "bin\sqlite3.dll"
178 File "bin\ssleay32.dll"
179 File "bin\OpenSSL.SSL.pyd"
180 File "bin\unicodedata.pyd"
181 File "bin\win32api.pyd"
182 File "bin\win32file.pyd"
183 File "bin\win32pipe.pyd"
184 File "bin\winsound.pyd"
186 WriteRegStr HKCU "Software\Gajim" "" $INSTDIR
187 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayName" "Gajim"
188 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "UninstallString" "$INSTDIR\Uninstall.exe"
189 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayIcon" "$INSTDIR\bin\Gajim.exe"
190 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayVersion" "0.14.1"
191 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "URLInfoAbout" "http://www.gajim.org/"
192 WriteUninstaller "$INSTDIR\Uninstall.exe"
194 !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
195 SetShellVarContext current
196 CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
197 CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Gajim.lnk" "$INSTDIR\bin\Gajim.exe"
198 CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Change Theme.lnk" "$INSTDIR\bin\gtk\bin\gtkthemeselector.exe"
199 SetShellVarContext all
200 CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
201 CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Gajim.lnk" "$INSTDIR\bin\Gajim.exe"
202 CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Change Theme.lnk" "$INSTDIR\bin\gtk\bin\gtkthemeselector.exe"
203 !insertmacro MUI_STARTMENU_WRITE_END
205 SetOutPath "$INSTDIR\data"
208 File /r
"data\activities"
210 File /r
"data\pixmaps"
211 File /r
"data\sounds"
213 SetOutPath "$INSTDIR\icons"
214 File /r
"icons\hicolor"
217 Section "Gtk+ 2" SecGtk
219 SetOutPath "$INSTDIR\bin\gtk"
220 File /r
"bin\gtk\bin"
221 File /r
"bin\gtk\etc"
222 SetOutPath "$INSTDIR\bin\gtk\lib\gtk-2.0\2.10.0"
223 File /r
"bin\gtk\lib\gtk-2.0\2.10.0\loaders"
224 SetOutPath "$INSTDIR\bin\gtk\lib\gtk-2.0\2.10.0\engines"
225 File "bin\gtk\lib\gtk-2.0\2.10.0\engines\libclearlooks.dll"
226 File "bin\gtk\lib\gtk-2.0\2.10.0\engines\libpixmap.dll"
227 File "bin\gtk\lib\gtk-2.0\2.10.0\engines\libsvg.dll"
228 SetOutPath "$INSTDIR\bin\gtk\lib\gtk-2.0\2.10.0"
229 SetOutPath "$INSTDIR\bin\gtk\lib"
230 File "bin\gtk\lib\charset.alias"
231 SetOutPath "$INSTDIR\bin\gtk\share"
232 File /r
"bin\gtk\share\gtkthemeselector"
233 File /r
"bin\gtk\share\xml"
236 SectionGroup
$(NAME_Emoticons
)
238 Section "animated" SecEmoticonsAnimated
239 SetOutPath "$INSTDIR\data\emoticons"
240 File /r
"data\emoticons\animated"
243 Section "static" SecEmoticonsStatic
245 SetOutPath "$INSTDIR\data\emoticons"
246 File /r
"data\emoticons\static"
249 Section "static-big" SecEmoticonsStaticBig
250 SetOutPath "$INSTDIR\data\emoticons"
251 File /r
"data\emoticons\static-big"
256 SectionGroup
$(NAME_Iconsets
)
258 Section "dcraven" SecIconsetsDcraven
260 SetOutPath "$INSTDIR\data\iconsets"
261 File /r
"data\iconsets\dcraven"
264 Section "gnome" SecIconsetsGnome
265 SetOutPath "$INSTDIR\data\iconsets"
266 File /r
"data\iconsets\gnome"
269 Section "goojim" SecIconsetsGoojim
270 SetOutPath "$INSTDIR\data\iconsets"
271 File /r
"data\iconsets\goojim"
274 Section "gota" SecIconsetsGota
275 SetOutPath "$INSTDIR\data\iconsets"
276 File /r
"data\iconsets\gota"
279 Section "jabberbulb" SecIconsetsJabberbulb
280 SetOutPath "$INSTDIR\data\iconsets"
281 File /r
"data\iconsets\jabberbulb"
284 Section "sun" SecIconsetsSun
285 SetOutPath "$INSTDIR\data\iconsets"
286 File /r
"data\iconsets\sun"
289 Section "wroop" SecIconsetsWroop
290 SetOutPath "$INSTDIR\data\iconsets"
291 File /r
"data\iconsets\wroop"
294 Section "transports" SecIconsetsTransports
295 SetOutPath "$INSTDIR\data\iconsets"
296 File /r
"data\iconsets\transports"
302 SectionGroup
$(NAME_Languages
)
304 Section "English (UK)" SecLanguagesEnglishUK
305 SetOutPath "$INSTDIR\po"
307 SetOutPath "$INSTDIR\bin\gtk\share\locale"
308 File /r
"bin\gtk\share\locale\en_GB"
311 Section "French" SecLanguagesFrench
312 SetOutPath "$INSTDIR\po"
314 SetOutPath "$INSTDIR\bin\gtk\share\locale"
315 File /r
"bin\gtk\share\locale\fr"
318 Section "German" SecLanguagesGerman
319 SetOutPath "$INSTDIR\po"
321 SetOutPath "$INSTDIR\bin\gtk\share\locale"
322 File /r
"bin\gtk\share\locale\de"
325 Section "Italian" SecLanguagesItalian
326 SetOutPath "$INSTDIR\po"
328 SetOutPath "$INSTDIR\bin\gtk\share\locale"
329 File /r
"bin\gtk\share\locale\it"
332 Section "Spanish" SecLanguagesSpanish
333 SetOutPath "$INSTDIR\po"
335 SetOutPath "$INSTDIR\bin\gtk\share\locale"
336 File /r
"bin\gtk\share\locale\es"
339 Section "Russian" SecLanguagesRussian
340 SetOutPath "$INSTDIR\po"
342 SetOutPath "$INSTDIR\bin\gtk\share\locale"
343 File /r
"bin\gtk\share\locale\ru"
346 Section $(NAME_SecLanguagesOther
) SecLanguagesOther
347 SetOutPath "$INSTDIR\po"
349 File /r
"po\be@latin"
372 SetOutPath "$INSTDIR\bin\gtk\share\locale"
373 File /r
"bin\gtk\share\locale\af"
374 File /r
"bin\gtk\share\locale\am"
375 File /r
"bin\gtk\share\locale\ang"
376 File /r
"bin\gtk\share\locale\ar"
377 File /r
"bin\gtk\share\locale\as"
378 File /r
"bin\gtk\share\locale\az"
379 File /r
"bin\gtk\share\locale\az_IR"
380 File /r
"bin\gtk\share\locale\be"
381 File /r
"bin\gtk\share\locale\be@latin"
382 File /r
"bin\gtk\share\locale\bg"
383 File /r
"bin\gtk\share\locale\bn"
384 File /r
"bin\gtk\share\locale\bn_IN"
385 File /r
"bin\gtk\share\locale\br"
386 File /r
"bin\gtk\share\locale\bs"
387 File /r
"bin\gtk\share\locale\ca"
388 File /r
"bin\gtk\share\locale\ca@valencia"
389 File /r
"bin\gtk\share\locale\cs"
390 File /r
"bin\gtk\share\locale\cy"
391 File /r
"bin\gtk\share\locale\da"
392 File /r
"bin\gtk\share\locale\dz"
393 File /r
"bin\gtk\share\locale\el"
394 File /r
"bin\gtk\share\locale\en_CA"
395 File /r
"bin\gtk\share\locale\eo"
396 File /r
"bin\gtk\share\locale\et"
397 File /r
"bin\gtk\share\locale\eu"
398 File /r
"bin\gtk\share\locale\fa"
399 File /r
"bin\gtk\share\locale\fi"
400 File /r
"bin\gtk\share\locale\ga"
401 File /r
"bin\gtk\share\locale\gl"
402 File /r
"bin\gtk\share\locale\gu"
403 File /r
"bin\gtk\share\locale\he"
404 File /r
"bin\gtk\share\locale\hi"
405 File /r
"bin\gtk\share\locale\hr"
406 File /r
"bin\gtk\share\locale\hu"
407 File /r
"bin\gtk\share\locale\hy"
408 File /r
"bin\gtk\share\locale\ia"
409 File /r
"bin\gtk\share\locale\id"
410 File /r
"bin\gtk\share\locale\io"
411 File /r
"bin\gtk\share\locale\is"
412 File /r
"bin\gtk\share\locale\ja"
413 File /r
"bin\gtk\share\locale\ka"
414 File /r
"bin\gtk\share\locale\kn"
415 File /r
"bin\gtk\share\locale\ko"
416 File /r
"bin\gtk\share\locale\ku"
417 File /r
"bin\gtk\share\locale\li"
418 File /r
"bin\gtk\share\locale\lt"
419 File /r
"bin\gtk\share\locale\lv"
420 File /r
"bin\gtk\share\locale\mai"
421 File /r
"bin\gtk\share\locale\mg"
422 File /r
"bin\gtk\share\locale\mi"
423 File /r
"bin\gtk\share\locale\mk"
424 File /r
"bin\gtk\share\locale\ml"
425 File /r
"bin\gtk\share\locale\mn"
426 File /r
"bin\gtk\share\locale\mr"
427 File /r
"bin\gtk\share\locale\ms"
428 File /r
"bin\gtk\share\locale\nb"
429 File /r
"bin\gtk\share\locale\ne"
430 File /r
"bin\gtk\share\locale\nl"
431 File /r
"bin\gtk\share\locale\nn"
432 File /r
"bin\gtk\share\locale\nso"
433 File /r
"bin\gtk\share\locale\oc"
434 File /r
"bin\gtk\share\locale\or"
435 File /r
"bin\gtk\share\locale\pa"
436 File /r
"bin\gtk\share\locale\pl"
437 File /r
"bin\gtk\share\locale\ps"
438 File /r
"bin\gtk\share\locale\pt"
439 File /r
"bin\gtk\share\locale\pt_BR"
440 File /r
"bin\gtk\share\locale\ro"
441 File /r
"bin\gtk\share\locale\rw"
442 File /r
"bin\gtk\share\locale\si"
443 File /r
"bin\gtk\share\locale\sk"
444 File /r
"bin\gtk\share\locale\sl"
445 File /r
"bin\gtk\share\locale\sq"
446 File /r
"bin\gtk\share\locale\sr"
447 File /r
"bin\gtk\share\locale\sr@ije"
448 File /r
"bin\gtk\share\locale\sr@latin"
449 File /r
"bin\gtk\share\locale\sv"
450 File /r
"bin\gtk\share\locale\ta"
451 File /r
"bin\gtk\share\locale\te"
452 File /r
"bin\gtk\share\locale\th"
453 File /r
"bin\gtk\share\locale\tk"
454 File /r
"bin\gtk\share\locale\tl"
455 File /r
"bin\gtk\share\locale\tr"
456 File /r
"bin\gtk\share\locale\tt"
457 File /r
"bin\gtk\share\locale\ug"
458 File /r
"bin\gtk\share\locale\uk"
459 File /r
"bin\gtk\share\locale\ur"
460 File /r
"bin\gtk\share\locale\uz"
461 File /r
"bin\gtk\share\locale\uz@cyrillic"
462 File /r
"bin\gtk\share\locale\vi"
463 File /r
"bin\gtk\share\locale\wa"
464 File /r
"bin\gtk\share\locale\xh"
465 File /r
"bin\gtk\share\locale\yi"
466 File /r
"bin\gtk\share\locale\zh_CN"
467 File /r
"bin\gtk\share\locale\zh_HK"
468 File /r
"bin\gtk\share\locale\zh_TW"
473 SectionGroup
$(NAME_Themes
)
475 Section "Clearlooks" SecThemesClearlooks
476 SetOutPath "$INSTDIR\bin\gtk\share\themes"
477 File /r
"bin\gtk\share\themes\Clearlooks"
480 Section "Default GTK" SecThemesDefault
481 SetOutPath "$INSTDIR\bin\gtk\share\themes"
482 File /r
"bin\gtk\share\themes\Default"
485 Section "Glossy" SecThemesGlossy
486 SetOutPath "$INSTDIR\bin\gtk\share\themes"
487 File /r
"bin\gtk\share\themes\Glossy"
490 Section "Glossy-js" SecThemesGlossyJs
492 SetOutPath "$INSTDIR\bin\gtk\share\themes"
493 File /r
"bin\gtk\share\themes\Glossy-js"
496 Section "MS-Windows" SecThemesMSWindows
497 SetOutPath "$INSTDIR\bin\gtk\lib\gtk-2.0\2.10.0\engines"
498 File "bin\gtk\lib\gtk-2.0\2.10.0\engines\libwimp.dll"
499 SetOutPath "$INSTDIR\bin\gtk\share\themes"
500 File /r
"bin\gtk\share\themes\MS-Windows"
505 Section $(NAME_SecDesktopIcon
) SecDesktopIcon
506 SetShellVarContext current
507 SetOutPath "$INSTDIR\bin"
508 CreateShortCut "$DESKTOP\Gajim.lnk" "$INSTDIR\bin\Gajim.exe"
511 Section $(NAME_SecAutostart
) SecAutostart
512 SetShellVarContext current
513 SetOutPath "$INSTDIR\bin"
514 CreateShortCut "$SMSTARTUP\Gajim.lnk" "$INSTDIR\bin\Gajim.exe"
518 RMDir /r
"$INSTDIR\bin\gtk\bin"
519 RMDir /r
"$INSTDIR\bin\gtk\etc"
520 RMDir /r
"$INSTDIR\bin\gtk\lib\gtk-2.0\2.10.0\loaders"
521 Delete "$INSTDIR\bin\gtk\lib\gtk-2.0\2.10.0\engines\libclearlooks.dll"
522 Delete "$INSTDIR\bin\gtk\lib\gtk-2.0\2.10.0\engines\libpixmap.dll"
523 Delete "$INSTDIR\bin\gtk\lib\gtk-2.0\2.10.0\engines\libsvg.dll"
524 Delete "$INSTDIR\bin\gtk\lib\gtk-2.0\2.10.0\engines\libwimp.dll"
525 RMDir "$INSTDIR\bin\gtk\lib\gtk-2.0\2.10.0\engines"
526 RMDir "$INSTDIR\bin\gtk\lib\gtk-2.0\2.10.0"
527 RMDir "$INSTDIR\bin\gtk\lib\gtk-2.0"
528 Delete "$INSTDIR\bin\gtk\lib\charset.alias"
529 RMDir "$INSTDIR\bin\gtk\lib"
530 RMDir /r
"$INSTDIR\bin\gtk\share\locale\de"
531 RMDir /r
"$INSTDIR\bin\gtk\share\locale\en_GB"
532 RMDir /r
"$INSTDIR\bin\gtk\share\locale\es"
533 RMDir /r
"$INSTDIR\bin\gtk\share\locale\fr"
534 RMDir /r
"$INSTDIR\bin\gtk\share\locale\it"
535 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ru"
536 RMDir /r
"$INSTDIR\bin\gtk\share\locale\af"
537 RMDir /r
"$INSTDIR\bin\gtk\share\locale\am"
538 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ang"
539 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ar"
540 RMDir /r
"$INSTDIR\bin\gtk\share\locale\as"
541 RMDir /r
"$INSTDIR\bin\gtk\share\locale\az"
542 RMDir /r
"$INSTDIR\bin\gtk\share\locale\az_IR"
543 RMDir /r
"$INSTDIR\bin\gtk\share\locale\be"
544 RMDir /r
"$INSTDIR\bin\gtk\share\locale\be@latin"
545 RMDir /r
"$INSTDIR\bin\gtk\share\locale\bg"
546 RMDir /r
"$INSTDIR\bin\gtk\share\locale\bn"
547 RMDir /r
"$INSTDIR\bin\gtk\share\locale\bn_IN"
548 RMDir /r
"$INSTDIR\bin\gtk\share\locale\br"
549 RMDir /r
"$INSTDIR\bin\gtk\share\locale\bs"
550 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ca"
551 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ca@valencia"
552 RMDir /r
"$INSTDIR\bin\gtk\share\locale\cs"
553 RMDir /r
"$INSTDIR\bin\gtk\share\locale\cy"
554 RMDir /r
"$INSTDIR\bin\gtk\share\locale\da"
555 RMDir /r
"$INSTDIR\bin\gtk\share\locale\dz"
556 RMDir /r
"$INSTDIR\bin\gtk\share\locale\el"
557 RMDir /r
"$INSTDIR\bin\gtk\share\locale\en_CA"
558 RMDir /r
"$INSTDIR\bin\gtk\share\locale\eo"
559 RMDir /r
"$INSTDIR\bin\gtk\share\locale\et"
560 RMDir /r
"$INSTDIR\bin\gtk\share\locale\eu"
561 RMDir /r
"$INSTDIR\bin\gtk\share\locale\fa"
562 RMDir /r
"$INSTDIR\bin\gtk\share\locale\fi"
563 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ga"
564 RMDir /r
"$INSTDIR\bin\gtk\share\locale\gl"
565 RMDir /r
"$INSTDIR\bin\gtk\share\locale\gu"
566 RMDir /r
"$INSTDIR\bin\gtk\share\locale\he"
567 RMDir /r
"$INSTDIR\bin\gtk\share\locale\hi"
568 RMDir /r
"$INSTDIR\bin\gtk\share\locale\hr"
569 RMDir /r
"$INSTDIR\bin\gtk\share\locale\hu"
570 RMDir /r
"$INSTDIR\bin\gtk\share\locale\hy"
571 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ia"
572 RMDir /r
"$INSTDIR\bin\gtk\share\locale\id"
573 RMDir /r
"$INSTDIR\bin\gtk\share\locale\io"
574 RMDir /r
"$INSTDIR\bin\gtk\share\locale\is"
575 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ja"
576 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ka"
577 RMDir /r
"$INSTDIR\bin\gtk\share\locale\kn"
578 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ko"
579 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ku"
580 RMDir /r
"$INSTDIR\bin\gtk\share\locale\li"
581 RMDir /r
"$INSTDIR\bin\gtk\share\locale\lt"
582 RMDir /r
"$INSTDIR\bin\gtk\share\locale\lv"
583 RMDir /r
"$INSTDIR\bin\gtk\share\locale\mai"
584 RMDir /r
"$INSTDIR\bin\gtk\share\locale\mg"
585 RMDir /r
"$INSTDIR\bin\gtk\share\locale\mi"
586 RMDir /r
"$INSTDIR\bin\gtk\share\locale\mk"
587 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ml"
588 RMDir /r
"$INSTDIR\bin\gtk\share\locale\mn"
589 RMDir /r
"$INSTDIR\bin\gtk\share\locale\mr"
590 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ms"
591 RMDir /r
"$INSTDIR\bin\gtk\share\locale\nb"
592 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ne"
593 RMDir /r
"$INSTDIR\bin\gtk\share\locale\nl"
594 RMDir /r
"$INSTDIR\bin\gtk\share\locale\nn"
595 RMDir /r
"$INSTDIR\bin\gtk\share\locale\nso"
596 RMDir /r
"$INSTDIR\bin\gtk\share\locale\oc"
597 RMDir /r
"$INSTDIR\bin\gtk\share\locale\or"
598 RMDir /r
"$INSTDIR\bin\gtk\share\locale\pa"
599 RMDir /r
"$INSTDIR\bin\gtk\share\locale\pl"
600 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ps"
601 RMDir /r
"$INSTDIR\bin\gtk\share\locale\pt"
602 RMDir /r
"$INSTDIR\bin\gtk\share\locale\pt_BR"
603 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ro"
604 RMDir /r
"$INSTDIR\bin\gtk\share\locale\rw"
605 RMDir /r
"$INSTDIR\bin\gtk\share\locale\si"
606 RMDir /r
"$INSTDIR\bin\gtk\share\locale\sk"
607 RMDir /r
"$INSTDIR\bin\gtk\share\locale\sl"
608 RMDir /r
"$INSTDIR\bin\gtk\share\locale\sq"
609 RMDir /r
"$INSTDIR\bin\gtk\share\locale\sr"
610 RMDir /r
"$INSTDIR\bin\gtk\share\locale\sr@ije"
611 RMDir /r
"$INSTDIR\bin\gtk\share\locale\sr@latin"
612 RMDir /r
"$INSTDIR\bin\gtk\share\locale\sv"
613 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ta"
614 RMDir /r
"$INSTDIR\bin\gtk\share\locale\te"
615 RMDir /r
"$INSTDIR\bin\gtk\share\locale\th"
616 RMDir /r
"$INSTDIR\bin\gtk\share\locale\tk"
617 RMDir /r
"$INSTDIR\bin\gtk\share\locale\tl"
618 RMDir /r
"$INSTDIR\bin\gtk\share\locale\tr"
619 RMDir /r
"$INSTDIR\bin\gtk\share\locale\tt"
620 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ug"
621 RMDir /r
"$INSTDIR\bin\gtk\share\locale\uk"
622 RMDir /r
"$INSTDIR\bin\gtk\share\locale\ur"
623 RMDir /r
"$INSTDIR\bin\gtk\share\locale\uz"
624 RMDir /r
"$INSTDIR\bin\gtk\share\locale\uz@cyrillic"
625 RMDir /r
"$INSTDIR\bin\gtk\share\locale\vi"
626 RMDir /r
"$INSTDIR\bin\gtk\share\locale\wa"
627 RMDir /r
"$INSTDIR\bin\gtk\share\locale\xh"
628 RMDir /r
"$INSTDIR\bin\gtk\share\locale\yi"
629 RMDir /r
"$INSTDIR\bin\gtk\share\locale\zh_CN"
630 RMDir /r
"$INSTDIR\bin\gtk\share\locale\zh_HK"
631 RMDir /r
"$INSTDIR\bin\gtk\share\locale\zh_TW"
632 RMDir "$INSTDIR\bin\gtk\share\locale"
633 RMDir /r
"$INSTDIR\bin\gtk\share\themes\Clearlooks"
634 RMDir /r
"$INSTDIR\bin\gtk\share\themes\Default"
635 RMDir /r
"$INSTDIR\bin\gtk\share\themes\Glossy"
636 RMDir /r
"$INSTDIR\bin\gtk\share\themes\Glossy-js"
637 RMDir /r
"$INSTDIR\bin\gtk\share\themes\MS-Windows"
638 RMDir "$INSTDIR\bin\gtk\share\themes"
639 RMDir /r
"$INSTDIR\bin\gtk\share\gtkthemeselector"
640 RMDir /r
"$INSTDIR\bin\gtk\share\xml"
641 RMDir "$INSTDIR\bin\gtk\share"
642 RMDir "$INSTDIR\bin\gtk"
643 Delete "$INSTDIR\bin\_ctypes.pyd"
644 Delete "$INSTDIR\bin\_hashlib.pyd"
645 Delete "$INSTDIR\bin\_socket.pyd"
646 Delete "$INSTDIR\bin\_sqlite3.pyd"
647 Delete "$INSTDIR\bin\_ssl.pyd"
648 Delete "$INSTDIR\bin\atk.pyd"
649 Delete "$INSTDIR\bin\bz2.pyd"
650 Delete "$INSTDIR\bin\cairo._cairo.pyd"
651 Delete "$INSTDIR\bin\Crypto.Cipher.AES.pyd"
652 Delete "$INSTDIR\bin\Crypto.Hash.SHA256.pyd"
653 Delete "$INSTDIR\bin\Crypto.Random.OSRNG.winrandom.pyd"
654 Delete "$INSTDIR\bin\Crypto.Util._counter.pyd"
655 Delete "$INSTDIR\bin\gajim.exe"
656 Delete "$INSTDIR\bin\gio._gio.pyd"
657 Delete "$INSTDIR\bin\glib._glib.pyd"
658 Delete "$INSTDIR\bin\gobject._gobject.pyd"
659 Delete "$INSTDIR\bin\gtk._gtk.pyd"
660 Delete "$INSTDIR\bin\history_manager.exe"
661 Delete "$INSTDIR\bin\libeay32.dll"
662 Delete "$INSTDIR\bin\library.zip"
663 Delete "$INSTDIR\bin\OpenSSL.crypto.pyd"
664 Delete "$INSTDIR\bin\OpenSSL.rand.pyd"
665 Delete "$INSTDIR\bin\OpenSSL.SSL.pyd"
666 Delete "$INSTDIR\bin\pango.pyd"
667 Delete "$INSTDIR\bin\pangocairo.pyd"
668 Delete "$INSTDIR\bin\pyexpat.pyd"
669 Delete "$INSTDIR\bin\python26.dll"
670 Delete "$INSTDIR\bin\pywintypes26.dll"
671 Delete "$INSTDIR\bin\select.pyd"
672 Delete "$INSTDIR\bin\sqlite3.dll"
673 Delete "$INSTDIR\bin\ssleay32.dll"
674 Delete "$INSTDIR\bin\unicodedata.pyd"
675 Delete "$INSTDIR\bin\win32api.pyd"
676 Delete "$INSTDIR\bin\win32file.pyd"
677 Delete "$INSTDIR\bin\win32pipe.pyd"
678 Delete "$INSTDIR\bin\winsound.pyd"
680 RMDir /r
"$INSTDIR\data\gui"
681 RMDir /r
"$INSTDIR\data\moods"
682 RMDir /r
"$INSTDIR\data\activities"
683 RMDir /r
"$INSTDIR\data\other"
684 RMDir /r
"$INSTDIR\data\pixmaps"
685 RMDir /r
"$INSTDIR\data\sounds"
686 RMDir /r
"$INSTDIR\data\emoticons\animated"
687 RMDir /r
"$INSTDIR\data\emoticons\static"
688 RMDir /r
"$INSTDIR\data\emoticons\static-big"
689 RMDir "$INSTDIR\data\emoticons"
690 RMDir /r
"$INSTDIR\data\iconsets\dcraven"
691 RMDir /r
"$INSTDIR\data\iconsets\gnome"
692 RMDir /r
"$INSTDIR\data\iconsets\goojim"
693 RMDir /r
"$INSTDIR\data\iconsets\gota"
694 RMDir /r
"$INSTDIR\data\iconsets\jabberbulb"
695 RMDir /r
"$INSTDIR\data\iconsets\sun"
696 RMDir /r
"$INSTDIR\data\iconsets\wroop"
697 RMDir /r
"$INSTDIR\data\iconsets\transports"
698 RMDir "$INSTDIR\data\iconsets"
699 RMDir "$INSTDIR\data"
700 RMDir /r
"$INSTDIR\icons\hicolor"
701 RMDir "$INSTDIR\icons"
702 RMDir /r
"$INSTDIR\po\be"
703 RMDir /r
"$INSTDIR\po\be@latin"
704 RMDir /r
"$INSTDIR\po\bg"
705 RMDir /r
"$INSTDIR\po\br"
706 RMDir /r
"$INSTDIR\po\cs"
707 RMDir /r
"$INSTDIR\po\da"
708 RMDir /r
"$INSTDIR\po\de"
709 RMDir /r
"$INSTDIR\po\el"
710 RMDir /r
"$INSTDIR\po\en_GB"
711 RMDir /r
"$INSTDIR\po\eo"
712 RMDir /r
"$INSTDIR\po\es"
713 RMDir /r
"$INSTDIR\po\eu"
714 RMDir /r
"$INSTDIR\po\fr"
715 RMDir /r
"$INSTDIR\po\gl"
716 RMDir /r
"$INSTDIR\po\hr"
717 RMDir /r
"$INSTDIR\po\it"
718 RMDir /r
"$INSTDIR\po\lt"
719 RMDir /r
"$INSTDIR\po\nb"
720 RMDir /r
"$INSTDIR\po\nl"
721 RMDir /r
"$INSTDIR\po\no"
722 RMDir /r
"$INSTDIR\po\pl"
723 RMDir /r
"$INSTDIR\po\pt"
724 RMDir /r
"$INSTDIR\po\pt_BR"
725 RMDir /r
"$INSTDIR\po\ru"
726 RMDir /r
"$INSTDIR\po\sk"
727 RMDir /r
"$INSTDIR\po\sr"
728 RMDir /r
"$INSTDIR\po\sr@Latn"
729 RMDir /r
"$INSTDIR\po\sv"
730 RMDir /r
"$INSTDIR\po\uk"
731 RMDir /r
"$INSTDIR\po\zh_CN"
733 Delete "$INSTDIR\AUTHORS"
734 Delete "$INSTDIR\COPYING"
735 Delete "$INSTDIR\THANKS"
736 Delete "$INSTDIR\THANKS.artists"
737 Delete "$INSTDIR\Uninstall.exe"
740 !insertmacro MUI_STARTMENU_GETFOLDER Application
$StartMenuFolder
742 SetShellVarContext current
743 Delete "$SMPROGRAMS\$StartMenuFolder\Gajim.lnk"
744 Delete "$SMPROGRAMS\$StartMenuFolder\Change Theme.lnk"
745 RMDir "$SMPROGRAMS\$StartMenuFolder"
746 Delete "$DESKTOP\Gajim.lnk"
747 Delete "$SMSTARTUP\Gajim.lnk"
748 SetShellVarContext all
749 Delete "$SMPROGRAMS\$StartMenuFolder\Gajim.lnk"
750 Delete "$SMPROGRAMS\$StartMenuFolder\Change Theme.lnk"
751 RMDir "$SMPROGRAMS\$StartMenuFolder"
753 DeleteRegKey /ifempty
HKCU "Software\Gajim"
754 DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim"
757 !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
758 !insertmacro MUI_DESCRIPTION_TEXT
${SecGajim} $(DESC_SecGajim
)
759 !insertmacro MUI_DESCRIPTION_TEXT
${SecGtk} $(DESC_SecGtk
)
760 !insertmacro MUI_DESCRIPTION_TEXT
${SecDesktopIcon} $(DESC_SecDesktopIcon
)
761 !insertmacro MUI_DESCRIPTION_TEXT
${SecAutostart} $(DESC_SecAutostart
)
762 !insertmacro MUI_FUNCTION_DESCRIPTION_END
765 ; Check that Gajim is not running before uninstalling
766 FindWindow $0 "gdkWindowToplevel" "Gajim"
768 MessageBox MB_ICONSTOP|
MB_OK $(STR_Running
)
775 ; Check if already running
776 ; If so don't open another but bring to front
777 System::Call "kernel32::CreateMutexA(i 0, i 0, t '$(^Name)') i .r0 ?e"
782 FindWindow $1 '#32770' '' 0 $1
784 System::Call "user32::ShowWindow(i r1,i 9) i." ; If minimized then maximize
785 System::Call "user32::SetForegroundWindow(i r1) i." ; Bring to front
789 ; Check to see if old install (inno setup) is already installed
790 ReadRegStr $R0 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Gajim_is1" "UninstallString"
791 ; remove first and last " char
795 IfFileExists $1 +1 NotInstalled
796 messagebox::show MB_DEFBUTTON4|
MB_TOPMOST "Gajim" \
799 $(STR_Uninstall
) $(STR_Cancel
)
802 ExecWait '$R0 _?=$INSTDIR' $R2
806 ; Check to see if new installer (NSIS)already installed
807 ReadRegStr $R3 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "UninstallString"
808 IfFileExists $R3 +1 ReallyNotInstalled
810 messagebox::show MB_DEFBUTTON4|
MB_TOPMOST "Gajim" \
813 $(STR_Uninstall
) $(STR_Cancel
)
816 ExecWait '$R3 _?=$INSTDIR' $R5
817 StrCmp $R5 0 ReallyNotInstalled
Quit
822 !insertmacro MUI_LANGDLL_DISPLAY