From: Joost Verburg Date: Wed, 6 Aug 2008 21:08:49 +0000 (+0000) Subject: use Inetc plug-in for downloading, which is more stable X-Git-Tag: 1.6.10~3719 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b9b9f532fc8469c130714de68b407ff2e2276384;p=features.git use Inetc plug-in for downloading, which is more stable git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26083 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/Win32/packaging/installer/setup/install.nsh b/development/Win32/packaging/installer/setup/install.nsh index 41370f3793..de81eef7a9 100644 --- a/development/Win32/packaging/installer/setup/install.nsh +++ b/development/Win32/packaging/installer/setup/install.nsh @@ -134,7 +134,7 @@ SectionEnd !macro DOWNLOAD_FILE RET ID FILENAME APPEND - # Downloads a file using the InetLoad plug-in (HTTP or FTP) + # Downloads a file using the Inetc plug-in (HTTP or FTP) # RET = Return value (OK if succesful) # ID = Name of the download in settings.nsh @@ -142,12 +142,12 @@ SectionEnd # APPEND = Filename to append to server location in settings.nsh # Try first mirror server - InetLoad::load "${DOWNLOAD_${ID}}${APPEND}" "$PLUGINSDIR\${FILENAME}" /END + Inetc::get "${DOWNLOAD_${ID}}${APPEND}" "$PLUGINSDIR\${FILENAME}" /END Pop ${RET} # Return value (OK if succesful) ${If} ${RET} != "OK" # Download failed, try second mirror server - InetLoad::load "${DOWNLOADALT_${ID}}${APPEND}" "$PLUGINSDIR\${FILENAME}" /END + Inetc::get "${DOWNLOADALT_${ID}}${APPEND}" "$PLUGINSDIR\${FILENAME}" /END Pop ${RET} ${EndIf}