Skip to content
⌘ NSIS Forum Archive

Extract then recompress a file in a zip archive

5 posts

fabiochelly#

Extract then recompress a file in a zip archive

Hi,

I need to extract a file from zip archive, modify it then recompress it in the archive.

I saw the ZipDLL but it seems to be able to unzip files only.

Is there a way to do it with NSIS?
flizebogen#
You could use the cli version shipped with 7zip (7z.exe) but this would increase the overhead for ca. 110 KB.
{_trueparuex^}#
He means the command line version of the 7-zip. You can download it separately here http://www.7-zip.org/download.html
But I am not so sure if it can pack zip files. 😕