Specifying compression algorithm in 7-zip actions


(Christoph Hillefeld) #1

I recently had to change the compression algorithm used for our zip archives to lzma.
Unfortunately FinalBuilder’s 7z actions don’t have an option to pick the algorithm so I had to call 7z from the command line.

It would be convenient to have this setting available in the action directly.

(Vincent Parrett) #2

On the Archive Options tab, there is an Archive Type option, is that what you are looking for?

(Christoph Hillefeld) #3

Not quite.
Changing the archive type will also change the default algorithm used. But what I need is to keep the archive type the same (due to technical limitations we have to use zip instead of 7z) and change only the algorithm.

In the 7zip GUI it would be this option:

The corresponding commandline would be something like 7z a -tzip -mm=lzma ...

(Vincent Parrett) #4

Hi Christoph

Please try this build


I have added the Compression Method option.

(Christoph Hillefeld) #5

That’s exactly what I was looking for.
Thank you.