-
Notifications
You must be signed in to change notification settings - Fork 0
/
pioneers.nsi.in
588 lines (557 loc) · 25.2 KB
/
pioneers.nsi.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
; Script generated with the aid of the HM NIS Edit Script Wizard.
; Adapted for Pioneers by Roland Clobus <rclobus@bigfoot.com>
; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "Pioneers"
!define PRODUCT_VERSION "@VERSION@"
!define PRODUCT_WEB_SITE "http://pio.sf.net"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\pioneers.exe"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
!define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir"
SetCompressor bzip2
!include "MUI2.nsh"
; MUI Settings
!define MUI_ABORTWARNING
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
; Language Selection Dialog Settings
!define MUI_LANGDLL_ALLLANGUAGES
!define MUI_LANGDLL_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
!define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
!define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language"
; Welcome page
!insertmacro MUI_PAGE_WELCOME
; License page
!insertmacro MUI_PAGE_LICENSE "COPYING"
; Components page
!insertmacro MUI_PAGE_COMPONENTS
; Directory page
!insertmacro MUI_PAGE_DIRECTORY
; Start menu page
var ICONS_GROUP
!define MUI_STARTMENUPAGE_NODISABLE
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "Pioneers"
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${PRODUCT_STARTMENU_REGVAL}"
!insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP
; Instfiles page
!insertmacro MUI_PAGE_INSTFILES
; Finish page
!define MUI_FINISHPAGE_RUN "$INSTDIR\pioneers.exe"
!insertmacro MUI_PAGE_FINISH
; Uninstaller pages
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
; Language files
!insertmacro MUI_LANGUAGE "English" ;first language is the default
!insertmacro MUI_LANGUAGE "Afrikaans"
!insertmacro MUI_LANGUAGE "Czech"
!insertmacro MUI_LANGUAGE "Danish"
!insertmacro MUI_LANGUAGE "Dutch"
!insertmacro MUI_LANGUAGE "French"
!insertmacro MUI_LANGUAGE "Galician"
!insertmacro MUI_LANGUAGE "German"
!insertmacro MUI_LANGUAGE "Hungarian"
!insertmacro MUI_LANGUAGE "Italian"
!insertmacro MUI_LANGUAGE "Japanese"
!insertmacro MUI_LANGUAGE "Portuguese"
!insertmacro MUI_LANGUAGE "Spanish"
!insertmacro MUI_LANGUAGE "Swedish"
;Reserve Files
;If you are using solid compression, files that are required before
;the actual installation should be stored first in the data block,
;because this will make your installer start faster.
!insertmacro MUI_RESERVEFILE_LANGDLL
; MUI end ------
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "Pioneers-${PRODUCT_VERSION}-setup.exe"
InstallDir "$PROGRAMFILES\Pioneers"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
ShowUnInstDetails show
;Request application privileges for Windows Vista
RequestExecutionLevel user
Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY
FunctionEnd
Section "!Minimal install" SEC01
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
File "..\..\..\local\pioneers.exe"
File "..\..\..\local\freetype6.dll"
File "..\..\..\local\intl.dll"
File "..\..\..\local\libatk-1.0-0.dll"
File "..\..\..\local\libcairo-2.dll"
File "..\..\..\local\libexpat-1.dll"
File "..\..\..\local\libfontconfig-1.dll"
File "..\..\..\local\libgdk_pixbuf-2.0-0.dll"
File "..\..\..\local\libgdk-win32-2.0-0.dll"
File "..\..\..\local\libgio-2.0-0.dll"
File "..\..\..\local\libglib-2.0-0.dll"
File "..\..\..\local\libgmodule-2.0-0.dll"
File "..\..\..\local\libgobject-2.0-0.dll"
File "..\..\..\local\libgtk-win32-2.0-0.dll"
File "..\..\..\local\libpango-1.0-0.dll"
File "..\..\..\local\libpangocairo-1.0-0.dll"
File "..\..\..\local\libpangoft2-1.0-0.dll"
File "..\..\..\local\libpangowin32-1.0-0.dll"
File "..\..\..\local\libpixbufloader-png.dll"
File "..\..\..\local\libpng12-0.dll"
SetOutPath "$INSTDIR\etc\gtk-2.0"
File "..\..\..\local\etc\gtk-2.0\gdk-pixbuf.loaders"
SetOverwrite TRY
; Translations
SetOutPath "$INSTDIR\locale\af\LC_MESSAGES"
File "..\..\..\local\locale\af\LC_MESSAGES\pioneers.mo"
SetOutPath "$INSTDIR\locale\cs\LC_MESSAGES"
File "..\..\..\local\locale\cs\LC_MESSAGES\pioneers.mo"
SetOutPath "$INSTDIR\locale\da\LC_MESSAGES"
File "..\..\..\local\locale\da\LC_MESSAGES\pioneers.mo"
SetOutPath "$INSTDIR\locale\de\LC_MESSAGES"
File "..\..\..\local\locale\de\LC_MESSAGES\pioneers.mo"
SetOutPath "$INSTDIR\locale\en_GB\LC_MESSAGES"
File "..\..\..\local\locale\en_GB\LC_MESSAGES\pioneers.mo"
SetOutPath "$INSTDIR\locale\es\LC_MESSAGES"
File "..\..\..\local\locale\es\LC_MESSAGES\pioneers.mo"
SetOutPath "$INSTDIR\locale\fr\LC_MESSAGES"
File "..\..\..\local\locale\fr\LC_MESSAGES\pioneers.mo"
SetOutPath "$INSTDIR\locale\gl\LC_MESSAGES"
File "..\..\..\local\locale\gl\LC_MESSAGES\pioneers.mo"
SetOutPath "$INSTDIR\locale\hu\LC_MESSAGES"
File "..\..\..\local\locale\hu\LC_MESSAGES\pioneers.mo"
SetOutPath "$INSTDIR\locale\it\LC_MESSAGES"
File "..\..\..\local\locale\it\LC_MESSAGES\pioneers.mo"
SetOutPath "$INSTDIR\locale\ja\LC_MESSAGES"
File "..\..\..\local\locale\ja\LC_MESSAGES\pioneers.mo"
SetOutPath "$INSTDIR\locale\nl\LC_MESSAGES"
File "..\..\..\local\locale\nl\LC_MESSAGES\pioneers.mo"
SetOutPath "$INSTDIR\locale\pt\LC_MESSAGES"
File "..\..\..\local\locale\pt\LC_MESSAGES\pioneers.mo"
SetOutPath "$INSTDIR\locale\sv\LC_MESSAGES"
File "..\..\..\local\locale\sv\LC_MESSAGES\pioneers.mo"
; No man pages for Windows native distribution
; SetOutPath "$INSTDIR\man\man6"
; File "..\..\..\local\man\man6\pioneers-meta-server.6"
; File "..\..\..\local\man\man6\pioneers-server-console.6"
; File "..\..\..\local\man\man6\pioneers-server-gtk.6"
; File "..\..\..\local\man\man6\pioneers.6"
; File "..\..\..\local\man\man6\pioneersai.6"
; Main toolbar icons
SetOutPath "$INSTDIR\pixmaps\pioneers"
File "..\..\..\local\pixmaps\pioneers\bridge.png"
File "..\..\..\local\pixmaps\pioneers\city.png"
File "..\..\..\local\pixmaps\pioneers\city_wall.png"
File "..\..\..\local\pixmaps\pioneers\develop.png"
File "..\..\..\local\pixmaps\pioneers\dice.png"
File "..\..\..\local\pixmaps\pioneers\finish.png"
File "..\..\..\local\pixmaps\pioneers\road.png"
File "..\..\..\local\pixmaps\pioneers\settlement.png"
File "..\..\..\local\pixmaps\pioneers\ship.png"
File "..\..\..\local\pixmaps\pioneers\ship_move.png"
File "..\..\..\local\pixmaps\pioneers\splash.png"
File "..\..\..\local\pixmaps\pioneers\trade.png"
File "..\..\..\local\pixmaps\pioneers\brick.png"
File "..\..\..\local\pixmaps\pioneers\grain.png"
File "..\..\..\local\pixmaps\pioneers\ore.png"
File "..\..\..\local\pixmaps\pioneers\wool.png"
File "..\..\..\local\pixmaps\pioneers\lumber.png"
File "..\..\..\local\pixmaps\pioneers\style-ai.png"
File "..\..\..\local\pixmaps\pioneers\style-human.png"
File "..\..\..\local\pixmaps\pioneers\style-human-1.png"
File "..\..\..\local\pixmaps\pioneers\style-human-2.png"
File "..\..\..\local\pixmaps\pioneers\style-human-3.png"
File "..\..\..\local\pixmaps\pioneers\style-human-4.png"
File "..\..\..\local\pixmaps\pioneers\style-human-5.png"
File "..\..\..\local\pixmaps\pioneers\style-human-6.png"
File "..\..\..\local\pixmaps\pioneers\style-human-7.png"
; Themes
SetOutPath "$INSTDIR\themes"
SetOutPath "$INSTDIR\themes\ccFlickr"
File "..\..\..\local\themes\ccFlickr\ATTRIB"
File "..\..\..\local\themes\ccFlickr\board.png"
File "..\..\..\local\themes\ccFlickr\brick.png"
File "..\..\..\local\themes\ccFlickr\desert.png"
File "..\..\..\local\themes\ccFlickr\gold.png"
File "..\..\..\local\themes\ccFlickr\grain.png"
File "..\..\..\local\themes\ccFlickr\lumber.png"
File "..\..\..\local\themes\ccFlickr\ore.png"
File "..\..\..\local\themes\ccFlickr\port-brick.png"
File "..\..\..\local\themes\ccFlickr\port-gold.png"
File "..\..\..\local\themes\ccFlickr\port-grain.png"
File "..\..\..\local\themes\ccFlickr\port-lumber.png"
File "..\..\..\local\themes\ccFlickr\port-ore.png"
File "..\..\..\local\themes\ccFlickr\port-wool.png"
File "..\..\..\local\themes\ccFlickr\sea.png"
File "..\..\..\local\themes\ccFlickr\theme.cfg"
File "..\..\..\local\themes\ccFlickr\wool.png"
SetOutPath "$INSTDIR\themes\Classic"
File "..\..\..\local\themes\Classic\board.png"
File "..\..\..\local\themes\Classic\desert.png"
File "..\..\..\local\themes\Classic\field.png"
File "..\..\..\local\themes\Classic\forest.png"
File "..\..\..\local\themes\Classic\gold.png"
File "..\..\..\local\themes\Classic\hill.png"
File "..\..\..\local\themes\Classic\mountain.png"
File "..\..\..\local\themes\Classic\pasture.png"
File "..\..\..\local\themes\Classic\sea.png"
File "..\..\..\local\themes\Classic\theme.cfg"
SetOutPath "$INSTDIR\themes\FreeCIV-like"
File "..\..\..\local\themes\FreeCIV-like\board.png"
File "..\..\..\local\themes\FreeCIV-like\desert.png"
File "..\..\..\local\themes\FreeCIV-like\field.png"
File "..\..\..\local\themes\FreeCIV-like\forest.png"
File "..\..\..\local\themes\FreeCIV-like\gold.png"
File "..\..\..\local\themes\FreeCIV-like\hill.png"
File "..\..\..\local\themes\FreeCIV-like\mountain.png"
File "..\..\..\local\themes\FreeCIV-like\pasture.png"
File "..\..\..\local\themes\FreeCIV-like\sea.png"
File "..\..\..\local\themes\FreeCIV-like\theme.cfg"
SetOutPath "$INSTDIR\themes\Iceland"
File "..\..\..\local\themes\Iceland\board.png"
File "..\..\..\local\themes\Iceland\desert.png"
File "..\..\..\local\themes\Iceland\field_grain.png"
File "..\..\..\local\themes\Iceland\forest_lumber.png"
File "..\..\..\local\themes\Iceland\gold.png"
File "..\..\..\local\themes\Iceland\hill_brick.png"
File "..\..\..\local\themes\Iceland\mountain_ore.png"
File "..\..\..\local\themes\Iceland\pasture_wool.png"
File "..\..\..\local\themes\Iceland\sea.png"
File "..\..\..\local\themes\Iceland\theme.cfg"
SetOutPath "$INSTDIR\themes\Tiny"
File "..\..\..\local\themes\Tiny\board.png"
File "..\..\..\local\themes\Tiny\brick-lorindol.png"
File "..\..\..\local\themes\Tiny\brick-port.png"
File "..\..\..\local\themes\Tiny\desert-lorindol.png"
File "..\..\..\local\themes\Tiny\gold-lorindol.png"
File "..\..\..\local\themes\Tiny\grain-lorindol.png"
File "..\..\..\local\themes\Tiny\grain-port.png"
File "..\..\..\local\themes\Tiny\lumber-lorindol.png"
File "..\..\..\local\themes\Tiny\lumber-port.png"
File "..\..\..\local\themes\Tiny\ore-lorindol.png"
File "..\..\..\local\themes\Tiny\ore-port.png"
File "..\..\..\local\themes\Tiny\sea-lorindol.png"
File "..\..\..\local\themes\Tiny\theme.cfg"
File "..\..\..\local\themes\Tiny\wool-lorindol.png"
File "..\..\..\local\themes\Tiny\wool-port.png"
SetOutPath "$INSTDIR\themes\Wesnoth-like"
File "..\..\..\local\themes\Wesnoth-like\board.png"
File "..\..\..\local\themes\Wesnoth-like\desert.png"
File "..\..\..\local\themes\Wesnoth-like\field.png"
File "..\..\..\local\themes\Wesnoth-like\forest.png"
File "..\..\..\local\themes\Wesnoth-like\gold.png"
File "..\..\..\local\themes\Wesnoth-like\hill.png"
File "..\..\..\local\themes\Wesnoth-like\mountain.png"
File "..\..\..\local\themes\Wesnoth-like\pasture.png"
File "..\..\..\local\themes\Wesnoth-like\sea.png"
File "..\..\..\local\themes\Wesnoth-like\theme.cfg"
; Shortcuts
SetOutPath "$INSTDIR"
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Pioneers.lnk" "$INSTDIR\pioneers.exe"
CreateShortCut "$DESKTOP\Pioneers.lnk" "$INSTDIR\pioneers.exe"
!insertmacro MUI_STARTMENU_WRITE_END
SectionEnd
Section /o "Additional programs" SEC02
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
File "..\..\..\local\pioneersai.exe"
File "..\..\..\local\pioneers-editor.exe"
SetOverwrite TRY
SetOutPath "$INSTDIR\games\pioneers"
; Names for the AI
File "..\..\..\local\games\pioneers\computer_names"
; Games for the editor (and server)
File "..\..\..\local\games\pioneers\5-6-player.game"
File "..\..\..\local\games\pioneers\Another_swimming_pool_in_the_wall.game"
File "..\..\..\local\games\pioneers\archipel_gold.game"
File "..\..\..\local\games\pioneers\canyon.game"
File "..\..\..\local\games\pioneers\coeur.game"
File "..\..\..\local\games\pioneers\conquest+ports.game"
File "..\..\..\local\games\pioneers\conquest.game"
File "..\..\..\local\games\pioneers\crane_island.game"
File "..\..\..\local\games\pioneers\Cube.game"
File "..\..\..\local\games\pioneers\default.game"
File "..\..\..\local\games\pioneers\Evil_square.game"
File "..\..\..\local\games\pioneers\four-islands.game"
File "..\..\..\local\games\pioneers\GuerreDe100ans.game"
File "..\..\..\local\games\pioneers\henjes.game"
File "..\..\..\local\games\pioneers\iles.game"
File "..\..\..\local\games\pioneers\lorindol.game"
File "..\..\..\local\games\pioneers\Mini_another_swimming_pool_in_the_wall.game"
File "..\..\..\local\games\pioneers\north_america.game"
File "..\..\..\local\games\pioneers\pond.game"
File "..\..\..\local\games\pioneers\seafarers-gold.game"
File "..\..\..\local\games\pioneers\seafarers.game"
File "..\..\..\local\games\pioneers\small.game"
File "..\..\..\local\games\pioneers\south_africa.game"
File "..\..\..\local\games\pioneers\square.game"
File "..\..\..\local\games\pioneers\star.game"
File "..\..\..\local\games\pioneers\ubuntuland.game"
File "..\..\..\local\games\pioneers\x.game"
; Shortcuts
SetOutPath "$INSTDIR"
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Pioneers Editor.lnk" "$INSTDIR\pioneers-editor.exe"
CreateShortCut "$DESKTOP\Pioneers Editor.lnk" "$INSTDIR\pioneers-editor.exe"
!insertmacro MUI_STARTMENU_WRITE_END
SectionEnd
Section -AdditionalIcons
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" "$INSTDIR\uninst.exe"
!insertmacro MUI_STARTMENU_WRITE_END
SectionEnd
Section -Post
WriteUninstaller "$INSTDIR\uninst.exe"
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\pioneers.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\pioneers.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
SectionEnd
; Section descriptions
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SEC01} "Play games of Pioneers"
!insertmacro MUI_DESCRIPTION_TEXT ${SEC02} "Install a game editor and a computer player"
!insertmacro MUI_FUNCTION_DESCRIPTION_END
Function un.onUninstSuccess
HideWindow
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."
FunctionEnd
Function un.onInit
!insertmacro MUI_UNGETLANGUAGE
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2
Abort
FunctionEnd
Section Uninstall
!insertmacro MUI_STARTMENU_GETFOLDER "Application" $ICONS_GROUP
Delete "$INSTDIR\${PRODUCT_NAME}.url"
Delete "$INSTDIR\uninst.exe"
Delete "$INSTDIR\pioneers-editor.exe"
Delete "$INSTDIR\pioneersai.exe"
Delete "$INSTDIR\pioneers.exe"
Delete "$INSTDIR\freetype6.dll"
Delete "$INSTDIR\intl.dll"
Delete "$INSTDIR\libatk-1.0-0.dll"
Delete "$INSTDIR\libcairo-2.dll"
Delete "$INSTDIR\libexpat-1.dll"
Delete "$INSTDIR\libfontconfig-1.dll"
Delete "$INSTDIR\libgdk_pixbuf-2.0-0.dll"
Delete "$INSTDIR\libgdk-win32-2.0-0.dll"
Delete "$INSTDIR\libgio-2.0-0.dll"
Delete "$INSTDIR\libglib-2.0-0.dll"
Delete "$INSTDIR\libgmodule-2.0-0.dll"
Delete "$INSTDIR\libgobject-2.0-0.dll"
Delete "$INSTDIR\libgtk-win32-2.0-0.dll"
Delete "$INSTDIR\libpango-1.0-0.dll"
Delete "$INSTDIR\libpangocairo-1.0-0.dll"
Delete "$INSTDIR\libpangoft2-1.0-0.dll"
Delete "$INSTDIR\libpangowin32-1.0-0.dll"
Delete "$INSTDIR\libpixbufloader-png.dll"
Delete "$INSTDIR\libpng12-0.dll"
Delete "$INSTDIR\etc\gtk-2.0\gdk-pixbuf.loaders"
Delete "$INSTDIR\themes\Wesnoth-like\theme.cfg"
Delete "$INSTDIR\themes\Wesnoth-like\sea.png"
Delete "$INSTDIR\themes\Wesnoth-like\pasture.png"
Delete "$INSTDIR\themes\Wesnoth-like\mountain.png"
Delete "$INSTDIR\themes\Wesnoth-like\hill.png"
Delete "$INSTDIR\themes\Wesnoth-like\gold.png"
Delete "$INSTDIR\themes\Wesnoth-like\forest.png"
Delete "$INSTDIR\themes\Wesnoth-like\field.png"
Delete "$INSTDIR\themes\Wesnoth-like\desert.png"
Delete "$INSTDIR\themes\Wesnoth-like\board.png"
Delete "$INSTDIR\themes\Tiny\wool-port.png"
Delete "$INSTDIR\themes\Tiny\wool-lorindol.png"
Delete "$INSTDIR\themes\Tiny\theme.cfg"
Delete "$INSTDIR\themes\Tiny\sea-lorindol.png"
Delete "$INSTDIR\themes\Tiny\ore-port.png"
Delete "$INSTDIR\themes\Tiny\ore-lorindol.png"
Delete "$INSTDIR\themes\Tiny\lumber-port.png"
Delete "$INSTDIR\themes\Tiny\lumber-lorindol.png"
Delete "$INSTDIR\themes\Tiny\grain-port.png"
Delete "$INSTDIR\themes\Tiny\grain-lorindol.png"
Delete "$INSTDIR\themes\Tiny\gold-lorindol.png"
Delete "$INSTDIR\themes\Tiny\desert-lorindol.png"
Delete "$INSTDIR\themes\Tiny\brick-port.png"
Delete "$INSTDIR\themes\Tiny\brick-lorindol.png"
Delete "$INSTDIR\themes\Tiny\board.png"
Delete "$INSTDIR\themes\Iceland\theme.cfg"
Delete "$INSTDIR\themes\Iceland\sea.png"
Delete "$INSTDIR\themes\Iceland\pasture_wool.png"
Delete "$INSTDIR\themes\Iceland\mountain_ore.png"
Delete "$INSTDIR\themes\Iceland\hill_brick.png"
Delete "$INSTDIR\themes\Iceland\gold.png"
Delete "$INSTDIR\themes\Iceland\forest_lumber.png"
Delete "$INSTDIR\themes\Iceland\field_grain.png"
Delete "$INSTDIR\themes\Iceland\desert.png"
Delete "$INSTDIR\themes\Iceland\board.png"
Delete "$INSTDIR\themes\FreeCIV-like\theme.cfg"
Delete "$INSTDIR\themes\FreeCIV-like\sea.png"
Delete "$INSTDIR\themes\FreeCIV-like\pasture.png"
Delete "$INSTDIR\themes\FreeCIV-like\mountain.png"
Delete "$INSTDIR\themes\FreeCIV-like\hill.png"
Delete "$INSTDIR\themes\FreeCIV-like\gold.png"
Delete "$INSTDIR\themes\FreeCIV-like\forest.png"
Delete "$INSTDIR\themes\FreeCIV-like\field.png"
Delete "$INSTDIR\themes\FreeCIV-like\desert.png"
Delete "$INSTDIR\themes\FreeCIV-like\board.png"
Delete "$INSTDIR\themes\Classic\theme.cfg"
Delete "$INSTDIR\themes\Classic\sea.png"
Delete "$INSTDIR\themes\Classic\pasture.png"
Delete "$INSTDIR\themes\Classic\mountain.png"
Delete "$INSTDIR\themes\Classic\hill.png"
Delete "$INSTDIR\themes\Classic\gold.png"
Delete "$INSTDIR\themes\Classic\forest.png"
Delete "$INSTDIR\themes\Classic\field.png"
Delete "$INSTDIR\themes\Classic\desert.png"
Delete "$INSTDIR\themes\Classic\board.png"
Delete "$INSTDIR\themes\ccFlickr\wool.png"
Delete "$INSTDIR\themes\ccFlickr\theme.cfg"
Delete "$INSTDIR\themes\ccFlickr\sea.png"
Delete "$INSTDIR\themes\ccFlickr\port-wool.png"
Delete "$INSTDIR\themes\ccFlickr\port-ore.png"
Delete "$INSTDIR\themes\ccFlickr\port-lumber.png"
Delete "$INSTDIR\themes\ccFlickr\port-grain.png"
Delete "$INSTDIR\themes\ccFlickr\port-gold.png"
Delete "$INSTDIR\themes\ccFlickr\port-brick.png"
Delete "$INSTDIR\themes\ccFlickr\ore.png"
Delete "$INSTDIR\themes\ccFlickr\lumber.png"
Delete "$INSTDIR\themes\ccFlickr\grain.png"
Delete "$INSTDIR\themes\ccFlickr\gold.png"
Delete "$INSTDIR\themes\ccFlickr\desert.png"
Delete "$INSTDIR\themes\ccFlickr\brick.png"
Delete "$INSTDIR\themes\ccFlickr\board.png"
Delete "$INSTDIR\themes\ccFlickr\ATTRIB"
Delete "$INSTDIR\pixmaps\pioneers\style-human-7.png"
Delete "$INSTDIR\pixmaps\pioneers\style-human-6.png"
Delete "$INSTDIR\pixmaps\pioneers\style-human-5.png"
Delete "$INSTDIR\pixmaps\pioneers\style-human-4.png"
Delete "$INSTDIR\pixmaps\pioneers\style-human-3.png"
Delete "$INSTDIR\pixmaps\pioneers\style-human-2.png"
Delete "$INSTDIR\pixmaps\pioneers\style-human-1.png"
Delete "$INSTDIR\pixmaps\pioneers\style-human.png"
Delete "$INSTDIR\pixmaps\pioneers\style-ai.png"
Delete "$INSTDIR\pixmaps\pioneers\brick.png"
Delete "$INSTDIR\pixmaps\pioneers\grain.png"
Delete "$INSTDIR\pixmaps\pioneers\ore.png"
Delete "$INSTDIR\pixmaps\pioneers\wool.png"
Delete "$INSTDIR\pixmaps\pioneers\lumber.png"
Delete "$INSTDIR\pixmaps\pioneers\trade.png"
Delete "$INSTDIR\pixmaps\pioneers\splash.png"
Delete "$INSTDIR\pixmaps\pioneers\ship_move.png"
Delete "$INSTDIR\pixmaps\pioneers\ship.png"
Delete "$INSTDIR\pixmaps\pioneers\settlement.png"
Delete "$INSTDIR\pixmaps\pioneers\road.png"
Delete "$INSTDIR\pixmaps\pioneers\finish.png"
Delete "$INSTDIR\pixmaps\pioneers\dice.png"
Delete "$INSTDIR\pixmaps\pioneers\develop.png"
Delete "$INSTDIR\pixmaps\pioneers\city_wall.png"
Delete "$INSTDIR\pixmaps\pioneers\city.png"
Delete "$INSTDIR\pixmaps\pioneers\bridge.png"
; Delete "$INSTDIR\man\man6\pioneersai.6"
; Delete "$INSTDIR\man\man6\pioneers.6"
; Delete "$INSTDIR\man\man6\pioneers-server-gtk.6"
; Delete "$INSTDIR\man\man6\pioneers-server-console.6"
; Delete "$INSTDIR\man\man6\pioneers-meta-server.6"
Delete "$INSTDIR\locale\sv\LC_MESSAGES\pioneers.mo"
Delete "$INSTDIR\locale\pt\LC_MESSAGES\pioneers.mo"
Delete "$INSTDIR\locale\nl\LC_MESSAGES\pioneers.mo"
Delete "$INSTDIR\locale\ja\LC_MESSAGES\pioneers.mo"
Delete "$INSTDIR\locale\it\LC_MESSAGES\pioneers.mo"
Delete "$INSTDIR\locale\hu\LC_MESSAGES\pioneers.mo"
Delete "$INSTDIR\locale\gl\LC_MESSAGES\pioneers.mo"
Delete "$INSTDIR\locale\fr\LC_MESSAGES\pioneers.mo"
Delete "$INSTDIR\locale\es\LC_MESSAGES\pioneers.mo"
Delete "$INSTDIR\locale\en_GB\LC_MESSAGES\pioneers.mo"
Delete "$INSTDIR\locale\de\LC_MESSAGES\pioneers.mo"
Delete "$INSTDIR\locale\da\LC_MESSAGES\pioneers.mo"
Delete "$INSTDIR\locale\cs\LC_MESSAGES\pioneers.mo"
Delete "$INSTDIR\locale\af\LC_MESSAGES\pioneers.mo"
Delete "$INSTDIR\games\pioneers\x.game"
Delete "$INSTDIR\games\pioneers\ubuntuland.game"
Delete "$INSTDIR\games\pioneers\star.game"
Delete "$INSTDIR\games\pioneers\square.game"
Delete "$INSTDIR\games\pioneers\south_africa.game"
Delete "$INSTDIR\games\pioneers\small.game"
Delete "$INSTDIR\games\pioneers\seafarers.game"
Delete "$INSTDIR\games\pioneers\seafarers-gold.game"
Delete "$INSTDIR\games\pioneers\pond.game"
Delete "$INSTDIR\games\pioneers\north_america.game"
Delete "$INSTDIR\games\pioneers\Mini_another_swimming_pool_in_the_wall.game"
Delete "$INSTDIR\games\pioneers\lorindol.game"
Delete "$INSTDIR\games\pioneers\iles.game"
Delete "$INSTDIR\games\pioneers\henjes.game"
Delete "$INSTDIR\games\pioneers\GuerreDe100ans.game"
Delete "$INSTDIR\games\pioneers\four-islands.game"
Delete "$INSTDIR\games\pioneers\Evil_square.game"
Delete "$INSTDIR\games\pioneers\default.game"
Delete "$INSTDIR\games\pioneers\Cube.game"
Delete "$INSTDIR\games\pioneers\crane_island.game"
Delete "$INSTDIR\games\pioneers\conquest.game"
Delete "$INSTDIR\games\pioneers\conquest+ports.game"
Delete "$INSTDIR\games\pioneers\computer_names"
Delete "$INSTDIR\games\pioneers\coeur.game"
Delete "$INSTDIR\games\pioneers\canyon.game"
Delete "$INSTDIR\games\pioneers\archipel_gold.game"
Delete "$INSTDIR\games\pioneers\Another_swimming_pool_in_the_wall.game"
Delete "$INSTDIR\games\pioneers\5-6-player.game"
Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk"
Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk"
Delete "$DESKTOP\Pioneers.lnk"
Delete "$DESKTOP\Pioneers Editor.lnk"
Delete "$SMPROGRAMS\$ICONS_GROUP\Pioneers.lnk"
Delete "$SMPROGRAMS\$ICONS_GROUP\Pioneers Editor.lnk"
RMDir "$SMPROGRAMS\$ICONS_GROUP"
RMDir "$INSTDIR\themes\Wesnoth-like"
RMDir "$INSTDIR\themes\Tiny"
RMDir "$INSTDIR\themes\Iceland"
RMDir "$INSTDIR\themes\FreeCIV-like"
RMDir "$INSTDIR\themes\Classic"
RMDir "$INSTDIR\themes\ccFlickr"
RMDir "$INSTDIR\themes"
RMDir "$INSTDIR\pixmaps\pioneers"
RMDir "$INSTDIR\pixmaps"
RMDir "$INSTDIR\locale\sv\LC_MESSAGES"
RMDir "$INSTDIR\locale\sv"
RMDir "$INSTDIR\locale\pt\LC_MESSAGES"
RMDir "$INSTDIR\locale\pt"
RMDir "$INSTDIR\locale\nl\LC_MESSAGES"
RMDir "$INSTDIR\locale\nl"
RMDir "$INSTDIR\locale\ja\LC_MESSAGES"
RMDir "$INSTDIR\locale\ja"
RMDir "$INSTDIR\locale\it\LC_MESSAGES"
RMDir "$INSTDIR\locale\it"
RMDir "$INSTDIR\locale\hu\LC_MESSAGES"
RMDir "$INSTDIR\locale\hu"
RMDir "$INSTDIR\locale\gl\LC_MESSAGES"
RMDir "$INSTDIR\locale\gl"
RMDir "$INSTDIR\locale\fr\LC_MESSAGES"
RMDir "$INSTDIR\locale\fr"
RMDir "$INSTDIR\locale\es\LC_MESSAGES"
RMDir "$INSTDIR\locale\es"
RMDir "$INSTDIR\locale\en_GB\LC_MESSAGES"
RMDir "$INSTDIR\locale\en_GB"
RMDir "$INSTDIR\locale\de\LC_MESSAGES"
RMDir "$INSTDIR\locale\de"
RMDir "$INSTDIR\locale\da\LC_MESSAGES"
RMDir "$INSTDIR\locale\da"
RMDir "$INSTDIR\locale\cs\LC_MESSAGES"
RMDir "$INSTDIR\locale\cs"
RMDir "$INSTDIR\locale\af\LC_MESSAGES"
RMDir "$INSTDIR\locale\af"
RMDir "$INSTDIR\locale"
RMDir "$INSTDIR\games\pioneers"
RMDir "$INSTDIR\games"
RMDir "$INSTDIR\games"
RMDir "$INSTDIR\etc\gtk-2.0"
RMDir "$INSTDIR\etc"
RMDir "$INSTDIR"
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
SetAutoClose true
SectionEnd