aboutsummaryrefslogtreecommitdiffstats
path: root/Installer/UltraStarDeluxe.nsi
blob: ee257e6680281849f8bc78be29d5e977dca5d276 (plain) (blame)
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
; Script generated by the HM NIS Edit Script Wizard.

; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "UltraStar Deluxe"
!define PRODUCT_VERSION "1.01"
!define PRODUCT_PUBLISHER "UltraStar Deluxe Team"
!define PRODUCT_WEB_SITE "http://www.UltraStarDeluxe.org"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\UltraStar.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

; MUI 1.67 compatible ------
!include "MUI.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"

; Welcome page
!insertmacro MUI_PAGE_WELCOME
; License page
;!insertmacro MUI_PAGE_LICENSE "..\..\..\..\path\to\licence\YourSoftwareLicence.txt"
; Directory page
!insertmacro MUI_PAGE_DIRECTORY
; Start menu page
var ICONS_GROUP
!define MUI_STARTMENUPAGE_NODISABLE
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "UltraStar Deluxe"
!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\UltraStar.exe" 
!insertmacro MUI_PAGE_FINISH

; Uninstaller pages
!insertmacro MUI_UNPAGE_INSTFILES

; Language files
!insertmacro MUI_LANGUAGE "English"

; Reserve files
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS

; MUI end ------

Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "Setup.exe"
InstallDir "$PROGRAMFILES\UltraStar Deluxe"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
ShowUnInstDetails show

Section "MainSection" SEC01
  SetOutPath "$INSTDIR"
  SetOverwrite ifnewer
  File "..\config.ini"
  File "..\UltraStar.exe"
  File "..\sqlite3.dll"
  File "..\smpeg.dll"
  File "..\SDL.dll"
  File "..\bass.dll"
  SetOutPath "$INSTDIR\Languages\"
  File "..\Languages\Catalan.ini"
  File "..\Languages\Dutch.ini"
  File "..\Languages\English.ini"
  File "..\Languages\French.ini"
  File "..\Languages\German.ini"
  File "..\Languages\Italian.ini"
  File "..\Languages\Norwegian.ini"
  File "..\Languages\Spanish.ini"
  File "..\Languages\Swedish.ini"
  File "..\Languages\readme.txt"
  
  SetOutPath "$INSTDIR\Songs"
  SetOutPath "$INSTDIR\Screenshots"
  SetOutPath "$INSTDIR\Covers"
  SetOutPath "$INSTDIR\Plugins"
  SetOutPath "$INSTDIR\Playlists"
  
  SetOutPath "$INSTDIR\Skins\Classic"
  File "..\Skins\Classic\Star.ini"
  File "..\Skins\Classic\[button]13.jpg"
  File "..\Skins\Classic\[button]alt.jpg"
  File "..\Skins\Classic\[button]az.jpg"
  File "..\Skins\Classic\[button]e.jpg"
  File "..\Skins\Classic\[button]enter.jpg"
  File "..\Skins\Classic\[button]esc.jpg"
  File "..\Skins\Classic\[button]j.jpg"
  File "..\Skins\Classic\[button]m.jpg"
  File "..\Skins\Classic\[button]navi.jpg"
  File "..\Skins\Classic\[button]p.jpg"
  File "..\Skins\Classic\[effect]goldenNoteStar.jpg"
  File "..\Skins\Classic\[effect]perfectNoteStar.jpg"
  File "..\Skins\Classic\[helper]rectangle.jpg"
  File "..\Skins\Classic\[icon]error.jpg"
  File "..\Skins\Classic\[icon]question.jpg"
  File "..\Skins\Classic\[icon]Star.jpg"
  File "..\Skins\Classic\[icon]stats.jpg"
  File "..\Skins\Classic\[icon]video.jpg"
  File "..\Skins\Classic\[mainbutton]Exit.jpg"
  File "..\Skins\Classic\[mainbutton]Multi.jpg"
  File "..\Skins\Classic\[mainbutton]Options.jpg"
  File "..\Skins\Classic\[mainbutton]Solo.jpg"
  File "..\Skins\Classic\[mainbutton]Stats.jpg"
  File "..\Skins\Classic\[main]Bar.jpg"
  File "..\Skins\Classic\[main]Bar1.jpg"
  File "..\Skins\Classic\[main]Button.jpg"
  File "..\Skins\Classic\[main]Button2.jpg"
  File "..\Skins\Classic\[main]Button3.jpg"
  File "..\Skins\Classic\[main]ButtonEditor.jpg"
  File "..\Skins\Classic\[main]Logo.jpg"
  File "..\Skins\Classic\[main]songCover.jpg"
  File "..\Skins\Classic\[main]square.jpg"
  File "..\Skins\Classic\[menu]jumpToBg.jpg"
  File "..\Skins\Classic\[menu]PopUpBg.JPG"
  File "..\Skins\Classic\[menu]PopUpFg.JPG"
  File "..\Skins\Classic\[menu]songMenuBg.jpg"
  File "..\Skins\Classic\[menu]songMenuBorder.jpg"
  File "..\Skins\Classic\[menu]songMenuButtonBG.jpg"
  File "..\Skins\Classic\[menu]songMenuSelectBG.jpg"
  File "..\Skins\Classic\[party]Joker.jpg"
  File "..\Skins\Classic\[party]playerButton.jpg"
  File "..\Skins\Classic\[party]playerTeamButton.jpg"
  File "..\Skins\Classic\[party]pointer.bmp"
  File "..\Skins\Classic\[party]roundBG1.jpg"
  File "..\Skins\Classic\[party]roundBG2.jpg"
  File "..\Skins\Classic\[party]roundBG3.jpg"
  File "..\Skins\Classic\[party]roundBG4.jpg"
  File "..\Skins\Classic\[party]roundTeamButton.jpg"
  File "..\Skins\Classic\[party]scoreBG1.jpg"
  File "..\Skins\Classic\[party]scoreBG2.jpg"
  File "..\Skins\Classic\[party]scoreDecoration.jpg"
  File "..\Skins\Classic\[party]teamPoints.jpg"
  File "..\Skins\Classic\[party]winDecoration.jpg"
  File "..\Skins\Classic\[party]winTeamButton1.jpg"
  File "..\Skins\Classic\[party]winTeamButton2.jpg"
  File "..\Skins\Classic\[party]winTeamButton3.jpg"
  File "..\Skins\Classic\[score]box.jpg"
  File "..\Skins\Classic\[score]level.jpg"
  File "..\Skins\Classic\[score]levelround.jpg"
  File "..\Skins\Classic\[score]line.jpg"
  File "..\Skins\Classic\[sing]lineBonusPopUp.jpg"
  File "..\Skins\Classic\[sing]LyricsBall.bmp"
  File "..\Skins\Classic\[sing]lyricsHelpBar.bmp"
  File "..\Skins\Classic\[sing]notesBgLeft.bmp"
  File "..\Skins\Classic\[sing]notesBgMid.bmp"
  File "..\Skins\Classic\[sing]notesBgRight.bmp"
  File "..\Skins\Classic\[sing]notesLeft.bmp"
  File "..\Skins\Classic\[sing]notesMid.bmp"
  File "..\Skins\Classic\[sing]notesRight.bmp"
  File "..\Skins\Classic\[sing]p.jpg"
  File "..\Skins\Classic\[sing]scoreBg.jpg"
  File "..\Skins\Classic\[sing]singBarBack.jpg"
  File "..\Skins\Classic\[sing]singBarBar.jpg"
  File "..\Skins\Classic\[sing]singBarFront.jpg"
  File "..\Skins\Classic\[sing]textBar.jpg"
  File "..\Skins\Classic\[song]BGFade.jpg"
  File "..\Skins\Classic\[song]EqualizerBG.jpg"
  File "..\Skins\Classic\[song]selection.jpg"
  File "..\Skins\Classic\[stat]detailBG1.jpg"
  File "..\Skins\Classic\[stat]mainBG1.jpg"
  File "..\Skins\Classic\[stat]mainBG2.jpg"
  File "..\Skins\Classic\[stat]mainBG3.jpg"
  SetOutPath "$INSTDIR\Skins\Deluxe"
  File "..\Skins\Deluxe\Blue.ini"
  File "..\Skins\Deluxe\Summer.ini"

  File "..\Skins\Deluxe\Winter.ini"
  File "..\Skins\Deluxe\[bg-load]blue.jpg"
  File "..\Skins\Deluxe\[bg-load]summer.jpg"
  File "..\Skins\Deluxe\[bg-load]winter.jpg"
  File "..\Skins\Deluxe\[bg-main]blue.jpg"
  File "..\Skins\Deluxe\[bg-main]summer.jpg"
  File "..\Skins\Deluxe\[bg-main]winter.jpg"
  File "..\Skins\Deluxe\[button]13.jpg"
  File "..\Skins\Deluxe\[button]alt.jpg"
  File "..\Skins\Deluxe\[button]az.jpg"
  File "..\Skins\Deluxe\[button]enter.jpg"
  File "..\Skins\Deluxe\[button]esc.jpg"
  File "..\Skins\Deluxe\[button]j.jpg"
  File "..\Skins\Deluxe\[button]m.jpg"
  File "..\Skins\Deluxe\[button]navi.jpg"
  File "..\Skins\Deluxe\[button]p.jpg"
  File "..\Skins\Deluxe\[effect]goldenNoteStar.jpg"
  File "..\Skins\Deluxe\[effect]perfectNoteStar.jpg"
  File "..\Skins\Deluxe\[helper]buttonFade.jpg"
  File "..\Skins\Deluxe\[helper]rectangle.jpg"
  File "..\Skins\Deluxe\[icon]cd.jpg"
  File "..\Skins\Deluxe\[icon]error.jpg"
  File "..\Skins\Deluxe\[icon]main.jpg"
  File "..\Skins\Deluxe\[icon]options.jpg"
  File "..\Skins\Deluxe\[icon]party.jpg"
  File "..\Skins\Deluxe\[icon]question.jpg"
  File "..\Skins\Deluxe\[icon]score.jpg"
  File "..\Skins\Deluxe\[icon]search.jpg"
  File "..\Skins\Deluxe\[icon]songmenu.jpg"
  File "..\Skins\Deluxe\[icon]stats.jpg"
  File "..\Skins\Deluxe\[icon]video.jpg"
  File "..\Skins\Deluxe\[main]button.jpg"
  File "..\Skins\Deluxe\[main]buttonf.jpg"
  File "..\Skins\Deluxe\[main]mainBar.jpg"
  File "..\Skins\Deluxe\[main]playerNumberBox.jpg"
  File "..\Skins\Deluxe\[main]selectbg.jpg"
  File "..\Skins\Deluxe\[main]songCover.jpg"
  File "..\Skins\Deluxe\[main]songSelection1.jpg"
  File "..\Skins\Deluxe\[main]songSelection2.jpg"
  File "..\Skins\Deluxe\[menu]jumpToBg.jpg"
  File "..\Skins\Deluxe\[menu]PopUpBg.JPG"
  File "..\Skins\Deluxe\[menu]PopUpFg.JPG"
  File "..\Skins\Deluxe\[menu]songMenuBg.jpg"
  File "..\Skins\Deluxe\[menu]songMenuSelectBg.jpg"
  File "..\Skins\Deluxe\[party]Joker.jpg"
  File "..\Skins\Deluxe\[party]playerButton.jpg"
  File "..\Skins\Deluxe\[party]playerTeamButton.jpg"
  File "..\Skins\Deluxe\[party]pointer.bmp"
  File "..\Skins\Deluxe\[party]roundBG1.jpg"
  File "..\Skins\Deluxe\[party]roundBG2.jpg"
  File "..\Skins\Deluxe\[party]roundBG3.jpg"
  File "..\Skins\Deluxe\[party]roundBG4.jpg"
  File "..\Skins\Deluxe\[party]roundTeamButton.jpg"
  File "..\Skins\Deluxe\[party]scoreBG1.jpg"
  File "..\Skins\Deluxe\[party]scoreBG2.jpg"
  File "..\Skins\Deluxe\[party]scoreDecoration.jpg"
  File "..\Skins\Deluxe\[party]teamPoints.jpg"
  File "..\Skins\Deluxe\[party]winDecoration1.jpg"
  File "..\Skins\Deluxe\[party]winTeamButton1.jpg"
  File "..\Skins\Deluxe\[party]winTeamButton2.jpg"
  File "..\Skins\Deluxe\[party]winTeamButton3.jpg"
  File "..\Skins\Deluxe\[score]box.jpg"
  File "..\Skins\Deluxe\[score]endcap.jpg"
  File "..\Skins\Deluxe\[score]level.jpg"
  File "..\Skins\Deluxe\[score]levelRound.jpg"
  File "..\Skins\Deluxe\[score]Line.jpg"
  File "..\Skins\Deluxe\[sing]timeBar1.jpg"
  File "..\Skins\Deluxe\[sing]textBar.jpg"
  File "..\Skins\Deluxe\[sing]timeBar.jpg"
  File "..\Skins\Deluxe\[sing]timeBarBG.jpg"
  File "..\Skins\Deluxe\[special]bar1.jpg"
  File "..\Skins\Deluxe\[special]bar2.jpg"
  File "..\Skins\Deluxe\[stat]detailBG1.jpg"
  File "..\Skins\Deluxe\[stat]mainBG1.jpg"
  File "..\Skins\Deluxe\[stat]mainBG2.jpg"
  File "..\Skins\Deluxe\[stat]mainBG3.jpg"
  SetOutPath "$INSTDIR\Sounds"
  File "..\Sounds\Common back.mp3"
  File "..\Sounds\Common start.mp3"
  File "..\Sounds\credits-outro-tune.mp3"
  File "..\Sounds\dismissed.mp3"
  File "..\Sounds\menu swoosh.mp3"
  File "..\Sounds\option change col.mp3"
  File "..\Sounds\rimshot022b.mp3"
  File "..\Sounds\select music change music 50.mp3"
  File "..\Sounds\select music change music.mp3"
  File "..\Sounds\wome-credits-tune.mp3"
  SetOutPath "$INSTDIR\Themes"
  File "..\Themes\Classic.ini"
  File "..\Themes\Deluxe.ini"

; Shortcuts
  !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
  CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
  CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\UltraStar Deluxe.lnk" "$INSTDIR\UltraStar.exe"
  CreateShortCut "$DESKTOP\UltraStar Deluxe.lnk" "$INSTDIR\UltraStar.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\UltraStar.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\UltraStar.exe"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
SectionEnd


Function un.onUninstSuccess
  HideWindow
  MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."
FunctionEnd

Function un.onInit
  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\Deluxe.ini"
  Delete "$INSTDIR\Classic.ini"
  Delete "$INSTDIR\wome-credits-tune.mp3"
  Delete "$INSTDIR\select music change music.mp3"
  Delete "$INSTDIR\select music change music 50.mp3"
  Delete "$INSTDIR\rimshot022b.mp3"
  Delete "$INSTDIR\option change col.mp3"
  Delete "$INSTDIR\menu swoosh.mp3"
  Delete "$INSTDIR\dismissed.mp3"
  Delete "$INSTDIR\credits-outro-tune.mp3"
  Delete "$INSTDIR\Common start.mp3"
  Delete "$INSTDIR\Common back.mp3"
  Delete "$INSTDIR\Skins\Deluxe\[stat]mainBG3.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[stat]mainBG2.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[stat]mainBG1.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[stat]detailBG1.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[special]bar2.jpg"
  Delete "$INSTDIR\DeluxSkins\e\[special]bar1.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[sing]timeBarBG.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]timeBar.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[sing]textBar.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]singBarFront.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]singBarBar.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]singBarBar.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[sing]singBarBack.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]scoreBg.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]scoreBg.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[sing]p.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]notesRight.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]notesPlainRight.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]notesPlainMid.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]notesPlainLeft.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]notesMid.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]notesLeft.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]notesBgRight.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]notesBgMid.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]notesBgLeft.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]lyricsHelpBar.bmp"
  Delete "$INSTDIR\Skins\Deluxe\[sing]LyricsBall.bmp"
  Delete "$INSTDIR\Skins\Deluxe\[sing]lineBonusPopUp.png"
  Delete "$INSTDIR\Skins\Deluxe\[sing]lineBonusPopUp.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[score]Line.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[score]levelRound.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[score]level.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[score]endcap.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[score]box.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]winTeamButton3.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]winTeamButton2.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]winTeamButton1.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]winDecoration.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]teamPoints.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]scoreDecoration.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]scoreBG2.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]scoreBG1.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]roundTeamButton.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]roundBG4.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]roundBG3.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]roundBG2.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]roundBG1.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]pointer.bmp"
  Delete "$INSTDIR\Skins\Deluxe\[party]playerTeamButton.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]playerButton.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[party]Joker.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[menu]songMenuSelectBg.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[menu]songMenuBg.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[menu]PopUpFg.JPG"
  Delete "$INSTDIR\Skins\Deluxe\[menu]PopUpBg.JPG"
  Delete "$INSTDIR\Skins\Deluxe\[menu]jumpToBg.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[main]songSelection2.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[main]songSelection1.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[main]songCover.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[main]selectbg.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[main]playerNumberBox.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[main]mainBar.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[main]buttonf.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[main]button.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[icon]video.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[icon]stats.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[icon]songmenu.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[icon]search.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[icon]score.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[icon]question.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[icon]party.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[icon]options.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[icon]main.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[icon]error.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[icon]cd.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[helper]rectangle.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[helper]buttonFade.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[effect]perfectNoteStar.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[effect]goldenNoteStar.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[button]p.png"
  Delete "$INSTDIR\Skins\Deluxe\[button]navi.png"
  Delete "$INSTDIR\Skins\Deluxe\[button]m.png"
  Delete "$INSTDIR\Skins\Deluxe\[button]j.png"
  Delete "$INSTDIR\Skins\Deluxe\[button]esc.png"
  Delete "$INSTDIR\Skins\Deluxe\[button]enter.png"
  Delete "$INSTDIR\Skins\Deluxe\[button]az.png"
  Delete "$INSTDIR\Skins\Deluxe\[button]alt.png"
  Delete "$INSTDIR\Skins\Deluxe\[button]13.png"
  Delete "$INSTDIR\Skins\Deluxe\[bg-main]winter.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[bg-main]summer.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[bg-main]blue.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[bg-load]winter.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[bg-load]summer.jpg"
  Delete "$INSTDIR\Skins\Deluxe\[bg-load]blue.jpg"
  Delete "$INSTDIR\Skins\Deluxe\Winter.ini"

  Delete "$INSTDIR\Skins\Deluxe\Summer.ini"
  Delete "$INSTDIR\Skins\Deluxe\Blue.ini"
  Delete "$INSTDIR\Skins\Classic\[stat]mainBG3.jpg"
  Delete "$INSTDIR\Skins\Classic\[stat]mainBG2.jpg"
  Delete "$INSTDIR\Skins\Classic\[stat]mainBG1.jpg"
  Delete "$INSTDIR\Skins\Classic\[stat]detailBG1.jpg"
  Delete "$INSTDIR\Skins\Classic\[song]selection.jpg"
  Delete "$INSTDIR\Skins\Classic\[song]EqualizerBG.jpg"
  Delete "$INSTDIR\Skins\Classic\[song]BGFade.jpg"
  Delete "$INSTDIR\Skins\Classic\[sing]textBar.jpg"
  Delete "$INSTDIR\Skins\Classic\[sing]singBarFront.jpg"
  Delete "$INSTDIR\Skins\Classic\[sing]singBarBar.jpg"
  Delete "$INSTDIR\Skins\Classic\[sing]singBarBack.jpg"
  Delete "$INSTDIR\Skins\Classic\[sing]scoreBg.jpg"
  Delete "$INSTDIR\Skins\Classic\[sing]p.jpg"
  Delete "$INSTDIR\Skins\Classic\[sing]notesRight.bmp"
  Delete "$INSTDIR\Skins\Classic\[sing]notesMid.bmp"
  Delete "$INSTDIR\Skins\Classic\[sing]notesLeft.bmp"
  Delete "$INSTDIR\Skins\Classic\[sing]notesBgRight.bmp"
  Delete "$INSTDIR\Skins\Classic\[sing]notesBgMid.bmp"
  Delete "$INSTDIR\Skins\Classic\[sing]notesBgLeft.bmp"
  Delete "$INSTDIR\Skins\Classic\[sing]lyricsHelpBar.bmp"
  Delete "$INSTDIR\Skins\Classic\[sing]LyricsBall.bmp"
  Delete "$INSTDIR\Skins\Classic\[sing]lineBonusPopUp.jpg"
  Delete "$INSTDIR\Skins\Classic\[score]line.jpg"
  Delete "$INSTDIR\Skins\Classic\[score]levelround.jpg"
  Delete "$INSTDIR\Skins\Classic\[score]level.jpg"
  Delete "$INSTDIR\Skins\Classic\[score]box.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]winTeamButton3.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]winTeamButton2.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]winTeamButton1.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]winDecoration.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]teamPoints.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]scoreDecoration.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]scoreBG2.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]scoreBG1.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]roundTeamButton.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]roundBG4.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]roundBG3.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]roundBG2.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]roundBG1.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]pointer.bmp"
  Delete "$INSTDIR\Skins\Classic\[party]playerTeamButton.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]playerButton.jpg"
  Delete "$INSTDIR\Skins\Classic\[party]Joker.jpg"
  Delete "$INSTDIR\Skins\Classic\[menu]songMenuSelectBG.jpg"
  Delete "$INSTDIR\Skins\Classic\[menu]songMenuButtonBG.jpg"
  Delete "$INSTDIR\Skins\Classic\[menu]songMenuBorder.jpg"
  Delete "$INSTDIR\Skins\Classic\[menu]songMenuBg.jpg"
  Delete "$INSTDIR\Skins\Classic\[menu]PopUpFg.JPG"
  Delete "$INSTDIR\Skins\Classic\[menu]PopUpBg.JPG"
  Delete "$INSTDIR\Skins\Classic\[menu]jumpToBg.jpg"
  Delete "$INSTDIR\Skins\Classic\[main]square.jpg"
  Delete "$INSTDIR\Skins\Classic\[main]songCover.jpg"
  Delete "$INSTDIR\Skins\Classic\[main]Logo.jpg"
  Delete "$INSTDIR\Skins\Classic\[main]ButtonEditor.jpg"
  Delete "$INSTDIR\Skins\Classic\[main]Button3.jpg"
  Delete "$INSTDIR\Skins\Classic\[main]Button2.jpg"
  Delete "$INSTDIR\Skins\Classic\[main]Button.jpg"
  Delete "$INSTDIR\Skins\Classic\[main]Bar1.jpg"
  Delete "$INSTDIR\Skins\Classic\[main]Bar.jpg"
  Delete "$INSTDIR\Skins\Classic\[mainbutton]Stats.jpg"
  Delete "$INSTDIR\Skins\Classic\[mainbutton]Solo.jpg"
  Delete "$INSTDIR\Skins\Classic\[mainbutton]Options.jpg"
  Delete "$INSTDIR\Skins\Classic\[mainbutton]Multi.jpg"
  Delete "$INSTDIR\Skins\Classic\[mainbutton]Exit.jpg"
  Delete "$INSTDIR\Skins\Classic\[icon]video.jpg"
  Delete "$INSTDIR\Skins\Classic\[icon]stats.jpg"
  Delete "$INSTDIR\Skins\Classic\[icon]Star.jpg"
  Delete "$INSTDIR\Skins\Classic\[icon]question.jpg"
  Delete "$INSTDIR\Skins\Classic\[icon]error.jpg"
  Delete "$INSTDIR\Skins\Classic\[helper]rectangle.jpg"
  Delete "$INSTDIR\Skins\Classic\[effect]perfectNoteStar.jpg"
  Delete "$INSTDIR\Skins\Classic\[effect]goldenNoteStar.jpg"
  Delete "$INSTDIR\Skins\Classic\[button]p.jpg"
  Delete "$INSTDIR\Skins\Classic\[button]navi.jpg"
  Delete "$INSTDIR\Skins\Classic\[button]m.jpg"
  Delete "$INSTDIR\Skins\Classic\[button]j.jpg"
  Delete "$INSTDIR\Skins\Classic\[button]esc.jpg"
  Delete "$INSTDIR\Skins\Classic\[button]enter.jpg"
  Delete "$INSTDIR\Skins\Classic\[button]e.jpg"
  Delete "$INSTDIR\Skins\Classic\[button]az.jpg"
  Delete "$INSTDIR\Skins\Classic\[button]alt.jpg"
  Delete "$INSTDIR\Skins\Classic\[button]13.jpg"
  Delete "$INSTDIR\Skins\Classic\Star.ini"
  Delete "$INSTDIR\bass.dll"
  Delete "$INSTDIR\SDL.dll"
  Delete "$INSTDIR\smpeg.dll"
  Delete "$INSTDIR\sqlite3.dll"
  Delete "$INSTDIR\UltraStar.exe"
  Delete "$INSTDIR\config.ini"
  
  Delete "$INSTDIR\Languages\Catalan.ini"
  Delete "$INSTDIR\Languages\Dutch.ini"
  Delete "$INSTDIR\Languages\English.ini"
  Delete "$INSTDIR\Languages\French.ini"
  Delete "$INSTDIR\Languages\German.ini"
  Delete "$INSTDIR\Languages\Italian.ini"
  Delete "$INSTDIR\Languages\Norwegian.ini"
  Delete "$INSTDIR\Languages\Spanish.ini"
  Delete "$INSTDIR\Languages\Swedish.ini"
  Delete "$INSTDIR\Languages\readme.txt"

  

  Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk"
  Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk"
  Delete "$DESKTOP\UltraStar Deluxe.lnk"
  Delete "$SMPROGRAMS\$ICONS_GROUP\UltraStar Deluxe.lnk"

  RMDir "$SMPROGRAMS\$ICONS_GROUP"
  RMDir "$INSTDIR\Deluxe"
  RMDir "$INSTDIR\Classic"
  RMDir "$INSTDIR"

  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
  DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
  SetAutoClose true
SectionEnd