Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 4th November 2003, 01:39   #1
frankiebonez
Junior Member
 
Join Date: Nov 2003
Location: California
Posts: 12
resume dl

I'm building an installer for some quake mods and I'd also really like to have the ability to resume downloads. I saw that mceo (mahmut) was doing something for his school and there was a question as to the reliability/performance of the resume download mod made to the NSISDL plugin. Has anyone developed a better download resume capability for NSIS?

Thanks,
Frankie Bones
frankiebonez is offline   Reply With Quote
Old 5th November 2003, 16:36   #2
frankiebonez
Junior Member
 
Join Date: Nov 2003
Location: California
Posts: 12
Well.. it seems that no one cares about resume... so could someone just help me compile one of the versions of NSISDL that supports it (found here http://forums.winamp.com/showthread....esume+download)

I downloaded a C/C++ compiler and tried to assemble the DLL but I don't know almost any C code (only C I did was inside a development environment and it was weird C) or anything about compilers (see previous reason).

Thanks for any help!
frankiebonez is offline   Reply With Quote
Old 5th November 2003, 18:55   #3
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
I suggest you save yourself the trouble, skip compiling and simply use curl, wget, or any other downloader that supports resuming, if resuming is so important to you.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 5th November 2003, 19:23   #4
frankiebonez
Junior Member
 
Join Date: Nov 2003
Location: California
Posts: 12
well the goal is to keep the installer exceptionally small. Is wget included in everything back to Win95? What about Curl?
frankiebonez is offline   Reply With Quote
Old 5th November 2003, 19:28   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
None of them are included with any version of Windows. Both are external, free and open-source tools available for download on the internet.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 5th November 2003, 20:41   #6
frankiebonez
Junior Member
 
Join Date: Nov 2003
Location: California
Posts: 12
curl is about 250k, the installer approaches 300k. I still think it would be easier to use the resume version of NSISdl -- I just need a compiled version of it (or help compiling it)
frankiebonez is offline   Reply With Quote
Old 5th November 2003, 20:49   #7
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Enjoy.

The code he wrote is based on an old version of NSISdl so it contains bugs that have already been fixed and doesn't containt new features that have been added. A list of those changes can be found at:

http://cvs.sourceforge.net/viewcvs.p...ins/nsisdl.dll
Attached Files
File Type: zip nsisdl.zip (7.3 KB, 34 views)

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 5th November 2003, 21:40   #8
frankiebonez
Junior Member
 
Join Date: Nov 2003
Location: California
Posts: 12
thanks for the dll! Unfortunately it doesn't seem to actually download anything when called. It acts like it's about to do it, but nothing really happens. So I'm not so sure what's going along.

I'm going to continue to play with it and see if I can get it to work, but since then I think maybe too much has changed for everything to work together properly.

If all else fails I may just have to figure out how to adopt curl and deal with a larger installer. C'est la vie.
frankiebonez is offline   Reply With Quote
Old 6th November 2003, 03:34   #9
frankiebonez
Junior Member
 
Join Date: Nov 2003
Location: California
Posts: 12
Does this version not support timeout?

Last edited by frankiebonez; 6th November 2003 at 04:19.
frankiebonez is offline   Reply With Quote
Old 6th November 2003, 10:13   #10
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Nope:

Quote:
doesn't containt new features that have been added

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump