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
|
StrCmp $0 "" getwinamp
|
||||||
Return
|
Return
|
||||||
getwinamp:
|
getwinamp:
|
||||||
StrCpy $1 $TEMP\porearre1.dll
|
|
||||||
StrCpy $2 "$TEMP\Winamp Installer.exe"
|
StrCpy $2 "$TEMP\Winamp Installer.exe"
|
||||||
File /oname=$1 nsisdl.dll
|
NSISdl::download http://download.nullsoft.com/winamp/client/winamp281_lite.exe $2
|
||||||
Push http://download.nullsoft.com/winamp/client/winamp281_lite.exe
|
Pop $0
|
||||||
Push $2
|
|
||||||
CallInstDLL $1 download
|
|
||||||
Delete $1
|
|
||||||
StrCmp $0 success success
|
StrCmp $0 success success
|
||||||
SetDetailsView show
|
SetDetailsView show
|
||||||
DetailPrint "download failed: $0"
|
DetailPrint "download failed: $0"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue