Write-Zip throws exception on -Append

Topics: User Forum
Jan 21 at 5:46 PM

I'm developing a script to handle some backups by compressing several different directories, and I would like to put them all into the same .zip file.  The first Write-Zip creates the target file, and then successive calls use the -Append switch:

Write-Zip $SourceDir -IncludeEmptyDirectories -Append -OutputPath $Target

Each of these calls results in the following exception:

Write-Zip : Extra data extended Zip64 information length is invalid
At line:1 char:10
+ Write-Zip <<<< $SourceDir -IncludeEmptyDirectories -Append -OutputPath $Target
+ CategoryInfo : OpenError: (D:\Data\Data...21-11-14-17.zip:UnresolvedPscxPathImpl) [Write-Zip], ZipException
+ FullyQualifiedErrorId : ZipOpenFail,Pscx.Commands.IO.Compression.WriteZipCommand

Am I doing something wrong here? What do I check?

 

Thanks in advance!

Feb 7 at 11:43 PM
Did you have some news/solution?
I have the same issue.
Coordinator
Feb 9 at 1:21 AM
Well, I can duplicate the error. I'll try to take a look at it this weekend.