Skip to content
⌘ NSIS Forum Archive

Zip compatible installer

4 posts

jcsston#

Zip compatible installer

Can NSIS create a zip compatible installer? A exe that can be opened by WinZip/WinRar as a SFX zip?
I was told there was a plugin that allows it but have had no luck finding one.
jcsston#
Doesn't NSIS use zlib for compression?
If it does, all that would be needed would be a zip header at the start of the compressed data and a footer at the end of the exe.
kichik#
NSIS uses zlib or bzip2. But I think Justin has optimized zlib, and made it incompatible during the process. I would have to check this out to make sure.

But even if it will be done, it won't be done before NSIS 2 and would only be done if a flag has been set in the script. You should add a feature request at the SF project page for now.

There is no such plug-in that does this. Plug-ins are currently runtime only. This change would have to be made in the compiler.

This feature, if implemented, would cause a lot of internal changes to makensis, which raises the question - why? NSIS builds installers, not SFX.