Archive: ExtractDLL, an extension DLL to decompress files


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


now all we need is that dll to do unzip as well :D

unless there is already one that i've missed..
:weird:


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.


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:]


It should not be very difficult to write such an extension DLL, I actually have some source code for zip uncompression on my disk.


i'm missing an example with that DLL


Latest NSIS Update contains an example for this plug-in.


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