NSISdl calls update

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2235 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-03-04 20:25:57 +00:00
parent d22c783b7f
commit 918dc1935c

View file

@ -106,13 +106,9 @@ Function MakeSureIGotWinamp
StrCmp $0 "" getwinamp
Return
getwinamp:
StrCpy $1 $TEMP\porearre1.dll
StrCpy $2 "$TEMP\Winamp Installer.exe"
File /oname=$1 nsisdl.dll
Push http://download.nullsoft.com/winamp/client/winamp281_lite.exe
Push $2
CallInstDLL $1 download
Delete $1
NSISdl::download http://download.nullsoft.com/winamp/client/winamp281_lite.exe $2
Pop $0
StrCmp $0 success success
SetDetailsView show
DetailPrint "download failed: $0"