View Single Post
Old 18th February 2005, 22:56   #58
robber98
Junior Member
 
Join Date: May 2004
Posts: 29
Quote:
Originally posted by mrtech
I've just notice a little issue with the status returned after downloading. I've seen this on Win2k & XPsp1 systems so far, what happens is that InetLoad return "1" instead of "Ok" after succesfully downloading a file. Here's my code snippet that I'm using with 2.05:
code:
InetLoad::load "${PRODUCT_URL}$WEBFILE" "$TEMP\$WEBFILE"

MessageBox MB_YESNO|MB_ICONQUESTION "$0" 0 0
StrCmp $0 "Ok" 0 dlskip

ExecWait '"$TEMP\$WEBFILE" /q'

Delete '"$TEMP\$WEBFILE"'
dlskip:



Had to change "Ok" to "1" to get it to work again. Using the archive 1/18/2005 build.
Don't you have to pop the return value after InetLoad? I don't see it from your code.
robber98 is offline   Reply With Quote