4
Vote

MultiVolume is not working for CompressFiles method

description

If I define VolumeSize, then invoke CompressFiles method to archived one or more files, there isn't any archived files created and without any exception.
My code is like:
Dim z7 As New SevenZip.SevenZipCompressor
z7.VolumeSize = 1000000
z7.CompressFiles(zipFile, fi.FullName)
 
I checked the source code(Aug 26 version), in SevenZipCompressor.cs, line 1097, I think it should be added "_volumeSize == 0" to this if statement.
Hope it can help you to fix it.
Thanks.

comments

kkz wrote Sep 1, 2011 at 11:03 PM

Same problem,
wait for solution or bug fixe.
Also, very good integration in vb.net 2010 project. Work fine without multipart volume.

wrote Feb 22, 2013 at 1:16 AM

wrote Mar 14, 2013 at 9:27 AM

vbwebprofi wrote Mar 14, 2013 at 12:22 PM

I have added a not fully tested but pattern implemented patch, see #14085 [1] . Download of SevenZipCompressor.cs (zipped) is available under id #637889.


[1] Patch list
http://sevenzipsharp.codeplex.com/SourceControl/list/patches

[2] Patch download #637889
http://www.codeplex.com/Download?ProjectName=sevenzipsharp&DownloadId=637889

wrote May 16, 2013 at 11:00 AM