Extracting drivers from exe that doesn't have cmd extract switch

Page 1 of 2 12 LastLast

  1. Posts : 13
    Windows 10 Pro, 1809
       #1

    Extracting drivers from exe that doesn't have cmd extract switch


    I am in the process of building custom images for deployment. Part of that of course is to include the required drivers. Usually I would extract the needed .inf files from the executable for whatever I was needing, i.e. LAN, Chipset, Graphics, etc, from cmd with the appropriate switch. I have run into a few executables where there is no cmd switch for extracting. I have searched and can't find anything more than things like open archive and copy the contents, run the exe and get the contents of the temp folder that it puts things into. The problem with that is running it tells me my system is not compatible(which it isn't) and opening the archive doesn't reveal anything useful.

    What I am needing to know is a way to get the files I need from these .exes. These .exe are the drivers from the MB manufacture. I would prefer to stick with what they sent us as these are custom spec'd boards.

    Thank you for any help.
      My Computers


  2. Posts : 13,995
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #2

    Extract in Win10 works in File Explorer to get the contents of a .zip [maybe other formats] compressed file put in a Folder on the drive. Decompiling an .exe file to retrieve a specific may take a program not usually included in the Home/Core version of the OS. Some .exe files such as can be created in WinZip and other such programs are useful in extracting a .zip file into a Folder when there is no compress/decompress program installed, was quite useful back in the Bulletin Board days for downloads of Shareware.

    For custom spec'd devices it probably is best to get the necessary files in a .zip format so as to be universally usable.
      My Computers

  3.   My Computer


  4. Posts : 4,224
    Windows 10
       #4

    Thanks @SIW2. I will play with this. Intel .exe only files are the least accessible to me. I'll see what I can do with UniExtract on some of those files.
    --Ed--
      My Computers


  5. Posts : 17,661
    Windows 10 Pro
       #5

    I would just export the drivers from your reference machine, if that has the same board than machines onto the image will be deployed. It's then an easy task to inject those drivers to deployment image. See tutorial: DISM - Add or Remove Drivers on an Offline Image | Windows 10 Tutorials

    This...

    Extracting drivers from exe that doesn't have cmd extract switch-image.png

    … results this:

    Extracting drivers from exe that doesn't have cmd extract switch-image.png

    Kari
      My Computer


  6. Posts : 31,611
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #6

    Berton said:
    ,,,Decompiling an .exe file to retrieve a specific may take a program not usually included in the Home/Core version of the OS...
    Normally these type of .exe files are self-extracting archives, so there's an archive in there somewhere if only you could open it. I usually find that adding a .7z extension to the .exe file will open it it 7-Zip File Manager which can handle most archive formats.
      My Computers


  7. Posts : 13
    Windows 10 Pro, 1809
    Thread Starter
       #7

    UniExtractor2 said it couldn’t find anything.


    Kari said:
    I would just export the drivers from your reference machine, if that has the same board than machines onto the image will be deployed. It's then an easy task to inject those drivers to deployment image.
    The goal is to be able to do this with out one. I am using MDT and trying to get the .inf files to inject into the image. It may not be able to be done without a reference computer and ultimately I will do what I need to. But before I get to that point I want to exhaust as many other options as I can.


    Bree said:
    Normally these type of .exe files are self-extracting archives, so there's an archive in there somewhere if only you could open it. I usually find that adding a .7z extension to the .exe file will open it it 7-Zip File Manager which can handle most archive formats.
    Did this and didn’t see any .inf or the like type files.


    The graphics and the USB 3.0 driver installation executable are the current ones I am working with.

    Thank you guys for your advice so far.
      My Computers


  8. Posts : 13
    Windows 10 Pro, 1809
    Thread Starter
       #8

    Kari said:
    I would just export the drivers from your reference machine, if that has the same board than machines onto the image will be deployed. It's then an easy task to inject those drivers to deployment image. See tutorial: DISM - Add or Remove Drivers on an Offline Image | Windows 10 Tutorials

    This...

    Extracting drivers from exe that doesn't have cmd extract switch-image.png

    … results this:

    Extracting drivers from exe that doesn't have cmd extract switch-image.png

    Kari
    Is there a way to do this but by type of drivers? For example only export the LAN drivers once. Then export the graphics drivers, etc. I am using MDT to create my images and would like to be able to keep things separated.
      My Computers


  9. Posts : 4,564
    several
       #9

    Is there a way to do this but by type of drivers?

    I use dism++ to export drivers and a lot of other things.

    Extracting drivers from exe that doesn't have cmd extract switch-dism-export-drivers.jpg

    Dism++ | New Windows Utility
    Last edited by SIW2; 30 Jul 2018 at 15:21.
      My Computer


  10. Posts : 913
    CP/M
       #10

    Afaik there is no universal way to extract drivers from exe. Some can be extracted using 7zip, some not. Some can be acquired by running exe, finding install dir in temp & copy it before cancelling installer.

    Also you can check website of mobo manufacturer, drivers are often offered both as exe and as zip archive.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:53.
Find Us




Windows 10 Forums