1!define APPNAME "@WINDOWS_APP_NAME@" 2!define COMPANYNAME "@WINDOWS_COMPANY_NAME@" 3!define DESCRIPTION "MPD Client" 4!define VERSIONMAJOR @CPACK_PACKAGE_VERSION_MAJOR@ 5!define VERSIONMINOR @CPACK_PACKAGE_VERSION_MINOR@ 6!define VERSIONBUILD @CPACK_PACKAGE_VERSION_PATCH@@CPACK_PACKAGE_VERSION_SPIN@ 7#!define HELPURL "http://..." # "Support Information" link 8#!define UPDATEURL "http://..." # "Product Updates" link 9!define ABOUTURL "https://github.com/CDrummond/cantata" # "Publisher" link 10 11RequestExecutionLevel admin 12 13SetCompressor /SOLID lzma 14!include "MUI2.nsh" 15 16InstallDir "$PROGRAMFILES\@WINDOWS_APP_NAME@" 17# This will be in the installer/uninstaller's title bar 18Name "@WINDOWS_APP_NAME@" 19Icon "cantata.ico" 20outFile "@WINDOWS_APP_NAME@-@CANTATA_VERSION_WITH_SPIN@-Setup.exe" 21 22!define MUI_ABORTWARNING 23!define MUI_ICON "cantata.ico" 24 25!insertmacro MUI_PAGE_WELCOME 26!insertmacro MUI_PAGE_LICENSE "LICENSE.txt" 27!insertmacro MUI_PAGE_DIRECTORY 28!insertmacro MUI_PAGE_INSTFILES 29!insertmacro MUI_PAGE_FINISH 30 31!insertmacro MUI_UNPAGE_CONFIRM 32!insertmacro MUI_UNPAGE_INSTFILES 33!insertmacro MUI_UNPAGE_FINISH 34 35!insertmacro MUI_LANGUAGE "English" ;first language is the default language 36!insertmacro MUI_LANGUAGE "French" 37!insertmacro MUI_LANGUAGE "German" 38!insertmacro MUI_LANGUAGE "Spanish" 39!insertmacro MUI_LANGUAGE "SpanishInternational" 40!insertmacro MUI_LANGUAGE "SimpChinese" 41!insertmacro MUI_LANGUAGE "TradChinese" 42!insertmacro MUI_LANGUAGE "Japanese" 43!insertmacro MUI_LANGUAGE "Korean" 44!insertmacro MUI_LANGUAGE "Italian" 45!insertmacro MUI_LANGUAGE "Dutch" 46!insertmacro MUI_LANGUAGE "Danish" 47!insertmacro MUI_LANGUAGE "Swedish" 48!insertmacro MUI_LANGUAGE "Norwegian" 49!insertmacro MUI_LANGUAGE "NorwegianNynorsk" 50!insertmacro MUI_LANGUAGE "Finnish" 51!insertmacro MUI_LANGUAGE "Greek" 52!insertmacro MUI_LANGUAGE "Russian" 53!insertmacro MUI_LANGUAGE "Portuguese" 54!insertmacro MUI_LANGUAGE "PortugueseBR" 55!insertmacro MUI_LANGUAGE "Polish" 56!insertmacro MUI_LANGUAGE "Ukrainian" 57!insertmacro MUI_LANGUAGE "Czech" 58!insertmacro MUI_LANGUAGE "Slovak" 59!insertmacro MUI_LANGUAGE "Croatian" 60!insertmacro MUI_LANGUAGE "Bulgarian" 61!insertmacro MUI_LANGUAGE "Hungarian" 62!insertmacro MUI_LANGUAGE "Thai" 63!insertmacro MUI_LANGUAGE "Romanian" 64!insertmacro MUI_LANGUAGE "Latvian" 65!insertmacro MUI_LANGUAGE "Macedonian" 66!insertmacro MUI_LANGUAGE "Estonian" 67!insertmacro MUI_LANGUAGE "Turkish" 68!insertmacro MUI_LANGUAGE "Lithuanian" 69!insertmacro MUI_LANGUAGE "Slovenian" 70!insertmacro MUI_LANGUAGE "Serbian" 71!insertmacro MUI_LANGUAGE "SerbianLatin" 72!insertmacro MUI_LANGUAGE "Arabic" 73!insertmacro MUI_LANGUAGE "Farsi" 74!insertmacro MUI_LANGUAGE "Hebrew" 75!insertmacro MUI_LANGUAGE "Indonesian" 76!insertmacro MUI_LANGUAGE "Mongolian" 77!insertmacro MUI_LANGUAGE "Luxembourgish" 78!insertmacro MUI_LANGUAGE "Albanian" 79!insertmacro MUI_LANGUAGE "Breton" 80!insertmacro MUI_LANGUAGE "Belarusian" 81!insertmacro MUI_LANGUAGE "Icelandic" 82!insertmacro MUI_LANGUAGE "Malay" 83!insertmacro MUI_LANGUAGE "Bosnian" 84!insertmacro MUI_LANGUAGE "Kurdish" 85!insertmacro MUI_LANGUAGE "Irish" 86!insertmacro MUI_LANGUAGE "Uzbek" 87!insertmacro MUI_LANGUAGE "Galician" 88!insertmacro MUI_LANGUAGE "Afrikaans" 89!insertmacro MUI_LANGUAGE "Catalan" 90!insertmacro MUI_LANGUAGE "Esperanto" 91 92section "install" 93 # Files for the install directory - to build the installer, these should be in the same directory as the install script (this file) 94 setOutPath $INSTDIR 95 # Files added here should be removed by the uninstaller (see section "uninstall") 96 file "cantata.exe" 97 file "cantata-tags.exe" 98 file "Cantata License (GPL V3).txt" 99 file "Cantata README.txt" 100 file "Qt5Core.dll" 101 file "Qt5Gui.dll" 102 file "Qt5Network.dll" 103 file "Qt5Svg.dll" 104 file "Qt5Widgets.dll" 105 file "Qt5WinExtras.dll" 106 file "Qt5Sql.dll" 107 file "Qt5Multimedia.dll" 108 109 #file "icudt52.dll" 110 #file "icuin52.dll" 111 #file "icuuc52.dll" 112 file "libgcc_s_dw2-1.dll" 113 file "libstdc++-6.dll" 114 file "libtag.dll" 115 file "libwinpthread-1.dll" 116 file "libz-1.dll" 117 @CANTATA_SSL_WIN_NSIS_INSTALL@ 118 setOutPath $INSTDIR\iconengines 119 file "iconengines\qsvgicon.dll" 120 setOutPath $INSTDIR\sqldrivers 121 file "sqldrivers\qsqlite.dll" 122 setOutPath $INSTDIR\platforms 123 file "platforms\qwindows.dll" 124 setOutPath $INSTDIR\mediaservice 125 file "mediaservice\dsengine.dll" 126 file "mediaservice\qtmedia_audioengine.dll" 127 setOutPath $INSTDIR\icons 128 file "icons\cantata.png" 129 file "icons\podcasts.png" 130 file "icons\soundcloud.png" 131 file "icons\stream.png" 132 133 setOutPath $INSTDIR\imageformats 134 file "imageformats\qjpeg.dll" 135 file "imageformats\qsvg.dll" 136 setOutPath $INSTDIR\translations 137 file "translations\cantata_cs.qm" 138 file "translations\cantata_da.qm" 139 file "translations\cantata_de.qm" 140 file "translations\cantata_en_GB.qm" 141 file "translations\cantata_es.qm" 142 file "translations\cantata_fi.qm" 143 file "translations\cantata_fr.qm" 144 file "translations\cantata_hu.qm" 145 file "translations\cantata_it.qm" 146 file "translations\cantata_ja.qm" 147 file "translations\cantata_ko.qm" 148 file "translations\cantata_nl.qm" 149 file "translations\cantata_pl.qm" 150 file "translations\cantata_pt_BR.qm" 151 file "translations\cantata_ru.qm" 152 file "translations\cantata_zh_CN.qm" 153 154 file "translations\qt_ar.qm" 155 file "translations\qt_cs.qm" 156 file "translations\qt_da.qm" 157 file "translations\qt_de.qm" 158 file "translations\qt_es.qm" 159 file "translations\qt_fa.qm" 160 file "translations\qt_fi.qm" 161 file "translations\qt_fr.qm" 162 file "translations\qt_gl.qm" 163 file "translations\qt_he.qm" 164 file "translations\qt_hu.qm" 165 file "translations\qt_it.qm" 166 file "translations\qt_ja.qm" 167 file "translations\qt_ko.qm" 168 file "translations\qt_lt.qm" 169 file "translations\qt_pl.qm" 170 file "translations\qt_pt.qm" 171 file "translations\qt_ru.qm" 172 file "translations\qt_sk.qm" 173 file "translations\qt_sl.qm" 174 file "translations\qt_sv.qm" 175 file "translations\qt_uk.qm" 176 file "translations\qt_zh_CN.qm" 177 file "translations\qt_zh_TW.qm" 178 179 writeUninstaller "$INSTDIR\uninstall.exe" 180 181 # Start Menu 182 createShortCut "$SMPROGRAMS\@WINDOWS_APP_NAME@.lnk" "$INSTDIR\cantata.exe" "" "$INSTDIR\cantata.exe" 183 184 # Registry information for add/remove programs 185 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "DisplayName" "@WINDOWS_APP_NAME@" 186 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "UninstallString" "$\"$INSTDIR\uninstall.exe$\"" 187 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" /S" 188 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "InstallLocation" "$\"$INSTDIR$\"" 189 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "DisplayIcon" "$\"$INSTDIR\cantata.exe$\"" 190 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "Publisher" "@WINDOWS_COMPANY_NAME@" 191# WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "HelpLink" "$\"${HELPURL}$\"" 192# WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "URLUpdateInfo" "$\"${UPDATEURL}$\"" 193 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "URLInfoAbout" "$\"@WINDOWS_URL@$\"" 194 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "DisplayVersion" "@CANTATA_VERSION_WITH_SPIN@" 195 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "VersionMajor" @CPACK_PACKAGE_VERSION_MAJOR@ 196 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "VersionMinor" @CPACK_PACKAGE_VERSION_MINOR@ 197 # There is no option for modifying or repairing the install 198 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "NoModify" 1 199 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "NoRepair" 1 200 # Set the INSTALLSIZE constant (!defined at the top of this script) so Add/Remove Programs can accurately report the size 201 # WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" "EstimatedSize" ${INSTALLSIZE} 202sectionEnd 203 204# Uninstaller 205 206section "uninstall" 207 # Remove Start Menu launcher 208 delete "$SMPROGRAMS\@WINDOWS_APP_NAME@.lnk" 209 210 delete "$INSTDIR\cantata.exe" 211 delete "$INSTDIR\cantata-tags.exe" 212 delete "$INSTDIR\Cantata README.txt" 213 delete "$INSTDIR\Cantata License (GPL V3).txt" 214 delete "$INSTDIR\config\lyrics_providers.xml" 215 delete "$INSTDIR\config\podcast_directories.xml" 216 delete "$INSTDIR\config\scrobblers.xml" 217 delete "$INSTDIR\config\tag_fixes.xml" 218 delete "$INSTDIR\config\weblinks.xml" 219 delete "$INSTDIR\helpers\cantata-tags.exe" 220 delete "$INSTDIR\iconengines\qsvgicon4.dll" 221 delete "$INSTDIR\iconengines\qsvgicon.dll" 222 delete "$INSTDIR\sqldrivers\qsqlite4.dll" 223 delete "$INSTDIR\sqldrivers\qsqlite.dll" 224 delete "$INSTDIR\mediaservice\dsengine.dll" 225 delete "$INSTDIR\mediaservice\qtmedia_audioengine.dll" 226 227 delete "$INSTDIR\fonts\fontawesome-4.3.0.ttf" 228 delete "$INSTDIR\fonts\fontawesome-webfont.ttf" 229 delete "$INSTDIR\fonts\Cantata-FontAwesome.ttf" 230 delete "$INSTDIR\icons\bbc.svg" 231 delete "$INSTDIR\icons\cbc.svg" 232 delete "$INSTDIR\icons\npr.svg" 233 delete "$INSTDIR\icons\cantata.png" 234 delete "$INSTDIR\icons\podcasts.png" 235 delete "$INSTDIR\icons\soundcloud.png" 236 delete "$INSTDIR\icons\stream.png" 237 238 delete "$INSTDIR\icons\cantata\index.theme" 239 delete "$INSTDIR\icons\cantata\LICENSE" 240 delete "$INSTDIR\icons\cantata\AUTHORS" 241 delete "$INSTDIR\icons\cantata\128\media-optical.png" 242 delete "$INSTDIR\icons\cantata\128\cantata.png" 243 delete "$INSTDIR\icons\cantata\64\media-optical.png" 244 delete "$INSTDIR\icons\cantata\64\cantata.png" 245 delete "$INSTDIR\icons\cantata\48\media-optical.png" 246 delete "$INSTDIR\icons\cantata\48\cantata.png" 247 delete "$INSTDIR\icons\cantata\32\media-optical.png" 248 delete "$INSTDIR\icons\cantata\32\cantata.png" 249 delete "$INSTDIR\icons\cantata\22\media-optical.png" 250 delete "$INSTDIR\icons\cantata\22\cantata.png" 251 delete "$INSTDIR\icons\cantata\16\media-optical.png" 252 delete "$INSTDIR\icons\cantata\16\cantata.png" 253 delete "$INSTDIR\icons\cantata\svg\audio-x-generic.svg" 254 delete "$INSTDIR\icons\cantata\svg\dynamic-playlist.svg" 255 delete "$INSTDIR\icons\cantata\svg\folder-downloads.svg" 256 delete "$INSTDIR\icons\cantata\svg\folder-temp.svg" 257 delete "$INSTDIR\icons\cantata\svg\fork.svg" 258 delete "$INSTDIR\icons\cantata\svg\information.svg" 259 delete "$INSTDIR\icons\cantata\svg\inode-directory.svg" 260 delete "$INSTDIR\icons\cantata\svg\key.svg" 261 delete "$INSTDIR\icons\cantata\svg\network-server-database.svg" 262 delete "$INSTDIR\icons\cantata\svg\playlist.svg" 263 delete "$INSTDIR\icons\cantata\svg\preferences-desktop-keyboard.svg" 264 delete "$INSTDIR\icons\cantata\svg\preferences-other.svg" 265 delete "$INSTDIR\icons\cantata\svg\speaker.svg" 266 delete "$INSTDIR\icons\cantata\svg\cantata.svg" 267 268 # Proxy icon 269 delete "$INSTDIR\icons\cantata\svg\preferences-system-network.svg" 270 # Device icons 271 delete "$INSTDIR\icons\cantata\svg\drive-removable-media-usb-pendrive.svg" 272 delete "$INSTDIR\icons\cantata\svg\multimedia-player.svg" 273 # Remote device icons 274 delete "$INSTDIR\icons\cantata\svg\folder-network.svg" 275 delete "$INSTDIR\icons\cantata\svg\folder-samba.svg" 276 277 delete "$INSTDIR\icons\cantata\svg64\dialog-error.svg" 278 delete "$INSTDIR\icons\cantata\svg64\dialog-information.svg" 279 delete "$INSTDIR\icons\cantata\svg64\dialog-question.svg" 280 delete "$INSTDIR\icons\cantata\svg64\dialog-warning.svg" 281 282 # Remove Cantata 1.x oxygen icons... 283 delete "$INSTDIR\icons\oxygen\index.theme" 284 delete "$INSTDIR\icons\oxygen\Oxygen License (Creative Common Attribution-ShareAlike 3.0).html" 285 delete "$INSTDIR\icons\oxygen\Oxygen README.txt" 286 delete "$INSTDIR\icons\oxygen\128x128\categories\applications-internet.png" 287 delete "$INSTDIR\icons\oxygen\128x128\devices\media-optical.png" 288 delete "$INSTDIR\icons\oxygen\16x16\actions\application-exit.png" 289 delete "$INSTDIR\icons\oxygen\16x16\actions\bookmark-new.png" 290 delete "$INSTDIR\icons\oxygen\16x16\actions\configure.png" 291 delete "$INSTDIR\icons\oxygen\16x16\actions\dialog-cancel.png" 292 delete "$INSTDIR\icons\oxygen\16x16\actions\dialog-close.png" 293 delete "$INSTDIR\icons\oxygen\16x16\actions\dialog-ok.png" 294 delete "$INSTDIR\icons\oxygen\16x16\actions\document-edit.png" 295 delete "$INSTDIR\icons\oxygen\16x16\actions\document-export.png" 296 delete "$INSTDIR\icons\oxygen\16x16\actions\document-import.png" 297 delete "$INSTDIR\icons\oxygen\16x16\actions\document-new.png" 298 delete "$INSTDIR\icons\oxygen\16x16\actions\document-open.png" 299 delete "$INSTDIR\icons\oxygen\16x16\actions\document-save-as.png" 300 delete "$INSTDIR\icons\oxygen\16x16\actions\document-save.png" 301 delete "$INSTDIR\icons\oxygen\16x16\actions\edit-clear-list.png" 302 delete "$INSTDIR\icons\oxygen\16x16\actions\edit-clear-locationbar-ltr.png" 303 delete "$INSTDIR\icons\oxygen\16x16\actions\edit-clear-locationbar-rtl.png" 304 delete "$INSTDIR\icons\oxygen\16x16\actions\edit-delete.png" 305 delete "$INSTDIR\icons\oxygen\16x16\actions\edit-find.png" 306 delete "$INSTDIR\icons\oxygen\16x16\actions\edit-rename.png" 307 delete "$INSTDIR\icons\oxygen\16x16\actions\folder-sync.png" 308 delete "$INSTDIR\icons\oxygen\16x16\actions\go-down.png" 309 delete "$INSTDIR\icons\oxygen\16x16\actions\go-next.png" 310 delete "$INSTDIR\icons\oxygen\16x16\actions\go-previous.png" 311 delete "$INSTDIR\icons\oxygen\16x16\actions\go-up.png" 312 delete "$INSTDIR\icons\oxygen\16x16\actions\list-add.png" 313 delete "$INSTDIR\icons\oxygen\16x16\actions\list-remove.png" 314 delete "$INSTDIR\icons\oxygen\16x16\actions\media-playback-pause.png" 315 delete "$INSTDIR\icons\oxygen\16x16\actions\media-playback-start.png" 316 delete "$INSTDIR\icons\oxygen\16x16\actions\media-playback-stop.png" 317 delete "$INSTDIR\icons\oxygen\16x16\actions\media-skip-backward.png" 318 delete "$INSTDIR\icons\oxygen\16x16\actions\media-skip-forward.png" 319 delete "$INSTDIR\icons\oxygen\16x16\actions\process-stop.png" 320 delete "$INSTDIR\icons\oxygen\16x16\actions\speaker.png" 321 delete "$INSTDIR\icons\oxygen\16x16\actions\tools-wizard.png" 322 delete "$INSTDIR\icons\oxygen\16x16\actions\fork.png" 323 delete "$INSTDIR\icons\oxygen\16x16\actions\view-fullscreen.png" 324 delete "$INSTDIR\icons\oxygen\16x16\actions\view-media-artist.png" 325 delete "$INSTDIR\icons\oxygen\16x16\actions\view-media-playlist.png" 326 delete "$INSTDIR\icons\oxygen\16x16\actions\view-refresh.png" 327 delete "$INSTDIR\icons\oxygen\16x16\apps\cantata.png" 328 delete "$INSTDIR\icons\oxygen\16x16\apps\clock.png" 329 delete "$INSTDIR\icons\oxygen\16x16\apps\preferences-desktop-keyboard.png" 330 delete "$INSTDIR\icons\oxygen\16x16\apps\system-file-manager.png" 331 delete "$INSTDIR\icons\oxygen\16x16\categories\applications-internet.png" 332 delete "$INSTDIR\icons\oxygen\16x16\categories\preferences-other.png" 333 delete "$INSTDIR\icons\oxygen\16x16\categories\preferences-system-network.png" 334 delete "$INSTDIR\icons\oxygen\16x16\devices\media-optical.png" 335 delete "$INSTDIR\icons\oxygen\16x16\devices\multimedia-player.png" 336 delete "$INSTDIR\icons\oxygen\16x16\mimetypes\audio-x-generic.png" 337 delete "$INSTDIR\icons\oxygen\16x16\mimetypes\inode-directory.png" 338 delete "$INSTDIR\icons\oxygen\16x16\places\bookmarks.png" 339 delete "$INSTDIR\icons\oxygen\16x16\places\document-multiple.png" 340 delete "$INSTDIR\icons\oxygen\16x16\places\favorites.png" 341 delete "$INSTDIR\icons\oxygen\16x16\places\network-server.png" 342 delete "$INSTDIR\icons\oxygen\16x16\places\server-database.png" 343 delete "$INSTDIR\icons\oxygen\16x16\places\folder-temp.png" 344 delete "$INSTDIR\icons\oxygen\16x16\places\folder-downloads.png" 345 delete "$INSTDIR\icons\oxygen\16x16\status\dialog-error.png" 346 delete "$INSTDIR\icons\oxygen\16x16\status\dialog-information.png" 347 delete "$INSTDIR\icons\oxygen\16x16\status\dialog-warning.png" 348 delete "$INSTDIR\icons\oxygen\16x16\status\media-playlist-shuffle.png" 349 delete "$INSTDIR\icons\oxygen\16x16\status\object-locked.png" 350 delete "$INSTDIR\icons\oxygen\22x22\actions\application-exit.png" 351 delete "$INSTDIR\icons\oxygen\22x22\actions\bookmark-new.png" 352 delete "$INSTDIR\icons\oxygen\22x22\actions\bookmarks.png" 353 delete "$INSTDIR\icons\oxygen\22x22\actions\configure.png" 354 delete "$INSTDIR\icons\oxygen\22x22\actions\dialog-cancel.png" 355 delete "$INSTDIR\icons\oxygen\22x22\actions\dialog-close.png" 356 delete "$INSTDIR\icons\oxygen\22x22\actions\dialog-ok.png" 357 delete "$INSTDIR\icons\oxygen\22x22\actions\document-edit.png" 358 delete "$INSTDIR\icons\oxygen\22x22\actions\document-export.png" 359 delete "$INSTDIR\icons\oxygen\22x22\actions\document-import.png" 360 delete "$INSTDIR\icons\oxygen\22x22\actions\document-new.png" 361 delete "$INSTDIR\icons\oxygen\22x22\actions\document-open.png" 362 delete "$INSTDIR\icons\oxygen\22x22\actions\document-save-as.png" 363 delete "$INSTDIR\icons\oxygen\22x22\actions\document-save.png" 364 delete "$INSTDIR\icons\oxygen\22x22\actions\edit-clear-list.png" 365 delete "$INSTDIR\icons\oxygen\22x22\actions\edit-clear-locationbar-ltr.png" 366 delete "$INSTDIR\icons\oxygen\22x22\actions\edit-clear-locationbar-rtl.png" 367 delete "$INSTDIR\icons\oxygen\22x22\actions\edit-delete.png" 368 delete "$INSTDIR\icons\oxygen\22x22\actions\edit-find.png" 369 delete "$INSTDIR\icons\oxygen\22x22\actions\edit-rename.png" 370 delete "$INSTDIR\icons\oxygen\22x22\actions\folder-sync.png" 371 delete "$INSTDIR\icons\oxygen\22x22\actions\go-down.png" 372 delete "$INSTDIR\icons\oxygen\22x22\actions\go-next.png" 373 delete "$INSTDIR\icons\oxygen\22x22\actions\go-previous.png" 374 delete "$INSTDIR\icons\oxygen\22x22\actions\go-up.png" 375 delete "$INSTDIR\icons\oxygen\22x22\actions\list-add.png" 376 delete "$INSTDIR\icons\oxygen\22x22\actions\list-remove.png" 377 delete "$INSTDIR\icons\oxygen\22x22\actions\media-playback-pause.png" 378 delete "$INSTDIR\icons\oxygen\22x22\actions\media-playback-start.png" 379 delete "$INSTDIR\icons\oxygen\22x22\actions\media-playback-stop.png" 380 delete "$INSTDIR\icons\oxygen\22x22\actions\media-skip-backward.png" 381 delete "$INSTDIR\icons\oxygen\22x22\actions\media-skip-forward.png" 382 delete "$INSTDIR\icons\oxygen\22x22\actions\process-stop.png" 383 delete "$INSTDIR\icons\oxygen\22x22\actions\speaker.png" 384 delete "$INSTDIR\icons\oxygen\22x22\actions\tools-wizard.png" 385 delete "$INSTDIR\icons\oxygen\22x22\actions\fork.png" 386 delete "$INSTDIR\icons\oxygen\22x22\actions\view-fullscreen.png" 387 delete "$INSTDIR\icons\oxygen\22x22\actions\view-media-artist.png" 388 delete "$INSTDIR\icons\oxygen\22x22\actions\view-media-playlist.png" 389 delete "$INSTDIR\icons\oxygen\22x22\actions\view-refresh.png" 390 delete "$INSTDIR\icons\oxygen\22x22\apps\cantata.png" 391 delete "$INSTDIR\icons\oxygen\22x22\apps\clock.png" 392 delete "$INSTDIR\icons\oxygen\22x22\apps\preferences-desktop-keyboard.png" 393 delete "$INSTDIR\icons\oxygen\22x22\apps\system-file-manager.png" 394 delete "$INSTDIR\icons\oxygen\22x22\categories\applications-internet.png" 395 delete "$INSTDIR\icons\oxygen\22x22\categories\preferences-other.png" 396 delete "$INSTDIR\icons\oxygen\22x22\categories\preferences-system-network.png" 397 delete "$INSTDIR\icons\oxygen\22x22\devices\media-optical.png" 398 delete "$INSTDIR\icons\oxygen\22x22\devices\multimedia-player.png" 399 delete "$INSTDIR\icons\oxygen\22x22\mimetypes\audio-x-generic.png" 400 delete "$INSTDIR\icons\oxygen\22x22\mimetypes\inode-directory.png" 401 delete "$INSTDIR\icons\oxygen\22x22\places\bookmarks.png" 402 delete "$INSTDIR\icons\oxygen\22x22\places\document-multiple.png" 403 delete "$INSTDIR\icons\oxygen\22x22\places\favorites.png" 404 delete "$INSTDIR\icons\oxygen\22x22\places\network-server.png" 405 delete "$INSTDIR\icons\oxygen\22x22\places\server-database.png" 406 delete "$INSTDIR\icons\oxygen\22x22\places\folder-temp.png" 407 delete "$INSTDIR\icons\oxygen\22x22\places\folder-downloads.png" 408 delete "$INSTDIR\icons\oxygen\22x22\status\dialog-error.png" 409 delete "$INSTDIR\icons\oxygen\22x22\status\dialog-information.png" 410 delete "$INSTDIR\icons\oxygen\22x22\status\dialog-warning.png" 411 delete "$INSTDIR\icons\oxygen\22x22\status\media-playlist-shuffle.png" 412 delete "$INSTDIR\icons\oxygen\22x22\status\object-locked.png" 413 delete "$INSTDIR\icons\oxygen\24x24\apps\cantata.png" 414 delete "$INSTDIR\icons\oxygen\256x256\categories\applications-internet.png" 415 delete "$INSTDIR\icons\oxygen\256x256\devices\media-optical.png" 416 delete "$INSTDIR\icons\oxygen\32x32\actions\application-exit.png" 417 delete "$INSTDIR\icons\oxygen\32x32\actions\bookmark-new.png" 418 delete "$INSTDIR\icons\oxygen\32x32\actions\configure.png" 419 delete "$INSTDIR\icons\oxygen\32x32\actions\dialog-cancel.png" 420 delete "$INSTDIR\icons\oxygen\32x32\actions\dialog-close.png" 421 delete "$INSTDIR\icons\oxygen\32x32\actions\dialog-ok.png" 422 delete "$INSTDIR\icons\oxygen\32x32\actions\document-edit.png" 423 delete "$INSTDIR\icons\oxygen\32x32\actions\document-export.png" 424 delete "$INSTDIR\icons\oxygen\32x32\actions\document-import.png" 425 delete "$INSTDIR\icons\oxygen\32x32\actions\document-new.png" 426 delete "$INSTDIR\icons\oxygen\32x32\actions\document-open.png" 427 delete "$INSTDIR\icons\oxygen\32x32\actions\document-save-as.png" 428 delete "$INSTDIR\icons\oxygen\32x32\actions\document-save.png" 429 delete "$INSTDIR\icons\oxygen\32x32\actions\edit-clear-list.png" 430 delete "$INSTDIR\icons\oxygen\32x32\actions\edit-clear-locationbar-ltr.png" 431 delete "$INSTDIR\icons\oxygen\32x32\actions\edit-clear-locationbar-rtl.png" 432 delete "$INSTDIR\icons\oxygen\32x32\actions\edit-delete.png" 433 delete "$INSTDIR\icons\oxygen\32x32\actions\edit-find.png" 434 delete "$INSTDIR\icons\oxygen\32x32\actions\edit-rename.png" 435 delete "$INSTDIR\icons\oxygen\32x32\actions\folder-sync.png" 436 delete "$INSTDIR\icons\oxygen\32x32\actions\go-down.png" 437 delete "$INSTDIR\icons\oxygen\32x32\actions\go-next.png" 438 delete "$INSTDIR\icons\oxygen\32x32\actions\go-previous.png" 439 delete "$INSTDIR\icons\oxygen\32x32\actions\go-up.png" 440 delete "$INSTDIR\icons\oxygen\32x32\actions\list-add.png" 441 delete "$INSTDIR\icons\oxygen\32x32\actions\list-remove.png" 442 delete "$INSTDIR\icons\oxygen\32x32\actions\media-playback-pause.png" 443 delete "$INSTDIR\icons\oxygen\32x32\actions\media-playback-start.png" 444 delete "$INSTDIR\icons\oxygen\32x32\actions\media-playback-stop.png" 445 delete "$INSTDIR\icons\oxygen\32x32\actions\media-skip-backward.png" 446 delete "$INSTDIR\icons\oxygen\32x32\actions\media-skip-forward.png" 447 delete "$INSTDIR\icons\oxygen\32x32\actions\process-stop.png" 448 delete "$INSTDIR\icons\oxygen\32x32\actions\speaker.png" 449 delete "$INSTDIR\icons\oxygen\32x32\actions\tools-wizard.png" 450 delete "$INSTDIR\icons\oxygen\32x32\actions\fork.png" 451 delete "$INSTDIR\icons\oxygen\32x32\actions\view-fullscreen.png" 452 delete "$INSTDIR\icons\oxygen\32x32\actions\view-media-artist.png" 453 delete "$INSTDIR\icons\oxygen\32x32\actions\view-media-playlist.png" 454 delete "$INSTDIR\icons\oxygen\32x32\actions\view-refresh.png" 455 delete "$INSTDIR\icons\oxygen\32x32\apps\cantata.png" 456 delete "$INSTDIR\icons\oxygen\32x32\apps\clock.png" 457 delete "$INSTDIR\icons\oxygen\32x32\apps\preferences-desktop-keyboard.png" 458 delete "$INSTDIR\icons\oxygen\32x32\apps\system-file-manager.png" 459 delete "$INSTDIR\icons\oxygen\32x32\categories\applications-internet.png" 460 delete "$INSTDIR\icons\oxygen\32x32\categories\preferences-other.png" 461 delete "$INSTDIR\icons\oxygen\32x32\categories\preferences-system-network.png" 462 delete "$INSTDIR\icons\oxygen\32x32\devices\media-optical.png" 463 delete "$INSTDIR\icons\oxygen\32x32\devices\multimedia-player.png" 464 delete "$INSTDIR\icons\oxygen\32x32\mimetypes\audio-x-generic.png" 465 delete "$INSTDIR\icons\oxygen\32x32\mimetypes\inode-directory.png" 466 delete "$INSTDIR\icons\oxygen\32x32\places\bookmarks.png" 467 delete "$INSTDIR\icons\oxygen\32x32\places\document-multiple.png" 468 delete "$INSTDIR\icons\oxygen\32x32\places\favorites.png" 469 delete "$INSTDIR\icons\oxygen\32x32\places\network-server.png" 470 delete "$INSTDIR\icons\oxygen\32x32\places\server-database.png" 471 delete "$INSTDIR\icons\oxygen\32x32\places\folder-temp.png" 472 delete "$INSTDIR\icons\oxygen\32x32\places\folder-downloads.png" 473 delete "$INSTDIR\icons\oxygen\32x32\status\dialog-error.png" 474 delete "$INSTDIR\icons\oxygen\32x32\status\dialog-information.png" 475 delete "$INSTDIR\icons\oxygen\32x32\status\dialog-warning.png" 476 delete "$INSTDIR\icons\oxygen\32x32\status\media-playlist-shuffle.png" 477 delete "$INSTDIR\icons\oxygen\32x32\status\object-locked.png" 478 delete "$INSTDIR\icons\oxygen\48x48\actions\bookmark-new.png" 479 delete "$INSTDIR\icons\oxygen\48x48\actions\edit-find.png" 480 delete "$INSTDIR\icons\oxygen\48x48\actions\go-down.png" 481 delete "$INSTDIR\icons\oxygen\48x48\actions\fork.png" 482 delete "$INSTDIR\icons\oxygen\48x48\actions\view-fullscreen.png" 483 delete "$INSTDIR\icons\oxygen\48x48\actions\view-media-playlist.png" 484 delete "$INSTDIR\icons\oxygen\48x48\apps\cantata.png" 485 delete "$INSTDIR\icons\oxygen\48x48\apps\clock.png" 486 delete "$INSTDIR\icons\oxygen\48x48\apps\preferences-desktop-keyboard.png" 487 delete "$INSTDIR\icons\oxygen\48x48\categories\applications-internet.png" 488 delete "$INSTDIR\icons\oxygen\48x48\categories\preferences-other.png" 489 delete "$INSTDIR\icons\oxygen\48x48\categories\preferences-system-network.png" 490 delete "$INSTDIR\icons\oxygen\48x48\devices\media-optical.png" 491 delete "$INSTDIR\icons\oxygen\48x48\devices\multimedia-player.png" 492 delete "$INSTDIR\icons\oxygen\48x48\places\bookmarks.png" 493 delete "$INSTDIR\icons\oxygen\48x48\places\document-multiple.png" 494 delete "$INSTDIR\icons\oxygen\48x48\places\folder-temp.png" 495 delete "$INSTDIR\icons\oxygen\48x48\places\folder-downloads.png" 496 delete "$INSTDIR\icons\oxygen\48x48\status\dialog-error.png" 497 delete "$INSTDIR\icons\oxygen\48x48\status\dialog-information.png" 498 delete "$INSTDIR\icons\oxygen\48x48\status\dialog-warning.png" 499 delete "$INSTDIR\icons\oxygen\48x48\status\media-playlist-shuffle.png" 500 delete "$INSTDIR\icons\oxygen\48x48\status\object-locked.png" 501 delete "$INSTDIR\icons\oxygen\64x64\actions\bookmark-new.png" 502 delete "$INSTDIR\icons\oxygen\64x64\actions\edit-find.png" 503 delete "$INSTDIR\icons\oxygen\64x64\actions\go-down.png" 504 delete "$INSTDIR\icons\oxygen\64x64\actions\view-media-playlist.png" 505 delete "$INSTDIR\icons\oxygen\64x64\apps\cantata.png" 506 delete "$INSTDIR\icons\oxygen\64x64\apps\clock.png" 507 delete "$INSTDIR\icons\oxygen\64x64\apps\preferences-desktop-keyboard.png" 508 delete "$INSTDIR\icons\oxygen\64x64\categories\applications-internet.png" 509 delete "$INSTDIR\icons\oxygen\64x64\categories\preferences-other.png" 510 delete "$INSTDIR\icons\oxygen\64x64\categories\preferences-system-network.png" 511 delete "$INSTDIR\icons\oxygen\64x64\devices\media-optical.png" 512 delete "$INSTDIR\icons\oxygen\64x64\devices\multimedia-player.png" 513 delete "$INSTDIR\icons\oxygen\64x64\places\bookmarks.png" 514 delete "$INSTDIR\icons\oxygen\64x64\places\document-multiple.png" 515 delete "$INSTDIR\icons\oxygen\64x64\places\folder-temp.png" 516 delete "$INSTDIR\icons\oxygen\64x64\places\folder-downloads.png" 517 delete "$INSTDIR\icons\oxygen\64x64\status\dialog-error.png" 518 delete "$INSTDIR\icons\oxygen\64x64\status\dialog-information.png" 519 delete "$INSTDIR\icons\oxygen\64x64\status\dialog-warning.png" 520 delete "$INSTDIR\icons\oxygen\scalable\apps\cantata.svg" 521 522 delete "$INSTDIR\imageformats\qjpeg4.dll" 523 delete "$INSTDIR\imageformats\qsvg4.dll" 524 delete "$INSTDIR\imageformats\qjpeg.dll" 525 delete "$INSTDIR\imageformats\qsvg.dll" 526 delete "$INSTDIR\platforms\qwindows.dll" 527 delete "$INSTDIR\Qt4 README.txt" 528 delete "$INSTDIR\Qt License (LGPL V2).txt" 529 delete "$INSTDIR\QtNetwork4.dll" 530 delete "$INSTDIR\TagLib README.txt" 531 532 delete "$INSTDIR\QtNetwork4.dll" 533 delete "$INSTDIR\QtSvg4.dll" 534 delete "$INSTDIR\QtXml4.dll" 535 delete "$INSTDIR\QtCore4.dll" 536 delete "$INSTDIR\QtGui4.dll" 537 delete "$INSTDIR\QtSql4.dll" 538 delete "$INSTDIR\libgcc_s_dw2-1.dll" 539 delete "$INSTDIR\libtag.dll" 540 delete "$INSTDIR\mingwm10.dll" 541 542 delete "$INSTDIR\Qt5Core.dll" 543 delete "$INSTDIR\Qt5Gui.dll" 544 delete "$INSTDIR\Qt5Network.dll" 545 delete "$INSTDIR\Qt5Svg.dll" 546 delete "$INSTDIR\Qt5Widgets.dll" 547 delete "$INSTDIR\Qt5WinExtras.dll" 548 delete "$INSTDIR\Qt5Sql.dll" 549 delete "$INSTDIR\Qt5Multimedia.dll" 550 551 delete "$INSTDIR\icudt52.dll" 552 delete "$INSTDIR\icuin52.dll" 553 delete "$INSTDIR\icuuc52.dll" 554 delete "$INSTDIR\libgcc_s_dw2-1.dll" 555 delete "$INSTDIR\libstdc++-6.dll" 556 delete "$INSTDIR\libwinpthread-1.dll" 557 delete "$INSTDIR\zlib1.dll" 558 delete "$INSTDIR\libz-1.dll" 559 delete "$INSTDIR\libeay32.dll" 560 delete "$INSTDIR\ssleay32.dll" 561 562 delete "$INSTDIR\translations\cantata_cs.qm" 563 delete "$INSTDIR\translations\cantata_da.qm" 564 delete "$INSTDIR\translations\cantata_de.qm" 565 delete "$INSTDIR\translations\cantata_en_GB.qm" 566 delete "$INSTDIR\translations\cantata_es.qm" 567 delete "$INSTDIR\translations\cantata_fi.qm" 568 delete "$INSTDIR\translations\cantata_fr.qm" 569 delete "$INSTDIR\translations\cantata_hu.qm" 570 delete "$INSTDIR\translations\cantata_it.qm" 571 delete "$INSTDIR\translations\cantata_ja.qm" 572 delete "$INSTDIR\translations\cantata_ko.qm" 573 delete "$INSTDIR\translations\cantata_nl.qm" 574 delete "$INSTDIR\translations\cantata_pl.qm" 575 delete "$INSTDIR\translations\cantata_pt_BR.qm" 576 delete "$INSTDIR\translations\cantata_ru.qm" 577 delete "$INSTDIR\translations\cantata_zh_CN.qm" 578 delete "$INSTDIR\translations\qt_ar.qm" 579 delete "$INSTDIR\translations\qt_cs.qm" 580 delete "$INSTDIR\translations\qt_da.qm" 581 delete "$INSTDIR\translations\qt_de.qm" 582 delete "$INSTDIR\translations\qt_es.qm" 583 delete "$INSTDIR\translations\qt_fa.qm" 584 delete "$INSTDIR\translations\qt_fi.qm" 585 delete "$INSTDIR\translations\qt_fr.qm" 586 delete "$INSTDIR\translations\qt_gl.qm" 587 delete "$INSTDIR\translations\qt_he.qm" 588 delete "$INSTDIR\translations\qt_hu.qm" 589 delete "$INSTDIR\translations\qt_it.qm" 590 delete "$INSTDIR\translations\qt_ja.qm" 591 delete "$INSTDIR\translations\qt_ko.qm" 592 delete "$INSTDIR\translations\qt_lt.qm" 593 delete "$INSTDIR\translations\qt_pl.qm" 594 delete "$INSTDIR\translations\qt_pt.qm" 595 delete "$INSTDIR\translations\qt_ru.qm" 596 delete "$INSTDIR\translations\qt_sk.qm" 597 delete "$INSTDIR\translations\qt_sl.qm" 598 delete "$INSTDIR\translations\qt_sv.qm" 599 delete "$INSTDIR\translations\qt_uk.qm" 600 delete "$INSTDIR\translations\qt_zh_CN.qm" 601 delete "$INSTDIR\translations\qt_zh_TW.qm" 602 603 rmDir $INSTDIR\config 604 rmDir $INSTDIR\helpers 605 rmDir $INSTDIR\iconengines 606 rmDir $INSTDIR\sqldrivers 607 rmDir $INSTDIR\mediaservice 608 rmDir $INSTDIR\fonts 609 610 rmDir $INSTDIR\icons\cantata\128 611 rmDir $INSTDIR\icons\cantata\64 612 rmDir $INSTDIR\icons\cantata\48 613 rmDir $INSTDIR\icons\cantata\32 614 rmDir $INSTDIR\icons\cantata\22 615 rmDir $INSTDIR\icons\cantata\16 616 rmDir $INSTDIR\icons\cantata\svg 617 rmDir $INSTDIR\icons\cantata\svg64 618 rmDir $INSTDIR\icons\cantata 619 620 # Remove Cantata 1.x oxygen icon folders... 621 rmDir $INSTDIR\icons\oxygen\128x128\categories 622 rmDir $INSTDIR\icons\oxygen\128x128\devices 623 rmDir $INSTDIR\icons\oxygen\128x128 624 rmDir $INSTDIR\icons\oxygen\16x16\actions 625 rmDir $INSTDIR\icons\oxygen\16x16\apps 626 rmDir $INSTDIR\icons\oxygen\16x16\categories 627 rmDir $INSTDIR\icons\oxygen\16x16\devices 628 rmDir $INSTDIR\icons\oxygen\16x16\mimetypes 629 rmDir $INSTDIR\icons\oxygen\16x16\places 630 rmDir $INSTDIR\icons\oxygen\16x16\status 631 rmDir $INSTDIR\icons\oxygen\16x16 632 rmDir $INSTDIR\icons\oxygen\22x22\actions 633 rmDir $INSTDIR\icons\oxygen\22x22\apps 634 rmDir $INSTDIR\icons\oxygen\22x22\categories 635 rmDir $INSTDIR\icons\oxygen\22x22\devices 636 rmDir $INSTDIR\icons\oxygen\22x22\mimetypes 637 rmDir $INSTDIR\icons\oxygen\22x22\places 638 rmDir $INSTDIR\icons\oxygen\22x22\status 639 rmDir $INSTDIR\icons\oxygen\22x22\apps 640 rmDir $INSTDIR\icons\oxygen\22x22 641 rmDir $INSTDIR\icons\oxygen\256x256\categories 642 rmDir $INSTDIR\icons\oxygen\256x256\devices 643 rmDir $INSTDIR\icons\oxygen\256x256 644 rmDir $INSTDIR\icons\oxygen\32x32\actions 645 rmDir $INSTDIR\icons\oxygen\32x32\apps 646 rmDir $INSTDIR\icons\oxygen\32x32\categories 647 rmDir $INSTDIR\icons\oxygen\32x32\devices 648 rmDir $INSTDIR\icons\oxygen\32x32\mimetypes 649 rmDir $INSTDIR\icons\oxygen\32x32\places 650 rmDir $INSTDIR\icons\oxygen\32x32\status 651 rmDir $INSTDIR\icons\oxygen\32x32 652 rmDir $INSTDIR\icons\oxygen\48x48\actions 653 rmDir $INSTDIR\icons\oxygen\48x48\apps 654 rmDir $INSTDIR\icons\oxygen\48x48\categories 655 rmDir $INSTDIR\icons\oxygen\48x48\devices 656 rmDir $INSTDIR\icons\oxygen\48x48\places 657 rmDir $INSTDIR\icons\oxygen\48x48\status 658 rmDir $INSTDIR\icons\oxygen\48x48 659 rmDir $INSTDIR\icons\oxygen\64x64\actions 660 rmDir $INSTDIR\icons\oxygen\64x64\apps 661 rmDir $INSTDIR\icons\oxygen\64x64\categories 662 rmDir $INSTDIR\icons\oxygen\64x64\devices 663 rmDir $INSTDIR\icons\oxygen\64x64\places 664 rmDir $INSTDIR\icons\oxygen\64x64\status 665 rmDir $INSTDIR\icons\oxygen\64x64 666 rmDir $INSTDIR\icons\oxygen\scalable\apps 667 rmDir $INSTDIR\icons\oxygen\scalable 668 rmDir $INSTDIR\icons\oxygen 669 670 rmDir $INSTDIR\icons 671 rmDir $INSTDIR\imageformats 672 rmDir $INSTDIR\platforms 673 rmDir $INSTDIR\translations 674 675 # Always delete uninstaller as the last action 676 delete $INSTDIR\uninstall.exe 677 678 # Try to remove the install directory - this will only happen if it is empty 679 rmDir $INSTDIR 680 681 # Remove uninstaller information from the registry 682 DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@WINDOWS_COMPANY_NAME@ @WINDOWS_APP_NAME@" 683sectionEnd 684