View Single Post
Old 18th February 2005, 21:16   #57
mrtech
Junior Member
 
Join Date: Oct 2002
Posts: 46
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.
mrtech is offline   Reply With Quote