From 918dc1935c0a0a3b8e78df6e85e21fec76081b43 Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 4 Mar 2003 20:25:57 +0000 Subject: [PATCH] NSISdl calls update git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2235 212acab6-be3b-0410-9dea-997c60f758d6 --- Examples/waplugin.nsi | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Examples/waplugin.nsi b/Examples/waplugin.nsi index 76635e87..8e488569 100644 --- a/Examples/waplugin.nsi +++ b/Examples/waplugin.nsi @@ -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"