Skip to content
⌘ NSIS Forum Archive

NSISdl...doesn't want to work

4 posts

ElvenProgrammer#

NSISdl...doesn't want to work

I copied this piece of code form NSIS CVS repository:

NSISdl::download_quiet "http://themanaworld.org/updates.txt"
Pop $TEMP1

StrCmp $TEMP1 "success" ReadVersion
MessageBox MB_OK|MB_ICONSTOP "Download failed: $TEMP1."
Quit
but it doesn't seems to work, it says:

"Download failed: unable to open ." 😢

The file should be reachable I guess:

The Mana World is a free MMORPG game for Linux, MacOS and Windows


Sorry to post 2 question in a day, but I really like NSIS and want to continue to use it 🙂
Mæster#
You have to specify where to download your file. Just like the following:
NSISdl::download_quiet "http://themanaworld.org/updates.txt" "$PLUGINSDIR\updates.txt"
BTW: There is a also a new plugin for downloading files, its called inetload.
Afrow UK#
Yeh, I recommend InetLoad too as it gets around the firewall problems that NSISdl seems to have.

-Stu