CodeSquid
1st August 2002 15:22 UTC
ExtractDLL, an extension DLL to decompress files
ExtractDLL is a extension DLL for NSIS. It can decompress files
which were compressed with compressfile.exe before. It is especially
useful in combination with NSISdl so that you don't have to
download large files uncompressed.
In short: If you use NSISdl to download large files, you may use this extension DLL so that you can transfer the files compressed.
You compress the files and put them on your server. Then your installer downloads the files with NSISdl and decompresses them with ExtractDLL.
Of course there may be other reasons to use ExtractDLL, but it's up to you to find them.
Tested with NSIS 2.0a2
snowchyld
1st August 2002 15:24 UTC
now all we need is that dll to do unzip as well :D
unless there is already one that i've missed..
:weird:
CodeSquid
1st August 2002 15:31 UTC
unzip? I won't use zip file in installers, zips have way too large headers :(
Now I'm writing a program that builds very basic archives and compresses them. ExtractDLL will be able to decompress them and some simple NSIS script functions will extract the individual files from the archive.
That will be much better than the old and ugly :D zip files.
snowchyld
1st August 2002 15:35 UTC
hmm well at the moment i'm trying to write an installer that pulls zips from the server [does that fine] and then unzips them, the thing is, the guys who are using the file uploads always zip them [lowest common denominator, and the update packaging which downloads them also unzips..
how difficult will it be to write a straight up unzip dll for NSIS [yeah im slowly getting back into C, hence the questions :weird:]
CodeSquid
1st August 2002 15:41 UTC
It should not be very difficult to write such an extension DLL, I actually have some source code for zip uncompression on my disk.
Yathosho
1st May 2003 10:46 UTC
i'm missing an example with that DLL
kichik
1st May 2003 11:05 UTC
Latest NSIS Update contains an example for this plug-in.
Sunjammer
1st May 2003 11:15 UTC
Originally posted by snowchyld
now all we need is that dll to do unzip as well :D
unless there is already one that i've missed..
:weird:
http://nsis.sourceforge.net/archive/....php?pageid=56