Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Extract .exe

  1. #1
    Join Date
    Apr 2010
    Location
    United States
    Beans
    109
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Extract .exe

    I have an executable .exe file and I would like to be able to look at it's contents. I've already tried using 7z but I got
    Code:
    Error: Can not open file as archive
    Is there another way to look at files inside?

  2. #2
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    4,427
    Distro
    Ubuntu Development Release

    Re: Extract .exe

    Quote Originally Posted by Vistz View Post
    I have an executable .exe file and I would like to be able to look at it's contents. I've already tried using 7z but I got
    Code:
    Error: Can not open file as archive
    Is there another way to look at files inside?
    Are you sure it is an archive?
    *Don't PM me directly for support, open a new thread
    *Looking for a MythTV quick start guide?

  3. #3
    Join Date
    Apr 2010
    Location
    United States
    Beans
    109
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Extract .exe

    Quote Originally Posted by tgm4883 View Post
    Are you sure it is an archive?
    When I look at the properties, it says the type is:

    Code:
    DOS/Windows executable (application/x-ms-dos-executable)
    So I'm guessing that this isn't an archive file...

  4. #4
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    4,427
    Distro
    Ubuntu Development Release

    Re: Extract .exe

    Quote Originally Posted by Vistz View Post
    When I look at the properties, it says the type is:

    Code:
    DOS/Windows executable (application/x-ms-dos-executable)
    So I'm guessing that this isn't an archive file...
    Well that doesn't tell a whole lot, but in my experience if you can't open it with archive manager then it probably isn't an archive (probably a binary file)
    *Don't PM me directly for support, open a new thread
    *Looking for a MythTV quick start guide?

  5. #5
    Join Date
    Jun 2007
    Location
    Porirua, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Extract .exe

    Short answer: Some .exe files contain archives, many (most?) don't. A file type of "exe" usually indicates that it's an MS-DOS or Windows program file, something that you'd EXEcute (i.e. run as a program) rather than use as a data file.
    Forum DOs and DON'Ts
    Never assume that information you find using a search engine is up-to-date.
    Please use CODE tags.
    A low-volume blog

  6. #6
    Join Date
    Apr 2010
    Location
    Seattle, WA, USA
    Beans
    38
    Distro
    Ubuntu Development Release

    Re: Extract .exe

    Even if you were able to extract the .EXE (MS-Win Executable) file, the individual libraries and/or .DLL files wouldn't be of any use.
    I would instead install WINE via apt-get:
    Code:
    sudo apt-get install wine
    synaptic, or the software center; and see what the .exe file runs or installs.

  7. #7
    Join Date
    Nov 2009
    Location
    Lithuania
    Beans
    Hidden!
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Extract .exe

    It might not be the best idea to run it if you don't know what it actually is though.

    This can lead to some minor inconveniences in Ubuntu with Wine (just don't ever run Wine as a root) and possibly to the total destruction of the OS in Windows. Some .exe files contain harmful code.

    Another thing to consider is that Wine might not run the file properly. You'll likely need Windows. Or you may run it via Windows with VirtualBox inside of Ubuntu, safer that way for sure.

    If you are certain the thing is an archive, installing a Windows version of 7-zip on your Wine might help as well.

  8. #8
    Join Date
    Apr 2010
    Location
    United States
    Beans
    109
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Extract .exe

    Quote Originally Posted by calavier62 View Post
    Even if you were able to extract the .EXE (MS-Win Executable) file, the individual libraries and/or .DLL files wouldn't be of any use.
    I would instead install WINE via apt-get:
    Code:
    sudo apt-get install wine
    synaptic, or the software center; and see what the .exe file runs or installs.
    I already have Wine. But I wanted to see what the files looked like before I ran it.

  9. #9
    Join Date
    Oct 2007
    Location
    Europe
    Beans
    3,564
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Extract .exe

    Quote Originally Posted by Vistz View Post
    I already have Wine. But I wanted to see what the files looked like before I ran it.
    try peazip, peazip can sometimes open and extract simple .exe and .msi files.

  10. #10
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    8,474

    Re: Extract .exe

    Hexedit

    Here is the file format:
    http://www.skyfree.org/linux/references/coff.pdf

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •