ExtractDLL plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
mNo edit summary
m (ExtractDLL moved to ExtractDLL plug-in)

Revision as of 19:18, 27 December 2005

Author: sunjammer (talk, contrib)


Links

Extractdll.zip (66 KB)

Description

Version: 0.1.

Written by Tim Kosse aka CodeSquid this plugin can decompress files compressed with compressfile.exe.

The following is taken from the readme file in the ExtractDLL downloadable zip file:

What is this?
-------------

  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.

Usage
-----

  Decompression (within NSIS script):
  - Push path and name of compressed file and then path and name of 
    destination file on top of the stack.
  - Call the function "extract" with CallInstDLL
  - On Success, the string "success" is on top of the stack, else an 
    error message.
  
  Compression (outside NSIS script or using !system):
  - Call CompressFile.exe with the name of the uncompressed file and 
    of the compressed file as parameters

Known limitations
-----------------

  Only zlib compression at this time, bzip2 will follow later.