CustomParameters Argument exception: Value does not fall within the expected range.

Nov 24, 2013 at 8:03 AM

Currently creating multivolume archives is not supported for zip files (and even if it was, the type of VolumeSize-property is int, so creating >~2gb volumes would be impossible nevertheless), so I'm trying to achieve this by doing
zip.CustomParameters.Add("v", "2500m");
However, after that when I call zip.CompressDirectory, ArgumentException is thrown with message "Value does not fall within the excepted range.", stacktrace tells that it happens at SevenZip.ISetProperties.SetProperties(IntPtr names, IntPtr values, Int32 numProperties).

Any suggestions?