Delete old conflicting files from 0.3 when installing 0.4

This commit is contained in:
David Sansome 2010-06-20 12:41:48 +00:00
parent 3ef14cbfbc
commit 31a0a89452
1 changed files with 9 additions and 1 deletions

View File

@ -40,6 +40,15 @@ ShowUnInstDetails show
; BrandingText "${PRODUCT_PUBLISHER}"
RequestExecutionLevel admin
Section "Delete old files" oldfiles
; Delete files from older versions
; 0.3
Delete "$INSTDIR\lastfm.lib"
Delete "$INSTDIR\gstreamer-plugins\libgstdecodebin.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstdirectsound.dll"
Delete "$INSTDIR\gstreamer-plugins\libgstwaveform.dll"
SectionEnd
Section "Clementine" Clementine
SetOutPath "$INSTDIR"
@ -114,7 +123,6 @@ Section "Clementine" Clementine
${registerExtension} "$INSTDIR\clementine.exe" ".m3u" "M3U Audio File"
${registerExtension} "$INSTDIR\clementine.exe" ".xspf" "XSPF Audio File"
${registerExtension} "$INSTDIR\clementine.exe" ".asx" "Windows Media Audio/Video playlist"
SectionEnd
Section "Qt image format plugins" imageformats