/[ascend]/branches/georgy/nsis/download.nsi
ViewVC logotype

Diff of /branches/georgy/nsis/download.nsi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3124 by jpye, Tue May 24 01:31:12 2016 UTC revision 3125 by georgy, Sun Jun 26 21:18:52 2016 UTC
# Line 23  Var DAI_REMOVE Line 23  Var DAI_REMOVE
23          DetailPrint "URL: ${DAI_URL}"          DetailPrint "URL: ${DAI_URL}"
24          StrCpy $DAI_TMPFILE "$TEMP\${DAI_FN}"          StrCpy $DAI_TMPFILE "$TEMP\${DAI_FN}"
25    
26          ; Download files using the INETC plugin for NSIS, available from          ; Download files using the NSISdl plugin.
27          ; http://nsis.sourceforge.net/Inetc_plug-in          NSISdl::download "${DAI_URL}" "$DAI_TMPFILE"
28          inetc::get /CAPTION "${DAI_FN}""${DAI_URL}" "$DAI_TMPFILE" /END  
29          Pop $DAI_RET ; return value = exit code, "OK" means OK          Pop $DAI_RET ; return value = exit code, "success" means download was successful
30                            
31          ${DoWhile} $DAI_RET != "OK"          ${DoWhile} $DAI_RET != "success"
32              ${If} $DAI_RET == "cancel"              ${If} $DAI_RET == "cancel"
33                  StrCpy $DAI_MSG "cancelled"                  StrCpy $DAI_MSG "cancelled"
34              ${Else}              ${Else}

Legend:
Removed from v.3124  
changed lines
  Added in v.3125

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22