PDA

View Full Version : Unzip problem



bolle@ebro.com
11-05-2015, 01:51 AM
Hi Friedrich,

we're occasionally experiencing problems with zip files. During unzip sometimes the message "insert disk 2 of 1" or "insert disk 1 of 1" appears. This is, however, hard to reproduce.

Any ideas ?

Regards

Gunnar

linder
11-05-2015, 02:43 AM
Gunnar,

This means that the ZIP archive is corrupt. Perhaps caused by the protection software or a transmission problem.

Hope this helps a bit.

Friedrich

bolle@ebro.com
11-05-2015, 08:04 AM
Nope, the zip file is ok. I can extract it with Winrar and Winzip without problems.

Gunnar

linder
11-06-2015, 03:01 AM
Is this a PKWARE ZIP 2.04g industry-standard archive format? Can you extract it with Windows Explorer (without an external tool), just the built-in ZIP functionality in Windows (which also supports the industry-standard ZIP format).

BTW, we are using the LSZip library to process ZIP files. This component is used on 20+ million machines worldwide since 1997. LSZip is certified (by Phil Katz of PKWARE, the developers of PKZIP) to be 100% PKWARE 2.04g archive format compatible.

It's very well possible that an external process (anti-spyware; anti-virus) monitors the ZIP file during the unzip process and this causes it. It suddenly detects an end-of-stream (because the external process locks it) and switches into multi-archive mode. There is a fundamental difference between unpacking a file using WinZip or Winrar and unzipping a file as part of a setup. Most setup processes are permanently real-time monitored at runtime. BTW, the ZIP component is feature and code complete (for more than 5 years) and there will not be any update in the future. It is very unlikely that there is a bug in the ZIP component.

Friedrich