strawberry-audio-player-win.../dist/windows/strawberry.nsi.in

1306 lines
45 KiB
Plaintext
Raw Permalink Normal View History

2023-03-09 16:06:52 +01:00
!if "@MINGW@" == "1"
!define mingw
!define compiler "mingw"
!endif
!if "@MSVC@" == "1"
!define msvc
!define compiler "msvc"
!endif
2022-02-07 20:56:32 +01:00
!if "@ARCH@" == "x86"
2019-07-27 12:34:27 +02:00
!define arch_x86
2023-03-09 16:06:52 +01:00
!else if "@ARCH@" == "i686"
!define arch_x86
!else if "@ARCH@" == "i686-w64-mingw32.shared"
!define arch_x86
!else if "@ARCH@" == "x64"
!define arch_x64
!else if "@ARCH@" == "x86_64"
!define arch_x64
!else if "@ARCH@" == "x86_64-w64-mingw32.shared"
!define arch_x64
2019-07-27 12:34:27 +02:00
!endif
2023-03-09 16:06:52 +01:00
!ifdef arch_x86
2022-02-07 20:56:32 +01:00
!define arch "x86"
2019-07-27 12:34:27 +02:00
!endif
2023-03-09 16:06:52 +01:00
!ifdef arch_x64
2022-02-07 20:56:32 +01:00
!define arch "x64"
2019-07-27 12:34:27 +02:00
!endif
2023-03-09 16:06:52 +01:00
!if "@CMAKE_BUILD_TYPE@" == "Release"
!define release
!else if "@CMAKE_BUILD_TYPE@" == "RelWithDebInfo"
!define release
!else if "@CMAKE_BUILD_TYPE@" == "Debug"
!define debug
2022-02-07 20:56:32 +01:00
!endif
2023-03-09 16:06:52 +01:00
!ifdef release
!define build_type ""
2022-02-07 20:56:32 +01:00
!endif
2023-03-09 16:06:52 +01:00
!ifdef debug
!define build_type "-Debug"
2019-07-27 12:34:27 +02:00
!endif
2023-03-09 16:06:52 +01:00
!ifndef compiler
!error "Missing compiler."
2022-03-20 12:45:40 +01:00
!endif
2023-03-09 16:06:52 +01:00
!ifndef build_type
!error "Missing build type."
2022-08-18 19:50:25 +02:00
!endif
2023-03-09 16:06:52 +01:00
!ifndef arch
!error "Missing arch."
2019-07-27 12:34:27 +02:00
!endif
2023-03-09 16:06:52 +01:00
2019-07-27 12:34:27 +02:00
!ifdef debug
!define PRODUCT_NAME "Strawberry Music Player Debug"
!define PRODUCT_NAME_SHORT "Strawberry"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME_SHORT}Debug"
!ifdef arch_x86
!define PRODUCT_INSTALL_DIR "$PROGRAMFILES\Strawberry Music Player Debug"
!endif
!ifdef arch_x64
!define PRODUCT_INSTALL_DIR "$PROGRAMFILES64\Strawberry Music Player Debug"
!endif
!else
!define PRODUCT_NAME "Strawberry Music Player"
!define PRODUCT_NAME_SHORT "Strawberry"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME_SHORT}"
!ifdef arch_x86
!define PRODUCT_INSTALL_DIR "$PROGRAMFILES\Strawberry Music Player"
!endif
!ifdef arch_x64
!define PRODUCT_INSTALL_DIR "$PROGRAMFILES64\Strawberry Music Player"
!endif
!endif
!define PRODUCT_VERSION_MAJOR @STRAWBERRY_VERSION_MAJOR@
!define PRODUCT_VERSION_MINOR @STRAWBERRY_VERSION_MINOR@
!define PRODUCT_VERSION_PATCH @STRAWBERRY_VERSION_PATCH@
!define PRODUCT_DISPLAY_VERSION "@STRAWBERRY_VERSION_PACKAGE@"
!define PRODUCT_DISPLAY_VERSION_SHORT "@STRAWBERRY_VERSION_PACKAGE@"
!define PRODUCT_PUBLISHER "Jonas Kvinge"
2019-09-24 00:06:37 +02:00
!define PRODUCT_WEB_SITE "https://www.strawberrymusicplayer.org/"
2019-07-27 12:34:27 +02:00
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
; Set Application Capabilities info
!define CAPABILITIES_NAME "Strawberry Music Player"
!define CAPABILITIES_LOCAL_NAME "Strawberry"
!define CAPABILITIES_PROGID "Strawberry Music Player"
!define CAPABILITIES_PATH "Software\Clients\Media\Strawberry"
!define CAPABILITIES_DESCRIPTION "Strawberry Music Player"
!define CAPABILITIES_ICON "$INSTDIR\strawberry.ico"
!define CAPABILITIES_REINSTALL "Command to reinstall"
!define CAPABILITIES_HIDE_ICONS "Command to hide icons"
!define CAPABILITIES_SHOW_ICONS "Command to show icons"
2021-03-30 20:35:48 +02:00
Unicode True
!ifdef debug
SetCompressor lzma
!else
2019-07-27 12:34:27 +02:00
SetCompressor /SOLID lzma
!endif
2019-07-27 12:34:27 +02:00
!include "MUI2.nsh"
!include "FileAssociation.nsh"
!include "Capabilities.nsh"
2019-11-17 16:34:30 +01:00
!include LogicLib.nsh
2022-03-14 22:13:14 +01:00
!include Registry.nsh
2019-11-17 16:34:30 +01:00
!include x64.nsh
2019-07-27 12:34:27 +02:00
!define MUI_ICON "strawberry.ico"
!define MUI_COMPONENTSPAGE_SMALLDESC
2022-02-07 20:56:32 +01:00
!ifdef mingw
ReserveFile "${NSISDIR}/Plugins/x86-unicode/LockedList.dll"
ReserveFile "${NSISDIR}/Plugins/LockedList64.dll"
2022-03-14 22:13:14 +01:00
ReserveFile "${NSISDIR}/Plugins/registry.dll"
ReserveFile "${NSISDIR}/Plugins/x86-unicode/INetC.dll"
2022-02-07 20:56:32 +01:00
!endif
!ifdef msvc
2022-02-07 23:46:24 +01:00
ReserveFile "${NSISDIR}\Plugins\x86-unicode\LockedList.dll"
2022-02-07 20:56:32 +01:00
ReserveFile "${NSISDIR}\Plugins\LockedList64.dll"
2022-03-14 22:13:14 +01:00
ReserveFile "${NSISDIR}\Plugins\registry.dll"
ReserveFile "${NSISDIR}\Plugins\x86-unicode\INetC.dll"
2022-02-07 20:56:32 +01:00
!endif
; Installer pages
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE COPYING
Page Custom LockedListPageShow
!insertmacro MUI_PAGE_DIRECTORY
2022-08-18 19:50:25 +02:00
!ifdef msvc
Page Custom InstallMSVCRuntime
!endif
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
; Uninstaller pages
!insertmacro MUI_UNPAGE_CONFIRM
UninstPage custom un.LockedListPageShow
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH
2019-07-27 12:34:27 +02:00
!insertmacro MUI_LANGUAGE "English" ;first language is the default language
Name "${PRODUCT_NAME}"
2022-02-07 20:56:32 +01:00
OutFile "${PRODUCT_NAME_SHORT}Setup-${PRODUCT_DISPLAY_VERSION}${build_type}-${compiler}-${arch}.exe"
2019-07-27 12:34:27 +02:00
InstallDir "${PRODUCT_INSTALL_DIR}"
; Get the path where Strawberry was installed previously and set it as default path
InstallDirRegKey ${PRODUCT_UNINST_ROOT_KEY} ${PRODUCT_UNINST_KEY} "UninstallString"
ShowInstDetails show
ShowUnInstDetails show
RequestExecutionLevel admin
2021-03-30 20:35:48 +02:00
Function LockedListPageShow
LockedList::AddModule /NOUNLOAD \strawberry.exe
LockedList::Dialog /heading "Checking for running programs:" /noprograms "No programs need to close." /searching "Searching for running programs..."
FunctionEnd
Function un.LockedListPageShow
LockedList::AddModule /NOUNLOAD \strawberry.exe
LockedList::Dialog /heading "Checking for running programs:" /noprograms "No programs need to close." /searching "Searching for running programs..."
FunctionEnd
2019-07-27 12:34:27 +02:00
; Check for previous installation, and call the uninstaller if any
Function CheckPreviousInstall
ReadRegStr $R0 ${PRODUCT_UNINST_ROOT_KEY} ${PRODUCT_UNINST_KEY} "UninstallString"
StrCmp $R0 "" Done
2019-07-27 12:34:27 +02:00
${IfNot} ${Silent}
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION "${PRODUCT_NAME} is already installed. $\n$\nClick `OK` to remove the previous version or `Cancel` to cancel this upgrade." IDOK Uninstall
2019-07-27 12:34:27 +02:00
Abort
${EndIf}
Uninstall:
2019-07-27 12:34:27 +02:00
ClearErrors
${If} ${Silent}
ExecWait '$R0 /S'
${Else}
ExecWait '$R0'
${EndIf}
2019-07-27 12:34:27 +02:00
Done:
2019-07-27 12:34:27 +02:00
FunctionEnd
2022-08-18 19:50:25 +02:00
!ifdef msvc
!define vc_redist_file "vc_redist.${arch}.exe"
Function InstallMSVCRuntime
${registry::Read} "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\${arch}" "Version" $R0 $R1
${If} $R0 == ""
SetDetailsView hide
inetc::get /caption "Downloading..." "https://aka.ms/vs/17/release/${vc_redist_file}" "$TEMP\${vc_redist_file}" /end
ExecWait '"$TEMP\${vc_redist_file}" /install /passive'
Delete "$TEMP\${vc_redist_file}"
SetDetailsView show
${EndIf}
FunctionEnd
!endif
2019-07-27 12:34:27 +02:00
Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY
Call CheckPreviousInstall
FunctionEnd
Section "Delete old files" oldfiles
SectionEnd
Section "Strawberry" Strawberry
SetOutPath "$INSTDIR"
2022-02-07 20:56:32 +01:00
; Common executables
2019-07-27 12:34:27 +02:00
File "strawberry.exe"
File "strawberry-tagreader.exe"
File "strawberry.ico"
2020-09-11 22:58:56 +02:00
File "sqlite3.exe"
File "gst-launch-1.0.exe"
2023-07-18 21:28:39 +02:00
File "gst-play-1.0.exe"
File "gst-discoverer-1.0.exe"
2019-07-27 12:34:27 +02:00
2022-02-07 20:56:32 +01:00
; MinGW specific files
!ifdef mingw
2020-09-10 17:12:18 +02:00
!ifdef arch_x86
File "libgcc_s_sjlj-1.dll"
2021-09-09 22:05:53 +02:00
File "libcrypto-3.dll"
File "libssl-3.dll"
2020-09-10 17:12:18 +02:00
!endif
!ifdef arch_x64
File "libgcc_s_seh-1.dll"
2021-09-09 22:05:53 +02:00
File "libcrypto-3-x64.dll"
File "libssl-3-x64.dll"
2020-09-10 17:12:18 +02:00
!endif
2022-09-10 23:52:27 +02:00
File "libFLAC-12.dll"
2020-09-10 17:12:18 +02:00
File "libbrotlicommon.dll"
File "libbrotlidec.dll"
2024-08-17 15:39:35 +02:00
File "libbrotlienc.dll"
2022-03-05 01:55:05 +01:00
File "libbs2b-0.dll"
2019-07-27 12:34:27 +02:00
File "libbz2.dll"
File "libchromaprint.dll"
File "libdl.dll"
2023-06-27 16:55:33 +02:00
File "libebur128.dll"
2022-07-25 03:23:34 +02:00
File "libfaac-0.dll"
File "libfaad-2.dll"
2022-03-05 02:21:44 +01:00
File "libfdk-aac-2.dll"
2022-02-07 20:56:32 +01:00
File "libffi-8.dll"
File "libfreetype-6.dll"
2022-07-25 03:23:34 +02:00
File "libgcrypt-20.dll"
2019-07-27 12:34:27 +02:00
File "libgio-2.0-0.dll"
File "libglib-2.0-0.dll"
2022-08-06 17:02:00 +02:00
File "libgme.dll"
2019-07-27 12:34:27 +02:00
File "libgmodule-2.0-0.dll"
File "libgmp-10.dll"
File "libgnutls-30.dll"
File "libgobject-2.0-0.dll"
2022-07-25 15:51:05 +02:00
File "libgpg-error-0.dll"
2021-10-19 23:55:59 +02:00
File "libgstadaptivedemux-1.0-0.dll"
2019-07-27 12:34:27 +02:00
File "libgstapp-1.0-0.dll"
File "libgstaudio-1.0-0.dll"
2021-10-10 20:43:35 +02:00
File "libgstbadaudio-1.0-0.dll"
2019-07-27 12:34:27 +02:00
File "libgstbase-1.0-0.dll"
File "libgstcodecparsers-1.0-0.dll"
2019-07-27 12:34:27 +02:00
File "libgstfft-1.0-0.dll"
2021-10-19 23:55:59 +02:00
File "libgstisoff-1.0-0.dll"
File "libgstmpegts-1.0-0.dll"
2019-07-27 12:34:27 +02:00
File "libgstnet-1.0-0.dll"
File "libgstpbutils-1.0-0.dll"
File "libgstreamer-1.0-0.dll"
File "libgstriff-1.0-0.dll"
File "libgstrtp-1.0-0.dll"
File "libgstrtsp-1.0-0.dll"
File "libgstsdp-1.0-0.dll"
File "libgsttag-1.0-0.dll"
2021-10-19 23:55:59 +02:00
File "libgsturidownloader-1.0-0.dll"
2019-07-27 12:34:27 +02:00
File "libgstvideo-1.0-0.dll"
File "libharfbuzz-0.dll"
2020-05-01 16:55:58 +02:00
File "libhogweed-6.dll"
2022-03-17 00:05:27 +01:00
File "libiconv-2.dll"
2019-07-27 12:34:27 +02:00
File "libidn2-0.dll"
File "libintl-8.dll"
File "libjpeg-9.dll"
File "libkdsingleapplication-qt6.dll"
2019-07-27 12:34:27 +02:00
File "liblzma-5.dll"
2022-03-17 00:05:27 +01:00
File "libmp3lame-0.dll"
2022-03-07 19:28:38 +01:00
File "libmpcdec.dll"
2022-03-17 00:05:27 +01:00
File "libmpg123-0.dll"
2020-05-01 18:41:36 +02:00
File "libnettle-8.dll"
2022-02-07 20:56:32 +01:00
File "libnghttp2.dll"
2022-03-17 00:05:27 +01:00
File "libogg-0.dll"
2021-10-10 20:43:35 +02:00
File "libopenmpt-0.dll"
2019-07-27 12:34:27 +02:00
File "libopus-0.dll"
2020-09-10 17:12:18 +02:00
File "liborc-0.4-0.dll"
2019-07-27 12:34:27 +02:00
File "libpng16-16.dll"
2022-02-07 20:56:32 +01:00
File "libpsl-5.dll"
2021-11-05 21:38:09 +01:00
File "libqtsparkle-qt6.dll"
2022-08-27 16:27:05 +02:00
File "libsoup-3.0-0.dll"
2022-03-17 00:05:27 +01:00
File "libspeex-1.dll"
2019-07-27 12:34:27 +02:00
File "libsqlite3-0.dll"
2020-09-10 17:12:18 +02:00
File "libssp-0.dll"
2019-07-27 12:34:27 +02:00
File "libstdc++-6.dll"
File "libtag.dll"
2020-09-10 17:12:18 +02:00
File "libtasn1-6.dll"
2022-07-21 01:39:17 +02:00
File "libtwolame-0.dll"
2022-10-17 21:41:14 +02:00
File "libunistring-5.dll"
2024-09-02 23:56:26 +02:00
File "libutf8_validity.dll"
2022-03-17 00:05:27 +01:00
File "libvorbis-0.dll"
File "libvorbisenc-2.dll"
2021-10-10 20:43:35 +02:00
File "libvorbisfile-3.dll"
2019-07-27 12:34:27 +02:00
File "libwavpack-1.dll"
2022-03-17 00:05:27 +01:00
File "libwinpthread-1.dll"
2020-09-10 17:12:18 +02:00
File "libzstd.dll"
2021-11-05 21:38:09 +01:00
File "zlib1.dll"
2019-07-27 12:34:27 +02:00
2023-03-08 21:15:19 +01:00
File "libabsl_base.dll"
File "libabsl_city.dll"
File "libabsl_cord.dll"
File "libabsl_cord_internal.dll"
File "libabsl_cordz_handle.dll"
File "libabsl_cordz_info.dll"
File "libabsl_crc32c.dll"
File "libabsl_crc_cord_state.dll"
File "libabsl_crc_internal.dll"
File "libabsl_die_if_null.dll"
File "libabsl_examine_stack.dll"
File "libabsl_hash.dll"
File "libabsl_int128.dll"
File "libabsl_kernel_timeout_internal.dll"
2023-03-08 21:15:19 +01:00
File "libabsl_log_globals.dll"
File "libabsl_log_internal_check_op.dll"
File "libabsl_log_internal_conditions.dll"
2023-03-08 21:15:19 +01:00
File "libabsl_log_internal_format.dll"
File "libabsl_log_internal_globals.dll"
File "libabsl_log_internal_log_sink_set.dll"
File "libabsl_log_internal_message.dll"
File "libabsl_log_internal_nullguard.dll"
File "libabsl_log_internal_proto.dll"
File "libabsl_log_sink.dll"
File "libabsl_low_level_hash.dll"
File "libabsl_malloc_internal.dll"
File "libabsl_raw_hash_set.dll"
File "libabsl_raw_logging_internal.dll"
File "libabsl_spinlock_wait.dll"
File "libabsl_stacktrace.dll"
File "libabsl_status.dll"
File "libabsl_statusor.dll"
File "libabsl_strerror.dll"
File "libabsl_str_format_internal.dll"
File "libabsl_strings.dll"
File "libabsl_strings_internal.dll"
File "libabsl_symbolize.dll"
File "libabsl_synchronization.dll"
File "libabsl_throw_delegate.dll"
File "libabsl_time.dll"
File "libabsl_time_zone.dll"
2020-10-14 16:55:17 +02:00
!ifdef debug
File "gdb.exe"
File "libexpat-1.dll"
File "libmman.dll"
File "libmpfr-6.dll"
2022-07-13 17:25:14 +02:00
File "libpcre2-8d.dll"
2022-05-03 20:08:40 +02:00
File "libpcre2-16d.dll"
2020-10-14 16:55:17 +02:00
File "libreadline8.dll"
File "libtermcap.dll"
2023-03-08 21:15:19 +01:00
File "libabsl_graphcycles_internal.dll"
2022-05-03 20:08:40 +02:00
!else
2022-07-13 17:25:14 +02:00
File "libpcre2-8.dll"
2022-05-03 20:08:40 +02:00
File "libpcre2-16.dll"
2020-10-14 16:55:17 +02:00
!endif
2022-02-07 20:56:32 +01:00
!endif ; MinGW
; MSVC specific files
!ifdef msvc
!ifdef arch_x86
2022-03-17 00:05:27 +01:00
File "libcrypto-3.dll"
File "libssl-3.dll"
2022-02-07 20:56:32 +01:00
!endif
!ifdef arch_x64
2022-03-17 00:05:27 +01:00
File "libcrypto-3-x64.dll"
File "libssl-3-x64.dll"
2022-02-07 20:56:32 +01:00
!endif
2022-07-25 03:23:34 +02:00
File "FLAC.dll"
2022-03-17 00:05:27 +01:00
File "brotlicommon.dll"
File "brotlidec.dll"
2022-02-07 20:56:32 +01:00
File "chromaprint.dll"
2023-06-27 16:55:33 +02:00
File "ebur128.dll"
2023-11-15 16:42:02 +01:00
File "faad-2.dll"
2022-03-17 00:05:27 +01:00
File "fdk-aac.dll"
2022-02-07 20:56:32 +01:00
File "ffi-7.dll"
File "gio-2.0-0.dll"
File "glib-2.0-0.dll"
2022-08-06 17:02:00 +02:00
File "gme.dll"
2022-02-07 20:56:32 +01:00
File "gmodule-2.0-0.dll"
File "gobject-2.0-0.dll"
2022-02-08 16:33:39 +01:00
File "gstadaptivedemux-1.0-0.dll"
2022-02-07 20:56:32 +01:00
File "gstapp-1.0-0.dll"
File "gstaudio-1.0-0.dll"
2022-03-23 01:48:16 +01:00
File "gstbadaudio-1.0-0.dll"
2022-02-07 20:56:32 +01:00
File "gstbase-1.0-0.dll"
File "gstcodecparsers-1.0-0.dll"
2022-02-07 20:56:32 +01:00
File "gstfft-1.0-0.dll"
2022-02-08 16:33:39 +01:00
File "gstisoff-1.0-0.dll"
File "gstmpegts-1.0-0.dll"
2022-02-07 20:56:32 +01:00
File "gstnet-1.0-0.dll"
File "gstpbutils-1.0-0.dll"
File "gstreamer-1.0-0.dll"
File "gstriff-1.0-0.dll"
File "gstrtp-1.0-0.dll"
File "gstrtsp-1.0-0.dll"
File "gstsdp-1.0-0.dll"
File "gsttag-1.0-0.dll"
2022-02-08 16:33:39 +01:00
File "gsturidownloader-1.0-0.dll"
2022-02-07 20:56:32 +01:00
File "gstvideo-1.0-0.dll"
2023-06-01 19:35:35 +02:00
File "gstwinrt-1.0-0.dll"
2022-08-07 09:36:02 +02:00
File "harfbuzz.dll"
2022-02-07 20:56:32 +01:00
File "intl-8.dll"
2022-10-02 22:33:36 +02:00
File "jpeg62.dll"
File "kdsingleapplication-qt6.dll"
File "libbs2b.dll"
2022-03-22 17:32:49 +01:00
File "libfaac_dll.dll"
2022-03-17 00:05:27 +01:00
File "liblzma.dll"
File "libmp3lame.dll"
2022-03-20 12:45:40 +01:00
File "libopenmpt.dll"
2024-09-02 23:56:26 +02:00
File "utf8_validity.dll"
File "mpcdec.dll"
2022-03-17 00:05:27 +01:00
File "mpg123.dll"
2022-08-27 23:43:39 +02:00
File "nghttp2.dll"
2022-03-17 00:05:27 +01:00
File "ogg.dll"
File "opus.dll"
2022-02-07 20:56:32 +01:00
File "orc-0.4-0.dll"
File "psl-5.dll"
2022-03-17 06:51:15 +01:00
File "qtsparkle-qt6.dll"
2022-08-27 16:27:05 +02:00
File "soup-3.0-0.dll"
2022-03-17 00:05:27 +01:00
File "sqlite3.dll"
2022-02-07 20:56:32 +01:00
File "tag.dll"
2022-03-17 00:05:27 +01:00
File "vorbis.dll"
2022-03-22 17:32:49 +01:00
File "vorbisfile.dll"
2022-03-17 00:05:27 +01:00
File "wavpackdll.dll"
2023-03-08 21:15:19 +01:00
File "abseil_dll.dll"
2022-03-20 12:45:40 +01:00
!ifdef release
2022-08-07 09:36:02 +02:00
File "freetype.dll"
2023-02-24 22:09:35 +01:00
File "libiconv.dll"
2022-03-20 12:45:40 +01:00
File "libpng16.dll"
2023-09-04 19:06:07 +02:00
File "libspeex.dll"
2022-07-13 17:25:14 +02:00
File "pcre2-8.dll"
2022-04-06 21:31:12 +02:00
File "pcre2-16.dll"
2022-07-21 01:39:17 +02:00
File "twolame.dll"
2022-03-17 00:05:27 +01:00
File "zlib.dll"
2022-03-20 12:45:40 +01:00
!endif
!ifdef debug
2022-08-07 09:36:02 +02:00
File "freetyped.dll"
2023-02-24 22:09:35 +01:00
File "libiconvd.dll"
2022-03-20 12:45:40 +01:00
File "libpng16d.dll"
2023-09-04 19:06:07 +02:00
File "libspeexd.dll"
2022-07-13 17:25:14 +02:00
File "pcre2-8d.dll"
2022-04-06 21:31:12 +02:00
File "pcre2-16d.dll"
2022-07-21 01:39:17 +02:00
File "twolamed.dll"
2022-03-20 12:45:40 +01:00
File "zlibd.dll"
!endif
2022-02-07 20:56:32 +01:00
; Used by libfftw3-3.dll because fftw is compiled with MinGW.
!ifdef arch_x86
File "libgcc_s_sjlj-1.dll"
File "libwinpthread-1.dll"
!endif
2022-02-07 20:56:32 +01:00
!endif ; MSVC
; Common files
2024-04-21 16:44:07 +02:00
File "icudt75.dll"
2022-05-22 02:14:07 +02:00
File "libfftw3-3.dll"
2023-02-19 10:39:30 +01:00
!ifdef debug
File "libprotobufd.dll"
!else
File "libprotobuf.dll"
!endif
2022-03-20 12:45:40 +01:00
!ifdef msvc && debug
2024-04-21 16:44:07 +02:00
File "icuin75d.dll"
File "icuuc75d.dll"
File "libxml2d.dll"
2022-03-20 12:45:40 +01:00
File "Qt6Concurrentd.dll"
File "Qt6Cored.dll"
File "Qt6Guid.dll"
File "Qt6Networkd.dll"
File "Qt6Sqld.dll"
File "Qt6Widgetsd.dll"
!else
2024-04-21 16:44:07 +02:00
File "icuin75.dll"
File "icuuc75.dll"
File "libxml2.dll"
2022-02-07 20:56:32 +01:00
File "Qt6Concurrent.dll"
File "Qt6Core.dll"
File "Qt6Gui.dll"
File "Qt6Network.dll"
File "Qt6Sql.dll"
File "Qt6Widgets.dll"
2022-03-20 12:45:40 +01:00
!endif
2022-02-07 20:56:32 +01:00
2024-08-25 05:59:32 +02:00
File "avcodec-61.dll"
File "avfilter-10.dll"
File "avformat-61.dll"
File "avutil-59.dll"
File "postproc-58.dll"
File "swresample-5.dll"
File "swscale-8.dll"
2023-08-04 03:35:29 +02:00
2019-07-27 12:34:27 +02:00
; Register Strawberry with Default Programs
Var /GLOBAL AppIcon
Var /GLOBAL AppExe
StrCpy $AppExe "$INSTDIR\strawberry.exe"
StrCpy $AppIcon "$INSTDIR\strawberry.ico"
${RegisterCapabilities}
${RegisterMediaType} ".mp3" $AppExe $AppIcon "MP3 Audio File"
${RegisterMediaType} ".flac" $AppExe $AppIcon "FLAC Audio File"
${RegisterMediaType} ".ogg" $AppExe $AppIcon "OGG Audio File"
${RegisterMediaType} ".spx" $AppExe $AppIcon "OGG Speex Audio File"
${RegisterMediaType} ".m4a" $AppExe $AppIcon "MP4 Audio File"
${RegisterMediaType} ".aac" $AppExe $AppIcon "AAC Audio File"
${RegisterMediaType} ".wma" $AppExe $AppIcon "WMA Audio File"
${RegisterMediaType} ".wav" $AppExe $AppIcon "WAV Audio File"
${RegisterMediaType} ".pls" $AppExe $AppIcon "PLS Audio File"
${RegisterMediaType} ".m3u" $AppExe $AppIcon "M3U Audio File"
${RegisterMediaType} ".xspf" $AppExe $AppIcon "XSPF Audio File"
${RegisterMediaType} ".asx" $AppExe $AppIcon "Windows Media Audio/Video playlist"
${RegisterMimeType} "audio/mp3" "mp3" "{cd3afa76-b84f-48f0-9393-7edc34128127}"
${RegisterMimeType} "audio/mp4" "m4a" "{cd3afa7c-b84f-48f0-9393-7edc34128127}"
${RegisterMimeType} "audio/x-ms-wma" "wma" "{cd3afa84-b84f-48f0-9393-7edc34128127}"
${RegisterMimeType} "audio/wav" "wav" "{cd3afa7b-b84f-48f0-9393-7edc34128127}"
${RegisterMimeType} "audio/mpegurl" "m3u" "{cd3afa78-b84f-48f0-9393-7edc34128127}"
${RegisterMimeType} "application/x-wmplayer" "asx" "{cd3afa96-b84f-48f0-9393-7edc34128127}"
SectionEnd
2019-09-20 18:31:35 +02:00
Section "GIO modules" gio-modules
SetOutPath "$INSTDIR\gio-modules"
2022-02-07 20:56:32 +01:00
!ifdef mingw
2019-09-20 18:31:35 +02:00
File "/oname=libgiognutls.dll" "gio-modules\libgiognutls.dll"
2022-03-07 22:32:50 +01:00
File "/oname=libgioopenssl.dll" "gio-modules\libgioopenssl.dll"
2022-02-07 20:56:32 +01:00
!endif
!ifdef msvc
File "/oname=giognutls.dll" "gio-modules\giognutls.dll"
2022-03-17 00:05:27 +01:00
File "/oname=gioopenssl.dll" "gio-modules\gioopenssl.dll"
2022-02-07 20:56:32 +01:00
!endif
2019-09-20 18:31:35 +02:00
SectionEnd
2021-09-30 23:08:16 +02:00
Section "Qt Platform plugins" platforms
2019-07-27 12:34:27 +02:00
SetOutPath "$INSTDIR\platforms"
2022-03-20 12:45:40 +01:00
!ifdef msvc && debug
File "/oname=qwindowsd.dll" "platforms\qwindowsd.dll"
!else
2019-07-27 12:34:27 +02:00
File "/oname=qwindows.dll" "platforms\qwindows.dll"
2022-03-20 12:45:40 +01:00
!endif
2019-07-27 12:34:27 +02:00
SectionEnd
2021-09-30 23:08:16 +02:00
Section "Qt styles" styles
SetOutPath "$INSTDIR\styles"
2022-03-20 12:45:40 +01:00
!ifdef msvc && debug
File "/oname=qmodernwindowsstyled.dll" "styles\qmodernwindowsstyled.dll"
2022-03-20 12:45:40 +01:00
!else
File "/oname=qmodernwindowsstyle.dll" "styles\qmodernwindowsstyle.dll"
2022-03-20 12:45:40 +01:00
!endif
2019-07-27 12:34:27 +02:00
SectionEnd
2021-09-30 23:08:16 +02:00
Section "Qt TLS plugins" tls
SetOutPath "$INSTDIR\tls"
2022-03-20 12:45:40 +01:00
!ifdef msvc && debug
2022-04-23 18:03:54 +02:00
File "/oname=qschannelbackendd.dll" "tls\qschannelbackendd.dll"
2022-03-20 12:45:40 +01:00
File "/oname=qopensslbackendd.dll" "tls\qopensslbackendd.dll"
!else
2022-04-23 18:03:54 +02:00
File "/oname=qschannelbackend.dll" "tls\qschannelbackend.dll"
2021-09-30 23:08:16 +02:00
File "/oname=qopensslbackend.dll" "tls\qopensslbackend.dll"
2022-03-20 12:45:40 +01:00
!endif
2021-09-30 23:08:16 +02:00
SectionEnd
Section "Qt SQL Drivers" sqldrivers
SetOutPath "$INSTDIR\sqldrivers"
2022-03-20 12:45:40 +01:00
!ifdef msvc && debug
File "/oname=qsqlited.dll" "sqldrivers\qsqlited.dll"
!else
2021-09-30 23:08:16 +02:00
File "/oname=qsqlite.dll" "sqldrivers\qsqlite.dll"
2022-03-20 12:45:40 +01:00
!endif
2020-01-15 01:27:14 +01:00
SectionEnd
2021-10-19 23:55:59 +02:00
Section "Qt imageformats" imageformats
SetOutPath "$INSTDIR\imageformats"
2022-03-20 12:45:40 +01:00
!ifdef msvc && debug
File "/oname=qgifd.dll" "imageformats\qgifd.dll"
File "/oname=qicod.dll" "imageformats\qicod.dll"
File "/oname=qjpegd.dll" "imageformats\qjpegd.dll"
!else
2021-10-19 23:55:59 +02:00
File "/oname=qgif.dll" "imageformats\qgif.dll"
File "/oname=qico.dll" "imageformats\qico.dll"
File "/oname=qjpeg.dll" "imageformats\qjpeg.dll"
2022-03-20 12:45:40 +01:00
!endif
2021-10-19 23:55:59 +02:00
SectionEnd
2019-07-27 12:34:27 +02:00
Section "Gstreamer plugins" gstreamer-plugins
SetOutPath "$INSTDIR\gstreamer-plugins"
2022-02-07 20:56:32 +01:00
!ifdef mingw
File "/oname=libgstadaptivedemux2.dll" "gstreamer-plugins\libgstadaptivedemux2.dll"
2022-03-07 19:28:38 +01:00
File "/oname=libgstaes.dll" "gstreamer-plugins\libgstaes.dll"
2021-10-19 23:55:59 +02:00
File "/oname=libgstaiff.dll" "gstreamer-plugins\libgstaiff.dll"
File "/oname=libgstapetag.dll" "gstreamer-plugins\libgstapetag.dll"
2019-07-27 12:34:27 +02:00
File "/oname=libgstapp.dll" "gstreamer-plugins\libgstapp.dll"
2021-10-19 23:55:59 +02:00
File "/oname=libgstasf.dll" "gstreamer-plugins\libgstasf.dll"
File "/oname=libgstasfmux.dll" "gstreamer-plugins\libgstasfmux.dll"
2019-07-27 12:34:27 +02:00
File "/oname=libgstaudioconvert.dll" "gstreamer-plugins\libgstaudioconvert.dll"
File "/oname=libgstaudiofx.dll" "gstreamer-plugins\libgstaudiofx.dll"
File "/oname=libgstaudioparsers.dll" "gstreamer-plugins\libgstaudioparsers.dll"
File "/oname=libgstaudioresample.dll" "gstreamer-plugins\libgstaudioresample.dll"
File "/oname=libgstautodetect.dll" "gstreamer-plugins\libgstautodetect.dll"
2022-03-05 01:55:05 +01:00
File "/oname=libgstbs2b.dll" "gstreamer-plugins\libgstbs2b.dll"
2021-10-19 23:55:59 +02:00
File "/oname=libgstcoreelements.dll" "gstreamer-plugins\libgstcoreelements.dll"
File "/oname=libgstdash.dll" "gstreamer-plugins\libgstdash.dll"
File "/oname=libgstdirectsound.dll" "gstreamer-plugins\libgstdirectsound.dll"
2024-03-12 00:52:49 +01:00
File "/oname=libgstdsd.dll" "gstreamer-plugins\libgstdsd.dll"
2019-07-27 12:34:27 +02:00
File "/oname=libgstequalizer.dll" "gstreamer-plugins\libgstequalizer.dll"
2021-10-19 23:55:59 +02:00
File "/oname=libgstfaac.dll" "gstreamer-plugins\libgstfaac.dll"
File "/oname=libgstfaad.dll" "gstreamer-plugins\libgstfaad.dll"
2022-03-05 02:21:44 +01:00
File "/oname=libgstfdkaac.dll" "gstreamer-plugins\libgstfdkaac.dll"
2022-03-17 00:05:27 +01:00
File "/oname=libgstflac.dll" "gstreamer-plugins\libgstflac.dll"
2019-07-27 12:34:27 +02:00
File "/oname=libgstgio.dll" "gstreamer-plugins\libgstgio.dll"
2022-08-06 17:02:00 +02:00
File "/oname=libgstgme.dll" "gstreamer-plugins\libgstgme.dll"
2022-03-27 23:27:01 +02:00
File "/oname=libgsthls.dll" "gstreamer-plugins\libgsthls.dll"
2019-07-27 12:34:27 +02:00
File "/oname=libgsticydemux.dll" "gstreamer-plugins\libgsticydemux.dll"
File "/oname=libgstid3demux.dll" "gstreamer-plugins\libgstid3demux.dll"
2022-07-25 03:23:34 +02:00
File "/oname=libgstid3tag.dll" "gstreamer-plugins\libgstid3tag.dll"
2021-10-19 23:55:59 +02:00
File "/oname=libgstisomp4.dll" "gstreamer-plugins\libgstisomp4.dll"
File "/oname=libgstlame.dll" "gstreamer-plugins\libgstlame.dll"
2024-02-16 18:23:35 +01:00
File "/oname=libgstlibav.dll" "gstreamer-plugins\libgstlibav.dll"
File "/oname=libgstmpegpsdemux.dll" "gstreamer-plugins\libgstmpegpsdemux.dll"
File "/oname=libgstmpegpsmux.dll" "gstreamer-plugins\libgstmpegpsmux.dll"
File "/oname=libgstmpegtsdemux.dll" "gstreamer-plugins\libgstmpegtsdemux.dll"
File "/oname=libgstmpegtsmux.dll" "gstreamer-plugins\libgstmpegtsmux.dll"
2022-02-21 19:18:36 +01:00
File "/oname=libgstmpg123.dll" "gstreamer-plugins\libgstmpg123.dll"
2022-03-07 19:28:38 +01:00
File "/oname=libgstmusepack.dll" "gstreamer-plugins\libgstmusepack.dll"
2019-07-27 12:34:27 +02:00
File "/oname=libgstogg.dll" "gstreamer-plugins\libgstogg.dll"
2021-10-19 23:55:59 +02:00
File "/oname=libgstopenmpt.dll" "gstreamer-plugins\libgstopenmpt.dll"
2019-07-27 12:34:27 +02:00
File "/oname=libgstopus.dll" "gstreamer-plugins\libgstopus.dll"
File "/oname=libgstopusparse.dll" "gstreamer-plugins\libgstopusparse.dll"
2019-09-11 21:00:44 +02:00
File "/oname=libgstpbtypes.dll" "gstreamer-plugins\libgstpbtypes.dll"
2021-10-19 23:55:59 +02:00
File "/oname=libgstplayback.dll" "gstreamer-plugins\libgstplayback.dll"
File "/oname=libgstreplaygain.dll" "gstreamer-plugins\libgstreplaygain.dll"
2019-09-11 21:00:44 +02:00
File "/oname=libgstrtp.dll" "gstreamer-plugins\libgstrtp.dll"
File "/oname=libgstrtsp.dll" "gstreamer-plugins\libgstrtsp.dll"
2021-10-19 23:55:59 +02:00
File "/oname=libgstsoup.dll" "gstreamer-plugins\libgstsoup.dll"
File "/oname=libgstspectrum.dll" "gstreamer-plugins\libgstspectrum.dll"
File "/oname=libgstspeex.dll" "gstreamer-plugins\libgstspeex.dll"
File "/oname=libgsttaglib.dll" "gstreamer-plugins\libgsttaglib.dll"
File "/oname=libgsttcp.dll" "gstreamer-plugins\libgsttcp.dll"
2022-07-21 01:39:17 +02:00
File "/oname=libgsttwolame.dll" "gstreamer-plugins\libgsttwolame.dll"
2021-10-19 23:55:59 +02:00
File "/oname=libgsttypefindfunctions.dll" "gstreamer-plugins\libgsttypefindfunctions.dll"
File "/oname=libgstudp.dll" "gstreamer-plugins\libgstudp.dll"
File "/oname=libgstvolume.dll" "gstreamer-plugins\libgstvolume.dll"
File "/oname=libgstvorbis.dll" "gstreamer-plugins\libgstvorbis.dll"
File "/oname=libgstwasapi.dll" "gstreamer-plugins\libgstwasapi.dll"
2024-02-16 18:23:35 +01:00
File "/oname=libgstwaveform.dll" "gstreamer-plugins\libgstwaveform.dll"
2022-07-25 03:55:38 +02:00
File "/oname=libgstwavenc.dll" "gstreamer-plugins\libgstwavenc.dll"
2021-10-19 23:55:59 +02:00
File "/oname=libgstwavpack.dll" "gstreamer-plugins\libgstwavpack.dll"
File "/oname=libgstwavparse.dll" "gstreamer-plugins\libgstwavparse.dll"
File "/oname=libgstxingmux.dll" "gstreamer-plugins\libgstxingmux.dll"
2022-02-07 20:56:32 +01:00
!endif ; MinGW
!ifdef msvc
File "/oname=gstadaptivedemux2.dll" "gstreamer-plugins\gstadaptivedemux2.dll"
2022-07-25 03:23:34 +02:00
File "/oname=gstaes.dll" "gstreamer-plugins\gstaes.dll"
2022-02-07 20:56:32 +01:00
File "/oname=gstaiff.dll" "gstreamer-plugins\gstaiff.dll"
File "/oname=gstapetag.dll" "gstreamer-plugins\gstapetag.dll"
File "/oname=gstapp.dll" "gstreamer-plugins\gstapp.dll"
File "/oname=gstasf.dll" "gstreamer-plugins\gstasf.dll"
File "/oname=gstasfmux.dll" "gstreamer-plugins\gstasfmux.dll"
2024-02-16 18:23:35 +01:00
File "/oname=gstasio.dll" "gstreamer-plugins\gstasio.dll"
2022-02-07 20:56:32 +01:00
File "/oname=gstaudioconvert.dll" "gstreamer-plugins\gstaudioconvert.dll"
File "/oname=gstaudiofx.dll" "gstreamer-plugins\gstaudiofx.dll"
File "/oname=gstaudioparsers.dll" "gstreamer-plugins\gstaudioparsers.dll"
File "/oname=gstaudioresample.dll" "gstreamer-plugins\gstaudioresample.dll"
File "/oname=gstautodetect.dll" "gstreamer-plugins\gstautodetect.dll"
File "/oname=gstbs2b.dll" "gstreamer-plugins\gstbs2b.dll"
2022-02-07 20:56:32 +01:00
File "/oname=gstcoreelements.dll" "gstreamer-plugins\gstcoreelements.dll"
File "/oname=gstdash.dll" "gstreamer-plugins\gstdash.dll"
File "/oname=gstdirectsound.dll" "gstreamer-plugins\gstdirectsound.dll"
2024-03-12 00:52:49 +01:00
File "/oname=gstdsd.dll" "gstreamer-plugins\gstdsd.dll"
2022-02-07 20:56:32 +01:00
File "/oname=gstequalizer.dll" "gstreamer-plugins\gstequalizer.dll"
File "/oname=gstfaac.dll" "gstreamer-plugins\gstfaac.dll"
File "/oname=gstfaad.dll" "gstreamer-plugins\gstfaad.dll"
2022-03-17 00:05:27 +01:00
File "/oname=gstfdkaac.dll" "gstreamer-plugins\gstfdkaac.dll"
2022-02-07 20:56:32 +01:00
File "/oname=gstflac.dll" "gstreamer-plugins\gstflac.dll"
File "/oname=gstgio.dll" "gstreamer-plugins\gstgio.dll"
2022-08-06 17:02:00 +02:00
File "/oname=gstgme.dll" "gstreamer-plugins\gstgme.dll"
2022-03-27 23:27:01 +02:00
File "/oname=gsthls.dll" "gstreamer-plugins\gsthls.dll"
2022-02-07 20:56:32 +01:00
File "/oname=gsticydemux.dll" "gstreamer-plugins\gsticydemux.dll"
File "/oname=gstid3demux.dll" "gstreamer-plugins\gstid3demux.dll"
2022-07-25 03:23:34 +02:00
File "/oname=gstid3tag.dll" "gstreamer-plugins\gstid3tag.dll"
2022-02-07 20:56:32 +01:00
File "/oname=gstisomp4.dll" "gstreamer-plugins\gstisomp4.dll"
File "/oname=gstlame.dll" "gstreamer-plugins\gstlame.dll"
2024-02-16 18:23:35 +01:00
File "/oname=gstlibav.dll" "gstreamer-plugins\gstlibav.dll"
File "/oname=gstmpegpsdemux.dll" "gstreamer-plugins\gstmpegpsdemux.dll"
File "/oname=gstmpegpsmux.dll" "gstreamer-plugins\gstmpegpsmux.dll"
File "/oname=gstmpegtsdemux.dll" "gstreamer-plugins\gstmpegtsdemux.dll"
File "/oname=gstmpegtsmux.dll" "gstreamer-plugins\gstmpegtsmux.dll"
2022-02-21 19:18:36 +01:00
File "/oname=gstmpg123.dll" "gstreamer-plugins\gstmpg123.dll"
File "/oname=gstmusepack.dll" "gstreamer-plugins\gstmusepack.dll"
2022-02-07 20:56:32 +01:00
File "/oname=gstogg.dll" "gstreamer-plugins\gstogg.dll"
2022-03-20 12:45:40 +01:00
File "/oname=gstopenmpt.dll" "gstreamer-plugins\gstopenmpt.dll"
2022-02-07 20:56:32 +01:00
File "/oname=gstopus.dll" "gstreamer-plugins\gstopus.dll"
File "/oname=gstopusparse.dll" "gstreamer-plugins\gstopusparse.dll"
2022-07-25 03:23:34 +02:00
File "/oname=gstpbtypes.dll" "gstreamer-plugins\gstpbtypes.dll"
2022-02-07 20:56:32 +01:00
File "/oname=gstplayback.dll" "gstreamer-plugins\gstplayback.dll"
File "/oname=gstreplaygain.dll" "gstreamer-plugins\gstreplaygain.dll"
File "/oname=gstrtp.dll" "gstreamer-plugins\gstrtp.dll"
File "/oname=gstrtsp.dll" "gstreamer-plugins\gstrtsp.dll"
File "/oname=gstsoup.dll" "gstreamer-plugins\gstsoup.dll"
File "/oname=gstspectrum.dll" "gstreamer-plugins\gstspectrum.dll"
2022-07-25 03:23:34 +02:00
File "/oname=gstspeex.dll" "gstreamer-plugins\gstspeex.dll"
File "/oname=gsttaglib.dll" "gstreamer-plugins\gsttaglib.dll"
2022-02-07 20:56:32 +01:00
File "/oname=gsttcp.dll" "gstreamer-plugins\gsttcp.dll"
2022-07-21 01:39:17 +02:00
File "/oname=gsttwolame.dll" "gstreamer-plugins\gsttwolame.dll"
2022-02-07 20:56:32 +01:00
File "/oname=gsttypefindfunctions.dll" "gstreamer-plugins\gsttypefindfunctions.dll"
File "/oname=gstudp.dll" "gstreamer-plugins\gstudp.dll"
File "/oname=gstvolume.dll" "gstreamer-plugins\gstvolume.dll"
File "/oname=gstvorbis.dll" "gstreamer-plugins\gstvorbis.dll"
File "/oname=gstwasapi.dll" "gstreamer-plugins\gstwasapi.dll"
2024-02-16 18:23:35 +01:00
File "/oname=gstwasapi2.dll" "gstreamer-plugins\gstwasapi2.dll"
File "/oname=gstwaveform.dll" "gstreamer-plugins\gstwaveform.dll"
2022-07-25 03:55:38 +02:00
File "/oname=gstwavenc.dll" "gstreamer-plugins\gstwavenc.dll"
2022-02-07 20:56:32 +01:00
File "/oname=gstwavpack.dll" "gstreamer-plugins\gstwavpack.dll"
File "/oname=gstwavparse.dll" "gstreamer-plugins\gstwavparse.dll"
File "/oname=gstxingmux.dll" "gstreamer-plugins\gstxingmux.dll"
2024-06-20 23:39:23 +02:00
!ifdef arch_x64
File "/oname=gstspotify.dll" "gstreamer-plugins\gstspotify.dll"
!endif
2022-02-07 20:56:32 +01:00
!endif ; MSVC
2019-07-27 12:34:27 +02:00
SectionEnd
Section "Start menu items" startmenu
; Create Start Menu folders and shortcuts.
SetShellVarContext all
CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME}.lnk" "$INSTDIR\strawberry.exe"
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
SectionEnd
Section "Tidal URL Scheme"
WriteRegStr HKCR "tidal" "URL Protocol" ""
WriteRegStr HKCR "tidal" "" "URL:tidal"
WriteRegStr HKCR 'tidal\shell\open\command' '' '"${PRODUCT_INSTALL_DIR}\strawberry.exe" "%1"'
SectionEnd
2019-07-27 12:34:27 +02:00
Section "Uninstaller"
; Create uninstaller
WriteUninstaller "$INSTDIR\Uninstall.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "${PRODUCT_NAME}"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\Uninstall.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\strawberry.ico"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_DISPLAY_VERSION}"
WriteRegDWORD ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "VersionMajor" "${PRODUCT_VERSION_MAJOR}"
WriteRegDWORD ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "VersionMinor" "${PRODUCT_VERSION_MINOR}"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
SectionEnd
Section "Uninstall"
; Delete all the files
Delete "$INSTDIR\strawberry.exe"
Delete "$INSTDIR\strawberry-tagreader.exe"
2021-10-19 23:55:59 +02:00
Delete "$INSTDIR\strawberry.ico"
2020-09-11 22:58:56 +02:00
Delete "$INSTDIR\sqlite3.exe"
Delete "$INSTDIR\gst-launch-1.0.exe"
2023-07-18 21:28:39 +02:00
Delete "$INSTDIR\gst-play-1.0.exe"
Delete "$INSTDIR\gst-discoverer-1.0.exe"
2019-07-27 12:34:27 +02:00
2022-02-07 20:56:32 +01:00
; MinGW specific files
!ifdef mingw
2020-09-10 17:12:18 +02:00
!ifdef arch_x86
Delete "$INSTDIR\libgcc_s_sjlj-1.dll"
2021-09-09 22:05:53 +02:00
Delete "$INSTDIR\libcrypto-3.dll"
Delete "$INSTDIR\libssl-3.dll"
2020-09-10 17:12:18 +02:00
!endif
!ifdef arch_x64
Delete "$INSTDIR\libgcc_s_seh-1.dll"
2021-09-09 22:05:53 +02:00
Delete "$INSTDIR\libcrypto-3-x64.dll"
Delete "$INSTDIR\libssl-3-x64.dll"
2020-09-10 17:12:18 +02:00
!endif
2022-09-10 23:52:27 +02:00
Delete "$INSTDIR\libFLAC-12.dll"
2020-09-10 17:12:18 +02:00
Delete "$INSTDIR\libbrotlicommon.dll"
Delete "$INSTDIR\libbrotlidec.dll"
2024-08-17 15:39:35 +02:00
Delete "$INSTDIR\libbrotlienc.dll"
2022-03-05 01:55:05 +01:00
Delete "$INSTDIR\libbs2b-0.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\libbz2.dll"
Delete "$INSTDIR\libchromaprint.dll"
Delete "$INSTDIR\libdl.dll"
2023-06-27 16:55:33 +02:00
Delete "$INSTDIR\libebur128.dll"
2022-07-25 03:23:34 +02:00
Delete "$INSTDIR\libfaac-0.dll"
Delete "$INSTDIR\libfaad-2.dll"
2022-03-05 02:21:44 +01:00
Delete "$INSTDIR\libfdk-aac-2.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\libffi-8.dll"
Delete "$INSTDIR\libfreetype-6.dll"
2022-07-25 03:23:34 +02:00
Delete "$INSTDIR\libgcrypt-20.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\libgio-2.0-0.dll"
Delete "$INSTDIR\libglib-2.0-0.dll"
2022-08-06 17:02:00 +02:00
Delete "$INSTDIR\libgme.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\libgmodule-2.0-0.dll"
Delete "$INSTDIR\libgmp-10.dll"
Delete "$INSTDIR\libgnutls-30.dll"
Delete "$INSTDIR\libgobject-2.0-0.dll"
2022-07-25 15:51:05 +02:00
Delete "$INSTDIR\libgpg-error-0.dll"
2021-10-19 23:55:59 +02:00
Delete "$INSTDIR\libgstadaptivedemux-1.0-0.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\libgstapp-1.0-0.dll"
Delete "$INSTDIR\libgstaudio-1.0-0.dll"
2021-10-10 20:43:35 +02:00
Delete "$INSTDIR\libgstbadaudio-1.0-0.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\libgstbase-1.0-0.dll"
Delete "$INSTDIR\libgstcodecparsers-1.0-0.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\libgstfft-1.0-0.dll"
2021-10-19 23:55:59 +02:00
Delete "$INSTDIR\libgstisoff-1.0-0.dll"
Delete "$INSTDIR\libgstmpegts-1.0-0.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\libgstnet-1.0-0.dll"
Delete "$INSTDIR\libgstpbutils-1.0-0.dll"
Delete "$INSTDIR\libgstreamer-1.0-0.dll"
Delete "$INSTDIR\libgstriff-1.0-0.dll"
Delete "$INSTDIR\libgstrtp-1.0-0.dll"
Delete "$INSTDIR\libgstrtsp-1.0-0.dll"
Delete "$INSTDIR\libgstsdp-1.0-0.dll"
Delete "$INSTDIR\libgsttag-1.0-0.dll"
2021-10-19 23:55:59 +02:00
Delete "$INSTDIR\libgsturidownloader-1.0-0.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\libgstvideo-1.0-0.dll"
Delete "$INSTDIR\libharfbuzz-0.dll"
2020-05-01 16:55:58 +02:00
Delete "$INSTDIR\libhogweed-6.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\libiconv-2.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\libidn2-0.dll"
Delete "$INSTDIR\libintl-8.dll"
Delete "$INSTDIR\libjpeg-9.dll"
Delete "$INSTDIR\libkdsingleapplication-qt6.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\liblzma-5.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\libmp3lame-0.dll"
2022-03-07 19:28:38 +01:00
Delete "$INSTDIR\libmpcdec.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\libmpg123-0.dll"
2020-05-01 18:41:36 +02:00
Delete "$INSTDIR\libnettle-8.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\libnghttp2.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\libogg-0.dll"
2021-10-10 20:43:35 +02:00
Delete "$INSTDIR\libopenmpt-0.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\libopus-0.dll"
2020-09-10 17:12:18 +02:00
Delete "$INSTDIR\liborc-0.4-0.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\libpng16-16.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\libpsl-5.dll"
2020-09-10 17:12:18 +02:00
Delete "$INSTDIR\libqtsparkle-qt6.dll"
2022-08-27 16:27:05 +02:00
Delete "$INSTDIR\libsoup-3.0-0.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\libspeex-1.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\libsqlite3-0.dll"
2020-09-10 17:12:18 +02:00
Delete "$INSTDIR\libssp-0.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\libstdc++-6.dll"
Delete "$INSTDIR\libtag.dll"
2020-09-10 17:12:18 +02:00
Delete "$INSTDIR\libtasn1-6.dll"
2022-07-21 01:39:17 +02:00
Delete "$INSTDIR\libtwolame-0.dll"
2022-10-17 21:41:14 +02:00
Delete "$INSTDIR\libunistring-5.dll"
2024-09-02 23:56:26 +02:00
Delete "$INSTDIR\libutf8_validity.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\libvorbis-0.dll"
Delete "$INSTDIR\libvorbisenc-2.dll"
2021-10-10 20:43:35 +02:00
Delete "$INSTDIR\libvorbisfile-3.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\libwavpack-1.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\libwinpthread-1.dll"
2020-09-10 17:12:18 +02:00
Delete "$INSTDIR\libzstd.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\zlib1.dll"
2023-03-08 21:15:19 +01:00
Delete "$INSTDIR\libabsl_base.dll"
Delete "$INSTDIR\libabsl_city.dll"
Delete "$INSTDIR\libabsl_cord.dll"
Delete "$INSTDIR\libabsl_cord_internal.dll"
Delete "$INSTDIR\libabsl_cordz_handle.dll"
Delete "$INSTDIR\libabsl_cordz_info.dll"
Delete "$INSTDIR\libabsl_crc32c.dll"
Delete "$INSTDIR\libabsl_crc_cord_state.dll"
Delete "$INSTDIR\libabsl_crc_internal.dll"
Delete "$INSTDIR\libabsl_die_if_null.dll"
Delete "$INSTDIR\libabsl_examine_stack.dll"
Delete "$INSTDIR\libabsl_hash.dll"
Delete "$INSTDIR\libabsl_int128.dll"
Delete "$INSTDIR\libabsl_kernel_timeout_internal.dll"
2023-03-08 21:15:19 +01:00
Delete "$INSTDIR\libabsl_log_globals.dll"
Delete "$INSTDIR\libabsl_log_internal_check_op.dll"
Delete "$INSTDIR\libabsl_log_internal_conditions.dll"
2023-03-08 21:15:19 +01:00
Delete "$INSTDIR\libabsl_log_internal_format.dll"
Delete "$INSTDIR\libabsl_log_internal_globals.dll"
Delete "$INSTDIR\libabsl_log_internal_log_sink_set.dll"
Delete "$INSTDIR\libabsl_log_internal_message.dll"
Delete "$INSTDIR\libabsl_log_internal_nullguard.dll"
Delete "$INSTDIR\libabsl_log_internal_proto.dll"
Delete "$INSTDIR\libabsl_log_sink.dll"
Delete "$INSTDIR\libabsl_low_level_hash.dll"
Delete "$INSTDIR\libabsl_malloc_internal.dll"
Delete "$INSTDIR\libabsl_raw_hash_set.dll"
Delete "$INSTDIR\libabsl_raw_logging_internal.dll"
Delete "$INSTDIR\libabsl_spinlock_wait.dll"
Delete "$INSTDIR\libabsl_stacktrace.dll"
Delete "$INSTDIR\libabsl_status.dll"
Delete "$INSTDIR\libabsl_statusor.dll"
Delete "$INSTDIR\libabsl_strerror.dll"
Delete "$INSTDIR\libabsl_str_format_internal.dll"
Delete "$INSTDIR\libabsl_strings.dll"
Delete "$INSTDIR\libabsl_strings_internal.dll"
Delete "$INSTDIR\libabsl_symbolize.dll"
Delete "$INSTDIR\libabsl_synchronization.dll"
Delete "$INSTDIR\libabsl_throw_delegate.dll"
Delete "$INSTDIR\libabsl_time.dll"
Delete "$INSTDIR\libabsl_time_zone.dll"
2020-10-14 16:55:17 +02:00
!ifdef debug
Delete "$INSTDIR\gdb.exe"
Delete "$INSTDIR\libexpat-1.dll"
Delete "$INSTDIR\libmman.dll"
Delete "$INSTDIR\libmpfr-6.dll"
2022-07-13 17:25:14 +02:00
Delete "$INSTDIR\libpcre2-8d.dll"
2022-05-03 20:08:40 +02:00
Delete "$INSTDIR\libpcre2-16d.dll"
2020-10-14 16:55:17 +02:00
Delete "$INSTDIR\libreadline8.dll"
Delete "$INSTDIR\libtermcap.dll"
2023-03-08 21:15:19 +01:00
Delete "$INSTDIR\libabsl_graphcycles_internal.dll"
2022-05-03 20:08:40 +02:00
!else
2022-07-13 17:25:14 +02:00
Delete "$INSTDIR\libpcre2-8.dll"
2022-05-03 20:08:40 +02:00
Delete "$INSTDIR\libpcre2-16.dll"
2020-10-14 16:55:17 +02:00
!endif
2022-02-07 20:56:32 +01:00
!endif ; MinGW
; MSVC specific files
!ifdef msvc
!ifdef arch_x86
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\libcrypto-3.dll"
Delete "$INSTDIR\libssl-3.dll"
2022-02-07 20:56:32 +01:00
!endif
!ifdef arch_x64
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\libcrypto-3-x64.dll"
Delete "$INSTDIR\libssl-3-x64.dll"
2022-02-07 20:56:32 +01:00
!endif
2022-07-25 03:23:34 +02:00
Delete "$INSTDIR\FLAC.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\brotlicommon.dll"
Delete "$INSTDIR\brotlidec.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\chromaprint.dll"
2023-06-27 16:55:33 +02:00
Delete "$INSTDIR\ebur128.dll"
2023-11-15 16:42:02 +01:00
Delete "$INSTDIR\faad-2.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\fdk-aac.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\ffi-7.dll"
Delete "$INSTDIR\gio-2.0-0.dll"
Delete "$INSTDIR\glib-2.0-0.dll"
2022-08-06 17:02:00 +02:00
Delete "$INSTDIR\gme.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gmodule-2.0-0.dll"
Delete "$INSTDIR\gobject-2.0-0.dll"
2022-02-08 16:33:39 +01:00
Delete "$INSTDIR\gstadaptivedemux-1.0-0.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstapp-1.0-0.dll"
Delete "$INSTDIR\gstaudio-1.0-0.dll"
2022-03-23 01:48:16 +01:00
Delete "$INSTDIR\gstbadaudio-1.0-0.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstbase-1.0-0.dll"
Delete "$INSTDIR\gstcodecparsers-1.0-0.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstfft-1.0-0.dll"
2022-02-08 16:33:39 +01:00
Delete "$INSTDIR\gstisoff-1.0-0.dll"
Delete "$INSTDIR\gstmpegts-1.0-0.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstnet-1.0-0.dll"
Delete "$INSTDIR\gstpbutils-1.0-0.dll"
Delete "$INSTDIR\gstreamer-1.0-0.dll"
Delete "$INSTDIR\gstriff-1.0-0.dll"
Delete "$INSTDIR\gstrtp-1.0-0.dll"
Delete "$INSTDIR\gstrtsp-1.0-0.dll"
Delete "$INSTDIR\gstsdp-1.0-0.dll"
Delete "$INSTDIR\gsttag-1.0-0.dll"
2022-02-08 16:33:39 +01:00
Delete "$INSTDIR\gsturidownloader-1.0-0.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstvideo-1.0-0.dll"
2023-06-01 19:35:35 +02:00
Delete "$INSTDIR\gstwinrt-1.0-0.dll"
2022-08-07 09:36:02 +02:00
Delete "$INSTDIR\harfbuzz.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\intl-8.dll"
2022-10-02 22:33:36 +02:00
Delete "$INSTDIR\jpeg62.dll"
Delete "$INSTDIR\kdsingleapplication-qt6.dll"
Delete "$INSTDIR\libbs2b.dll"
2022-03-22 17:32:49 +01:00
Delete "$INSTDIR\libfaac_dll.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\liblzma.dll"
Delete "$INSTDIR\libmp3lame.dll"
2022-03-20 12:45:40 +01:00
Delete "$INSTDIR\libopenmpt.dll"
2024-09-02 23:56:26 +02:00
Delete "$INSTDIR\utf8_validity.dll"
Delete "$INSTDIR\mpcdec.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\mpg123.dll"
2022-08-27 23:43:39 +02:00
Delete "$INSTDIR\nghttp2.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\ogg.dll"
Delete "$INSTDIR\opus.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\orc-0.4-0.dll"
Delete "$INSTDIR\psl-5.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\qtsparkle-qt6.dll"
2022-08-27 16:27:05 +02:00
Delete "$INSTDIR\soup-3.0-0.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\sqlite3.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\tag.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\vorbis.dll"
2022-03-22 17:32:49 +01:00
Delete "$INSTDIR\vorbisfile.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\wavpackdll.dll"
2023-03-08 21:15:19 +01:00
Delete "$INSTDIR\abseil_dll.dll"
2022-03-20 12:45:40 +01:00
!ifdef release
2022-08-07 09:36:02 +02:00
Delete "$INSTDIR\freetype.dll"
2023-02-24 22:09:35 +01:00
Delete "$INSTDIR\libiconv.dll"
2022-03-20 12:45:40 +01:00
Delete "$INSTDIR\libpng16.dll"
2023-09-04 19:06:07 +02:00
Delete "$INSTDIR\libspeex.dll"
2022-07-13 17:25:14 +02:00
Delete "$INSTDIR\pcre2-8.dll"
2022-04-06 21:31:12 +02:00
Delete "$INSTDIR\pcre2-16.dll"
2022-07-21 01:39:17 +02:00
Delete "$INSTDIR\twolame.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\zlib.dll"
2022-03-20 12:45:40 +01:00
!endif
!ifdef debug
2022-08-07 09:36:02 +02:00
Delete "$INSTDIR\freetyped.dll"
2023-02-24 22:09:35 +01:00
Delete "$INSTDIR\libiconvd.dll"
2022-03-20 12:45:40 +01:00
Delete "$INSTDIR\libpng16d.dll"
2023-09-04 19:06:07 +02:00
Delete "$INSTDIR\libspeexd.dll"
2022-07-13 17:25:14 +02:00
Delete "$INSTDIR\pcre2-8d.dll"
2022-04-06 21:31:12 +02:00
Delete "$INSTDIR\pcre2-16d.dll"
2022-07-21 01:39:17 +02:00
Delete "$INSTDIR\twolamed.dll"
2022-03-20 12:45:40 +01:00
Delete "$INSTDIR\zlibd.dll"
!endif
2022-02-07 20:56:32 +01:00
!ifdef arch_x86
Delete "$INSTDIR\libgcc_s_sjlj-1.dll"
Delete "$INSTDIR\libwinpthread-1.dll"
!endif
2022-02-07 20:56:32 +01:00
!endif ; MSVC
; Common files
2024-04-21 16:44:07 +02:00
Delete "$INSTDIR\icudt75.dll"
2022-05-22 02:14:07 +02:00
Delete "$INSTDIR\libfftw3-3.dll"
2023-02-19 10:39:30 +01:00
!ifdef debug
Delete "$INSTDIR\libprotobufd.dll"
!else
Delete "$INSTDIR\libprotobuf.dll"
!endif
2022-03-20 12:45:40 +01:00
!ifdef msvc && debug
2024-04-21 16:44:07 +02:00
Delete "$INSTDIR\icuin75d.dll"
Delete "$INSTDIR\icuuc75d.dll"
Delete "$INSTDIR\libxml2d.dll"
2022-03-20 12:45:40 +01:00
Delete "$INSTDIR\Qt6Concurrentd.dll"
Delete "$INSTDIR\Qt6Cored.dll"
Delete "$INSTDIR\Qt6Guid.dll"
Delete "$INSTDIR\Qt6Networkd.dll"
Delete "$INSTDIR\Qt6Sqld.dll"
Delete "$INSTDIR\Qt6Widgetsd.dll"
!else
2024-04-21 16:44:07 +02:00
Delete "$INSTDIR\icuin75.dll"
Delete "$INSTDIR\icuuc75.dll"
Delete "$INSTDIR\libxml2.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\Qt6Concurrent.dll"
Delete "$INSTDIR\Qt6Core.dll"
Delete "$INSTDIR\Qt6Gui.dll"
Delete "$INSTDIR\Qt6Network.dll"
Delete "$INSTDIR\Qt6Sql.dll"
Delete "$INSTDIR\Qt6Widgets.dll"
2022-03-20 12:45:40 +01:00
!endif
2022-02-07 20:56:32 +01:00
2024-08-25 05:59:32 +02:00
Delete "$INSTDIR\avcodec-61.dll"
Delete "$INSTDIR\avfilter-10.dll"
Delete "$INSTDIR\avformat-61.dll"
Delete "$INSTDIR\avutil-59.dll"
Delete "$INSTDIR\postproc-58.dll"
Delete "$INSTDIR\swresample-5.dll"
Delete "$INSTDIR\swscale-8.dll"
2023-08-04 03:35:29 +02:00
2022-02-07 20:56:32 +01:00
!ifdef mingw
2019-09-20 18:31:35 +02:00
Delete "$INSTDIR\gio-modules\libgiognutls.dll"
2022-03-07 22:32:50 +01:00
Delete "$INSTDIR\gio-modules\libgioopenssl.dll"
2022-02-07 20:56:32 +01:00
!endif
!ifdef msvc
Delete "$INSTDIR\gio-modules\giognutls.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\gio-modules\gioopenssl.dll"
2022-02-07 20:56:32 +01:00
!endif
2022-03-20 12:45:40 +01:00
!ifdef msvc && debug
Delete "$INSTDIR\platforms\qwindowsd.dll"
Delete "$INSTDIR\styles\qmodernwindowsstyled.dll"
2022-04-23 18:03:54 +02:00
Delete "$INSTDIR\tls\qschannelbackendd.dll"
2022-03-23 01:48:16 +01:00
Delete "$INSTDIR\tls\qopensslbackendd.dll"
2022-03-20 12:45:40 +01:00
Delete "$INSTDIR\sqldrivers\qsqlited.dll"
Delete "$INSTDIR\imageformats\qgifd.dll"
Delete "$INSTDIR\imageformats\qicod.dll"
Delete "$INSTDIR\imageformats\qjpegd.dll"
!else
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\platforms\qwindows.dll"
Delete "$INSTDIR\styles\qmodernwindowsstyle.dll"
2022-04-23 18:03:54 +02:00
Delete "$INSTDIR\tls\qschannelbackend.dll"
2021-09-30 23:08:16 +02:00
Delete "$INSTDIR\tls\qopensslbackend.dll"
Delete "$INSTDIR\sqldrivers\qsqlite.dll"
2019-07-27 12:34:27 +02:00
Delete "$INSTDIR\imageformats\qgif.dll"
Delete "$INSTDIR\imageformats\qico.dll"
Delete "$INSTDIR\imageformats\qjpeg.dll"
2022-03-20 12:45:40 +01:00
!endif
2019-07-27 12:34:27 +02:00
2022-02-07 20:56:32 +01:00
; MinGW GStreamer plugins
!ifdef mingw
Delete "$INSTDIR\gstreamer-plugins\libgstadaptivedemux2.dll"
2022-03-07 19:28:38 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstaes.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstaiff.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstapetag.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstapp.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstasf.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstasfmux.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstaudioconvert.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstaudiofx.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstaudioparsers.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstaudioresample.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstautodetect.dll"
2022-03-05 01:55:05 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstbs2b.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstcoreelements.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstdash.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstdirectsound.dll"
2024-03-12 00:52:49 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstdsd.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstequalizer.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstfaac.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstfaad.dll"
2022-03-05 02:21:44 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstfdkaac.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstflac.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstgio.dll"
2022-08-06 17:02:00 +02:00
Delete "$INSTDIR\gstreamer-plugins\libgstgme.dll"
2022-03-27 23:27:01 +02:00
Delete "$INSTDIR\gstreamer-plugins\libgsthls.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgsticydemux.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstid3demux.dll"
2022-07-25 03:23:34 +02:00
Delete "$INSTDIR\gstreamer-plugins\libgstid3tag.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstisomp4.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstlame.dll"
2024-02-16 18:23:35 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstlibav.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstmpegpsdemux.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstmpegpsmux.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstmpegtsdemux.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstmpegtsmux.dll"
2022-02-21 19:18:36 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstmpg123.dll"
2022-03-07 19:28:38 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstmusepack.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstogg.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstopenmpt.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstopus.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstopusparse.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstpbtypes.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstplayback.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstreplaygain.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstrtp.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstrtsp.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstsoup.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstspectrum.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstspeex.dll"
Delete "$INSTDIR\gstreamer-plugins\libgsttaglib.dll"
Delete "$INSTDIR\gstreamer-plugins\libgsttcp.dll"
2022-07-21 01:39:17 +02:00
Delete "$INSTDIR\gstreamer-plugins\libgsttwolame.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgsttypefindfunctions.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstudp.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstvolume.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstvorbis.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstwasapi.dll"
2024-02-16 18:23:35 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstwaveform.dll"
2022-07-25 03:55:38 +02:00
Delete "$INSTDIR\gstreamer-plugins\libgstwavenc.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\libgstwavpack.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstwavparse.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstxingmux.dll"
!endif ; mingw
; MSVC GStreamer plugins
!ifdef msvc
Delete "$INSTDIR\gstreamer-plugins\gstadaptivedemux2.dll"
2022-07-25 03:23:34 +02:00
Delete "$INSTDIR\gstreamer-plugins\gstaes.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstaiff.dll"
Delete "$INSTDIR\gstreamer-plugins\gstapetag.dll"
Delete "$INSTDIR\gstreamer-plugins\gstapp.dll"
Delete "$INSTDIR\gstreamer-plugins\gstasf.dll"
Delete "$INSTDIR\gstreamer-plugins\gstasfmux.dll"
2024-02-16 18:23:35 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstasio.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstaudioconvert.dll"
Delete "$INSTDIR\gstreamer-plugins\gstaudiofx.dll"
Delete "$INSTDIR\gstreamer-plugins\gstaudioparsers.dll"
Delete "$INSTDIR\gstreamer-plugins\gstaudioresample.dll"
Delete "$INSTDIR\gstreamer-plugins\gstautodetect.dll"
Delete "$INSTDIR\gstreamer-plugins\gstbs2b.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstcoreelements.dll"
Delete "$INSTDIR\gstreamer-plugins\gstdash.dll"
Delete "$INSTDIR\gstreamer-plugins\gstdirectsound.dll"
2024-03-12 00:52:49 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstdsd.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstequalizer.dll"
Delete "$INSTDIR\gstreamer-plugins\gstfaac.dll"
Delete "$INSTDIR\gstreamer-plugins\gstfaad.dll"
2022-03-17 00:05:27 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstfdkaac.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstflac.dll"
Delete "$INSTDIR\gstreamer-plugins\gstgio.dll"
2022-08-06 17:02:00 +02:00
Delete "$INSTDIR\gstreamer-plugins\gstgme.dll"
2022-03-27 23:27:01 +02:00
Delete "$INSTDIR\gstreamer-plugins\gsthls.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\gsticydemux.dll"
Delete "$INSTDIR\gstreamer-plugins\gstid3demux.dll"
2022-07-25 03:23:34 +02:00
Delete "$INSTDIR\gstreamer-plugins\gstid3tag.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstisomp4.dll"
Delete "$INSTDIR\gstreamer-plugins\gstlame.dll"
2024-02-16 18:23:35 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstlibav.dll"
Delete "$INSTDIR\gstreamer-plugins\gstmpegpsdemux.dll"
Delete "$INSTDIR\gstreamer-plugins\gstmpegpsmux.dll"
Delete "$INSTDIR\gstreamer-plugins\gstmpegtsdemux.dll"
Delete "$INSTDIR\gstreamer-plugins\gstmpegtsmux.dll"
2022-02-21 19:18:36 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstmpg123.dll"
Delete "$INSTDIR\gstreamer-plugins\gstmusepack.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstogg.dll"
2022-03-20 12:45:40 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstopenmpt.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstopus.dll"
Delete "$INSTDIR\gstreamer-plugins\gstopusparse.dll"
2022-07-25 03:23:34 +02:00
Delete "$INSTDIR\gstreamer-plugins\gstpbtypes.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstplayback.dll"
Delete "$INSTDIR\gstreamer-plugins\gstreplaygain.dll"
Delete "$INSTDIR\gstreamer-plugins\gstrtp.dll"
Delete "$INSTDIR\gstreamer-plugins\gstrtsp.dll"
Delete "$INSTDIR\gstreamer-plugins\gstsoup.dll"
Delete "$INSTDIR\gstreamer-plugins\gstspectrum.dll"
2022-07-25 03:23:34 +02:00
Delete "$INSTDIR\gstreamer-plugins\gstspeex.dll"
Delete "$INSTDIR\gstreamer-plugins\gsttaglib.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\gsttcp.dll"
2022-07-21 01:39:17 +02:00
Delete "$INSTDIR\gstreamer-plugins\gsttwolame.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\gsttypefindfunctions.dll"
Delete "$INSTDIR\gstreamer-plugins\gstudp.dll"
Delete "$INSTDIR\gstreamer-plugins\gstvolume.dll"
Delete "$INSTDIR\gstreamer-plugins\gstvorbis.dll"
Delete "$INSTDIR\gstreamer-plugins\gstwasapi.dll"
2023-06-01 17:41:51 +02:00
Delete "$INSTDIR\gstreamer-plugins\gstwasapi2.dll"
2024-02-16 18:23:35 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstwaveform.dll"
2022-07-25 03:55:38 +02:00
Delete "$INSTDIR\gstreamer-plugins\gstwavenc.dll"
2022-02-07 20:56:32 +01:00
Delete "$INSTDIR\gstreamer-plugins\gstwavpack.dll"
Delete "$INSTDIR\gstreamer-plugins\gstwavparse.dll"
Delete "$INSTDIR\gstreamer-plugins\gstxingmux.dll"
2024-06-20 23:39:23 +02:00
!ifdef arch_x64
Delete "$INSTDIR\gstreamer-plugins\gstspotify.dll"
!endif
2022-02-07 20:56:32 +01:00
!endif ; msvc
2021-10-19 23:55:59 +02:00
2023-08-09 19:52:01 +02:00
Delete "$INSTDIR\Uninstall.exe"
2019-07-27 12:34:27 +02:00
; Remove the installation folders.
RMDir "$INSTDIR\platforms"
RMDir "$INSTDIR\styles"
2021-10-07 23:48:08 +02:00
RMDir "$INSTDIR\tls"
2019-07-27 12:34:27 +02:00
RMDir "$INSTDIR\sqldrivers"
RMDir "$INSTDIR\imageformats"
2019-11-15 23:25:12 +01:00
RMDir "$INSTDIR\gio-modules"
2019-07-27 12:34:27 +02:00
RMDir "$INSTDIR\gstreamer-plugins"
RMDir "$INSTDIR"
; Remove the Shortcuts
SetShellVarContext all
Delete "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME}.lnk"
Delete "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk"
RMDir /r "$SMPROGRAMS\${PRODUCT_NAME}"
; Remove the entry from 'installed programs list'
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
; Unregister from Default Programs
${UnRegisterCapabilities}
SectionEnd