mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-27 00:34:16 +01:00
Remove install log
This commit is contained in:
parent
1a55b7f1b2
commit
099d098dc7
81
dist/windows/strawberry.nsi.in
vendored
81
dist/windows/strawberry.nsi.in
vendored
@ -87,50 +87,6 @@ Function .onInit
|
|||||||
|
|
||||||
FunctionEnd
|
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
|
;Function RunStrawberry
|
||||||
;ShellExecAsUser::ShellExecAsUser "" "$INSTDIR/strawberry.exe" ""
|
;ShellExecAsUser::ShellExecAsUser "" "$INSTDIR/strawberry.exe" ""
|
||||||
;FunctionEnd
|
;FunctionEnd
|
||||||
@ -237,31 +193,17 @@ Section "Strawberry" Strawberry
|
|||||||
|
|
||||||
${RegisterMimeType} "audio/mpegurl" "m3u" "{cd3afa78-b84f-48f0-9393-7edc34128127}"
|
${RegisterMimeType} "audio/mpegurl" "m3u" "{cd3afa78-b84f-48f0-9393-7edc34128127}"
|
||||||
${RegisterMimeType} "application/x-wmplayer" "asx" "{cd3afa96-b84f-48f0-9393-7edc34128127}"
|
${RegisterMimeType} "application/x-wmplayer" "asx" "{cd3afa96-b84f-48f0-9393-7edc34128127}"
|
||||||
|
|
||||||
StrCpy $0 "$EXEDIR\install.log"
|
|
||||||
Push $0
|
|
||||||
Call DumpLog
|
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Qt Platforms" platforms
|
Section "Qt Platforms" platforms
|
||||||
SetOutPath "$INSTDIR\platforms"
|
SetOutPath "$INSTDIR\platforms"
|
||||||
File "/oname=qwindows.dll" "platforms\qwindows.dll"
|
File "/oname=qwindows.dll" "platforms\qwindows.dll"
|
||||||
|
|
||||||
StrCpy $0 "$EXEDIR\install.log"
|
|
||||||
Push $0
|
|
||||||
Call DumpLog
|
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Qt SQL Drivers" sqldrivers
|
Section "Qt SQL Drivers" sqldrivers
|
||||||
SetOutPath "$INSTDIR\sqldrivers"
|
SetOutPath "$INSTDIR\sqldrivers"
|
||||||
File "/oname=qsqlite.dll" "sqldrivers\qsqlite.dll"
|
File "/oname=qsqlite.dll" "sqldrivers\qsqlite.dll"
|
||||||
|
|
||||||
StrCpy $0 "$EXEDIR\install.log"
|
|
||||||
Push $0
|
|
||||||
Call DumpLog
|
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Qt image format plugins" imageformats
|
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=qgif.dll" "imageformats\qgif.dll"
|
||||||
File "/oname=qico.dll" "imageformats\qico.dll"
|
File "/oname=qico.dll" "imageformats\qico.dll"
|
||||||
File "/oname=qjpeg.dll" "imageformats\qjpeg.dll"
|
File "/oname=qjpeg.dll" "imageformats\qjpeg.dll"
|
||||||
|
|
||||||
StrCpy $0 "$EXEDIR\install.log"
|
|
||||||
Push $0
|
|
||||||
Call DumpLog
|
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Gstreamer plugins" gstreamer-plugins
|
Section "Gstreamer plugins" gstreamer-plugins
|
||||||
@ -316,10 +253,6 @@ Section "Gstreamer plugins" gstreamer-plugins
|
|||||||
File "/oname=libgstudp.dll" "gstreamer-plugins\libgstudp.dll"
|
File "/oname=libgstudp.dll" "gstreamer-plugins\libgstudp.dll"
|
||||||
File "/oname=libgstsoup.dll" "gstreamer-plugins\libgstsoup.dll"
|
File "/oname=libgstsoup.dll" "gstreamer-plugins\libgstsoup.dll"
|
||||||
|
|
||||||
StrCpy $0 "$EXEDIR\install.log"
|
|
||||||
Push $0
|
|
||||||
Call DumpLog
|
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Xine plugins" xine-plugins
|
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_tvtime.dll" "xine-plugins\xineplug_post_tvtime.dll"
|
||||||
File "/oname=xineplug_post_visualizations.dll" "xine-plugins\xineplug_post_visualizations.dll"
|
File "/oname=xineplug_post_visualizations.dll" "xine-plugins\xineplug_post_visualizations.dll"
|
||||||
|
|
||||||
StrCpy $0 "$EXEDIR\install.log"
|
|
||||||
Push $0
|
|
||||||
Call DumpLog
|
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Start menu items" startmenu
|
Section "Start menu items" startmenu
|
||||||
@ -364,10 +293,6 @@ Section "Start menu items" startmenu
|
|||||||
CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
|
CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
|
||||||
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME}.lnk" "$INSTDIR\strawberry.exe"
|
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME}.lnk" "$INSTDIR\strawberry.exe"
|
||||||
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
|
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
|
||||||
|
|
||||||
StrCpy $0 "$EXEDIR\install.log"
|
|
||||||
Push $0
|
|
||||||
Call DumpLog
|
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
@ -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}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
|
||||||
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
|
||||||
|
|
||||||
StrCpy $0 "$EXEDIR\install.log"
|
|
||||||
Push $0
|
|
||||||
Call DumpLog
|
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Uninstall"
|
Section "Uninstall"
|
||||||
@ -416,8 +337,6 @@ Section "Uninstall"
|
|||||||
|
|
||||||
; Delete all the files
|
; Delete all the files
|
||||||
|
|
||||||
;Delete "$EXEDIR\install.log"
|
|
||||||
|
|
||||||
Delete "$INSTDIR\strawberry.ico"
|
Delete "$INSTDIR\strawberry.ico"
|
||||||
Delete "$INSTDIR\strawberry.exe"
|
Delete "$INSTDIR\strawberry.exe"
|
||||||
Delete "$INSTDIR\strawberry-tagreader.exe"
|
Delete "$INSTDIR\strawberry-tagreader.exe"
|
||||||
|
Loading…
Reference in New Issue
Block a user