b_avery@yahoo.c
16th April 2004 14:47 UTC
Distrubution of NSISdl
When I'm running using NSISdl to download from a random (or not random) mirror, it works all okay on XP, but for some reason it just does not run under 98 or 2000
I have a virgin 98 and 2000 installation as a test bed.
Any ideas?
Joost Verburg
16th April 2004 15:16 UTC
What is the error code?
b_avery@yahoo.c
16th April 2004 15:41 UTC
Not getting an error code.
Here is the code:
# Downloads NSIS 2.0 Beta 3a from a max of 10 mirrors
Push "http://domain/Setup.exe"
Push 1
Push "$EXEDIR\Setup.exe"
Call DownloadFromRandomMirror
Pop $0
StrCmp $0 "cancel" 0 +3
MessageBox MB_OK "Download cancelled"
Goto End
StrCmp $0 "success" 0 +3
MessageBox MB_OK "Download OK"
StrCpy
Goto End
MessageBox MB_OK "Error $0"
End:
deguix
17th April 2004 03:46 UTC
At least could you give a link to the page where the function code is located?
b_avery@yahoo.c
17th April 2004 06:50 UTC
Sorry, I'm using the one in the Archive
http://nsis.sourceforge.net/archive/...php?pageid=384
deguix
17th April 2004 15:06 UTC
Your're using only 1 link, you should download the file with this simple command below, and get rid of the function:
NSISdl
::download"FileLink"
Replace "File Link" with the wanted link to the on-line file.