|
Post by Mark on Mar 14, 2004 11:09:14 GMT -5
I am using VCLZip Pro, V 3.04, Build 1. I am creating zip files that contain a variety of file types within them. If I try to add another file to the zip using WinZip (V 8.0, 3105) I get the following error message: Error: Unsupported compression scheme detected in Zip file. Please see www.winzip.com/zip20.htm for more information. Any suggestions? Is there something I need to set differently during the zipping?
|
|
|
Post by Kevin on Mar 15, 2004 22:26:20 GMT -5
I've not seen that exact error, but, if you are a registered user, you can try the following mod to the VCLZip source and see if that gets rid of the problem. But remember if this works, you will still get that problem with zip files that have already been created before this fix... 1) Open up VCLZIP.PAS and find the following line: tmpfile_info.internal_file_attributes := UNKNOWN; and change it to: tmpfile_info.internal_file_attributes := BINARY; 2) Open up KPZIPOBJ.PAS and find the following lines: procedure TZipHeaderInfo.Clear; begin { Set up default values } Fversion_made_by := 50; Fversion_needed_to_extract := 45;
And change to the following procedure TZipHeaderInfo.Clear; begin { Set up default values } Fversion_made_by := 50; Fversion_needed_to_extract := 20; <<-- Change to 20
Let me know if this helps or not with your particular error. Thanks, Kevin
|
|
|
Post by Mark on Mar 17, 2004 8:46:09 GMT -5
Kevin, Thanks for the reply.
In file VCLZip.pas: I see three occurrences of the line you specify. All three of them are already set to BINARY. I see no instances of UNKNOWN being assigned to this. I also see this (VCS?) $LOG note { Rev 1.15.1.30.1.13 1/10/2004 4:03:00 PM Supervisor Version: VCLZip 3.X { UNKNOWN to BINARY
In file kpZipObj.pas: the line you specifiy is already present in proc TZipHeaderInfo.Clear. ("Fversion_needed_to_extract := 20;")
Mark
|
|
|
Post by Kevin on Mar 17, 2004 10:48:09 GMT -5
Oh yes, that's right, I guess those changes went into the last release. ;D Can you send me an example zip file that has this problem? One that isn't too big? Send it to vclzip@bigfoot.com
|
|