Possible to create Solid Archives?

Jul 29, 2009 at 4:39 PM

So far this library has been absolutely great for me after using many other less polished ones, is it possible to create Solid Archives with it? I've tried digging around but have been unable to find anything that would allow me to do so.

Jul 29, 2009 at 5:14 PM

I dug up some more on this, and the command switch for solid archiving should be 'ms=on' according to these pages:

http://www.7-zip.org/faq.html

http://dotnetperls.com/7-zip-examples

However whenever I attempt to do that with the following code I scrapped from the main page here:

            cmp.CustomParameters.Add("ms", "on");

It throws an exception when running (I'm assuming the ms parameter no longer exists, I think I ran into that issue a while back when trying to do this with command-line).

Jul 29, 2009 at 5:35 PM

Oof, I apologize, it seems that solid archiving is actually the default! I was thrown off initially by a few KB difference in file size on one of my tests and assumed the larger file (using this library) simply wasn't a solid archive, but it is.

(Also it seems instead of using 'ms' it's now simply 's', for setting Solid on/off)

Sorry for the trouble, and thanks for the great library!

Coordinator
Jul 29, 2009 at 5:40 PM
Edited Jul 29, 2009 at 5:43 PM

Well, 7-zip archives are solid by default. Zip archives can't be made solid with the 7-zip archiver. This information was taken from 7-zip.chm of the 7-zip installation.

Update:

funny thing, we posted messages at the same time :)

Thanks a lot for your words! I am working hard on this project.