1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-27 00:34:16 +01:00

Remove install log

This commit is contained in:
Jonas Kvinge 2018-08-10 22:01:59 +02:00
parent 1a55b7f1b2
commit 099d098dc7

View File

@ -87,50 +87,6 @@ Function .onInit
FunctionEnd
;!define LVM_GETITEMCOUNT 0x1004
;!define LVM_GETITEMTEXT 0x102D
Function DumpLog
Exch $5
Push $0
Push $1
Push $2
Push $3
Push $4
Push $6
FindWindow $0 "#32770" "" $HWNDPARENT
GetDlgItem $0 $0 1016
StrCmp $0 0 exit
FileOpen $5 $5 "w"
StrCmp $5 "" exit
SendMessage $0 ${LVM_GETITEMCOUNT} 0 0 $6
System::Alloc ${NSIS_MAX_STRLEN}
Pop $3
StrCpy $2 0
System::Call "*(i, i, i, i, i, i, i, i, i) i \
(0, 0, 0, 0, 0, r3, ${NSIS_MAX_STRLEN}) .r1"
loop: StrCmp $2 $6 done
System::Call "User32::SendMessageA(i, i, i, i) i \
($0, ${LVM_GETITEMTEXT}, $2, r1)"
System::Call "*$3(&t${NSIS_MAX_STRLEN} .r4)"
FileWrite $5 "$4$\r$\n"
IntOp $2 $2 + 1
Goto loop
done:
FileClose $5
System::Free $1
System::Free $3
exit:
Pop $6
Pop $4
Pop $3
Pop $2
Pop $1
Pop $0
Exch $5
FunctionEnd
;Function RunStrawberry
;ShellExecAsUser::ShellExecAsUser "" "$INSTDIR/strawberry.exe" ""
;FunctionEnd
@ -238,30 +194,16 @@ Section "Strawberry" Strawberry
${RegisterMimeType} "audio/mpegurl" "m3u" "{cd3afa78-b84f-48f0-9393-7edc34128127}"
${RegisterMimeType} "application/x-wmplayer" "asx" "{cd3afa96-b84f-48f0-9393-7edc34128127}"
StrCpy $0 "$EXEDIR\install.log"
Push $0
Call DumpLog
SectionEnd
Section "Qt Platforms" platforms
SetOutPath "$INSTDIR\platforms"
File "/oname=qwindows.dll" "platforms\qwindows.dll"
StrCpy $0 "$EXEDIR\install.log"
Push $0
Call DumpLog
SectionEnd
Section "Qt SQL Drivers" sqldrivers
SetOutPath "$INSTDIR\sqldrivers"
File "/oname=qsqlite.dll" "sqldrivers\qsqlite.dll"
StrCpy $0 "$EXEDIR\install.log"
Push $0
Call DumpLog
SectionEnd
Section "Qt image format plugins" imageformats
@ -269,11 +211,6 @@ Section "Qt image format plugins" imageformats
File "/oname=qgif.dll" "imageformats\qgif.dll"
File "/oname=qico.dll" "imageformats\qico.dll"
File "/oname=qjpeg.dll" "imageformats\qjpeg.dll"
StrCpy $0 "$EXEDIR\install.log"
Push $0
Call DumpLog
SectionEnd
Section "Gstreamer plugins" gstreamer-plugins
@ -316,10 +253,6 @@ Section "Gstreamer plugins" gstreamer-plugins
File "/oname=libgstudp.dll" "gstreamer-plugins\libgstudp.dll"
File "/oname=libgstsoup.dll" "gstreamer-plugins\libgstsoup.dll"
StrCpy $0 "$EXEDIR\install.log"
Push $0
Call DumpLog
SectionEnd
Section "Xine plugins" xine-plugins
@ -351,10 +284,6 @@ Section "Xine plugins" xine-plugins
File "/oname=xineplug_post_tvtime.dll" "xine-plugins\xineplug_post_tvtime.dll"
File "/oname=xineplug_post_visualizations.dll" "xine-plugins\xineplug_post_visualizations.dll"
StrCpy $0 "$EXEDIR\install.log"
Push $0
Call DumpLog
SectionEnd
Section "Start menu items" startmenu
@ -365,10 +294,6 @@ Section "Start menu items" startmenu
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME}.lnk" "$INSTDIR\strawberry.exe"
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
StrCpy $0 "$EXEDIR\install.log"
Push $0
Call DumpLog
SectionEnd
Section "Uninstaller"
@ -384,10 +309,6 @@ Section "Uninstaller"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
StrCpy $0 "$EXEDIR\install.log"
Push $0
Call DumpLog
SectionEnd
Section "Uninstall"
@ -416,8 +337,6 @@ Section "Uninstall"
; Delete all the files
;Delete "$EXEDIR\install.log"
Delete "$INSTDIR\strawberry.ico"
Delete "$INSTDIR\strawberry.exe"
Delete "$INSTDIR\strawberry-tagreader.exe"