Archive: Internal compression format


Internal compression format
We use an internal compression file format at my work which I believe uses zlib. Would there be issues using NSIS with these files? I'm inclined to think that I'm crazy but I need to check regardless.


When you mean, would there be a problem, do you mean will NSIS be able to compress these files?

If so, yes it should be able to; even if you use lzma (which should compress them more).

-Stu


Originally posted by Afrow UK
When you mean, would there be a problem, do you mean will NSIS be able to compress these files?
Yes, mainly. I am concerned compressing the files in NSIS might ruin the data somehow.

You can include any files, NSIS won't ruin your data. Even compressing a file twice won't ruin data, it will only be a little bit slower.

If you include compressed files you may want to disable the NSIS compression to save decompression time, see the users manual for details.

If you want the NSIS installer to compress or decompress your custom-format files you can call an external application or create an NSIS plug-in.