Soren Andersen wrote:

> . This being the case I wonder if a command-line UnZipper (even your Perl
> solution) couldn't expand it to a temp directory for automated
> installation. I am pretty interested in this.

I tried Info-Zip's unzip; this did not find the EOCD signature that's
expected
of .ZIP files.

> I don't have time to go read the docs right now on zip to see whether basic
> console zip can expand exe-ified (self-extracting) zip archives. I assume
> you know.

Most self-extracting zip archives END with a real zip file. So the
strategy
of looking at the last 4K bytes of an EXE file for an EOCD signature
(and
looking for the EOCD there) works.

This is because they have to START with regular PE header stuff.

But unzip didn't find the signature.

Now you've got me curious. It would be interesting to know what format
the .EXE was. It is possible that WinZip knows about InstallShield's
format,
whatever that is (.CAB?).

I don't know anything about the .CAB format. Anyone have any info on
this?

Perhaps it's time for Archive::CAB?

-- 
Ned Konz
currently: Stanwood, WA
email:     [EMAIL PROTECTED]
homepage:  http://www.bike-nomad.com

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to