Discussion:
unpack win32 exe file
Chris Whitehouse
2008-01-05 23:10:03 UTC
Permalink
Hi

I have a Windows executable file (.exe) which in a Windows environment
would be run to extract some files which it contains. Is there any way
I can extract the files on my FreeBSD system? I've tried unzip, gunzip
and archivers/upx with various extensions, zip, exe, gz etc but they all
fail in one way or another. I know I could find a windows machine but I
would really like to know if it's possible.

Unzip looks as if it ought to do it but I get

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 iata78_enu.exe or
iata78_enu.exe.zip, and cannot find iata78_enu.exe.ZIP, period.

Thanks

Chris
Viktor Cemasko
2008-01-06 00:24:25 UTC
Permalink
Ave!
Is there any way I can extract the files on my FreeBSD system?
A version:

1. install wine port:
cd /usr/ports/emulators/wine/ && make install clean

2. download and install under wine TC:
http://www.ghisler.com/download.htm

3. use MSI Plus 0.5 plugin for TC:
http://www.totalcmd.net/plugring/msiplus.html
or use MSI 1.2 plugin for TC:
http://www.totalcmd.net/plugring/msi.html


B version:

1. install wine port:
cd /usr/ports/emulators/wine/ && make install clean

2. download and install under wine Universal Extractor:
http://legroom.net/software/uniextract
--
Üdvözlettel: "The server is unwilling
Cemasko Viktor. to process the request..." © MS
Rob
2008-01-06 15:04:02 UTC
Permalink
Post by Chris Whitehouse
I have a Windows executable file (.exe) which in a Windows environment
would be run to extract some files which it contains. Is there any way
I can extract the files on my FreeBSD system? I've tried unzip, gunzip
and archivers/upx with various extensions, zip, exe, gz etc but they all
There are many types of self-extracting archive files under windows. If
it's one that's based on PKZip, then there's a good chance you could get
it with 7-Zip: http://www.7-zip.org/ Otherwise, you need a windoze
system or emulator I suspect.

-Rob
Chris Whitehouse
2008-01-06 23:34:27 UTC
Permalink
Post by Rob
Post by Chris Whitehouse
I have a Windows executable file (.exe) which in a Windows environment
would be run to extract some files which it contains. Is there any
way I can extract the files on my FreeBSD system? I've tried unzip,
gunzip and archivers/upx with various extensions, zip, exe, gz etc but
they all
There are many types of self-extracting archive files under windows. If
it's one that's based on PKZip, then there's a good chance you could get
it with 7-Zip: http://www.7-zip.org/ Otherwise, you need a windoze
system or emulator I suspect.
-Rob
Someone else suggested 7-zip as well but still no joy. I don't think
it's worth installing Wine just for this so it's time to find a windows box

thanks for replies

Chris
Lars Kristiansen
2008-01-07 00:10:16 UTC
Permalink
Post by Chris Whitehouse
Post by Rob
Post by Chris Whitehouse
I have a Windows executable file (.exe) which in a Windows
environment would be run to extract some files which it contains. Is
there any way I can extract the files on my FreeBSD system? I've
tried unzip, gunzip and archivers/upx with various extensions, zip,
exe, gz etc but they all
There are many types of self-extracting archive files under windows.
If it's one that's based on PKZip, then there's a good chance you
could get it with 7-Zip: http://www.7-zip.org/ Otherwise, you need a
windoze system or emulator I suspect.
-Rob
Someone else suggested 7-zip as well but still no joy. I don't think
it's worth installing Wine just for this so it's time to find a windows box
Was the result with 7zip negative?
http://www.freshports.org/archivers/p7zip/

Lars
Post by Chris Whitehouse
thanks for replies
Chris
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
Chris Whitehouse
2008-01-07 23:40:31 UTC
Permalink
Post by Lars Kristiansen
Post by Chris Whitehouse
Post by Rob
Post by Chris Whitehouse
I have a Windows executable file (.exe) which in a Windows
environment would be run to extract some files which it contains. Is
there any way I can extract the files on my FreeBSD system? I've
tried unzip, gunzip and archivers/upx with various extensions, zip,
exe, gz etc but they all
There are many types of self-extracting archive files under windows.
If it's one that's based on PKZip, then there's a good chance you
could get it with 7-Zip: http://www.7-zip.org/ Otherwise, you need
a windoze system or emulator I suspect.
-Rob
Someone else suggested 7-zip as well but still no joy. I don't think
it's worth installing Wine just for this so it's time to find a windows box
Was the result with 7zip negative?
http://www.freshports.org/archivers/p7zip/
Unfortunately yes:

%p7zip -d iata78_enu.exe
/usr/local/bin/p7zip: iata78_enu.exe: unknown suffix
%mv iata78_enu.exe iata78_enu.7z
%p7zip -d iata78_enu.7z

7-Zip (A) 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06
p7zip Version 4.57 (locale=en_GB.ISO8859-15,Utf16=on,HugeFiles=on,2 CPUs)

Processing archive: iata78_enu.7z

Error: Can not open file as archive

%


Chris

Loading...