Re: .ZIP vs. .EXE extraction

From: root/administrator (administrator_at_dev.null.dnsalias.net)
Date: 07/02/04


Date: Fri, 02 Jul 2004 20:07:05 GMT

Larry I Smith wrote:

> root/administrator wrote:
>> Larry I Smith wrote:
>>
>>
>>>root/administrator wrote:
>>>
>>>>How can one extract a ZIP file that has .EXE extension? I tried using
>>>>"unzip -x" to no avail.
>>>>
>>>
>>>Hmm, the '-x' option to unzip tells it which files NOT to extract.
>>>
>>>The linux version of 'unzip' should be able to extract
>>>the contents. Here's the text from 'man unzipsfx':
>>>
>>>"Regular unzip may still be used to extract the embedded archive as with
>>>any normal zipfile, although it will generate a harmless warning about
>>>extra bytes at the beginning of the zipfile."
>>>
>>>So, if the file is named 'junk.exe', try this command:
>>>
>>> unzip junk.exe
>>>
>>>Regards,
>>>Larry
>>>
>>
>>
>> Here is what I got doing an "unzip junk.exe":
>>
>> Archive: junk.exe
>> End-of-central-directory signature not found. Either this file is not
>> a zipfile, or it constitutes one disk of a multi-part archive. In the
>> latter case the central directory and zipfile comment will be found on
>> the last disk(s) of this archive.
>> unzip: cannot find zipfile directory in one of junk.exe or
>> junk.exe.zip, and cannot find junk.ZIP, period.
>>
>
> Hmm, I would suspect a corrupted archive within the 'exe'.
>
> Does it self-extract OK on a Windows pc?
>
> It could be that it was created with the PKZIP version of
> 'zip' rather than with the InfoZip platform-portable
> version of 'zip'. If that is the case, you have one choice:
>
> 1) unzip it on a Windows pc (by executing it); then create
> a simple '.zip' file from the unzipped content. the new
> '.zip' file will be readable by the unix/linux 'unzip'.
>
> Regards,
> Larry
>

Yes, I copied the .exe file to diskette and took it to Win2k3 to extract
without a problem. I took the file back to my SuSE-9.1Pro machine did a
comparison with no error. But, the "unzip .exe" would give me the error
messages.

-- 
root/administrator


Relevant Pages

  • Re: application
    ... larry wrote: ... there is no program tab, or close on exit box, only ... In that case your *.exe is not a 16-bit DOS app. ... But you still want to get the console window to stay open. ...
    (microsoft.public.windowsxp.general)
  • Re: Question about installations
    ... > Hi Larry, ... > have done in my code was increased the array size from 60,000 to 200,000. ... What the problem will be is if something that your exe depends on has been ... If you originally compiled in in vb6 with service pack 1 but you've ...
    (microsoft.public.vb.general.discussion)
  • Re: The greatest men ever
    ... [Picks up map] ... LARRY: Hmm, I knew I should've taken that left turn at Albuquerque. ...
    (rec.humor)
  • Re: pack a data file into EXE application
    ... "larry" wrote in message ... > I wonder is anyway I can pack the data file into the EXE file? ...
    (microsoft.public.vc.mfc)
  • Re: The greatest men ever
    ... [Picks up map] ... LARRY: Hmm, I knew I should've taken that left turn at Albuquerque. ...
    (rec.humor)