How to do an update after Saving a file using the Zip64Option

Aug 30, 2012 at 2:04 PM

Previously in my code I had added a directory, did a Save() of the archive, calculated the uncompressed size, added a Manifest to the archive using the AddFile() method and then did another Save() method to write the archive with the Manifest.  This worked fine until we started using the Zip64Option parameter.

When the archive is modified after it's been saved it was corrupted.

We re-wrote the code to add the Manifest prior to saving the archive; however, we'd like to know if there is a correct way to add a file after the archive has been saved - a way that doesn't corrupt the file when it is Saved a second time.

Thanks in advance,

David