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:
parent
d22c783b7f
commit
918dc1935c
1 changed files with 2 additions and 6 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue