New
#1
How to extract drivers from different types of driver packages ?
Hi All,
Greets,
The objective here is to get the folder with .inf driver file :
I could not find an always working solution to extract drivers but some utilities & procedures come to my rescue. Sometimes a single utility or procedure does it all but sometimes multiple utilities and/or procedures do it for me.
(In some cases I got the .inf file in some initial steps but that was not the driver. When i double clicked the .inf file & read it to find the Device Hardware ID. It was not there. Then other procedure finally brought out the required .inf file folder & it was a totally different idea & location.)
The Utilities :
7-zip : 7-Zip
Universal Extractor : Universal Extractor - A Tool That Supports Extracting All Types of Archive Files • Raymond.CC
lessmsi : A tool to view and extract the contents of an msi file - lessmsi
UniExtract2 : UniExtract2 suggested by Sir F22 Simpilot
NOTE : While Universal Extractor is not being updated / maintained, I see UniExtract2 as the hope for future but some say it's previous version was better!
The Procedures & Practices :
1.
(a) Many times I had to keep extracting the things with 7zip one after other, & finally i got the .inf driver files. For eg. In some cases, i extracted the original driver with 7zip & after 3-4 extraction , i got a .cab file. When i extracted the .cab file with 7zip, the driver was extracted.
(b) Sometimes i needed to use multiple utilities to finally extract the driver. For eg. I extracted the driver with 7zip & got a .msi. Then i extracted .msi with LessMSI & got my driver.
2. Command Line For Extraction :
(i) READ ME FILES: Get hold to 'Readme' file for the driver. The file tells about extracting the driver without installation. This worked here for Chipset & IRST ( Intel Rapid Storage Technology driver )
The command line to extract Chipset : SetupChipset.exe -extract <PATH>
For eg. to extract it to a folder NEW ( Path 'C:\NEW' ) :
SetupChipset.exe -extract C:\NEW
The command line to extract IRST : SetupRST.exe -a -p <PATH>
For eg. to extract it to a folder NEW ( Path 'C:\NEW' )
SetupRST.exe -a -p C:\NEW
(ii) Release Notes : Sometimes Driver's Release Notes mention the command line options for driver extraction ( From a Senior! )
3. Make Out The Extraction Folder
Warning : Always make system restore point before trying this out!
When we execute a driver installer, it is extracted to a folder before installation. So, neither we have to complete the installation nor abort the installation, go to that location, copy the folder to a safe location & then abort the installation. In this way, we can extract the driver on any good OS without actually installing the driver.
In some cases, the installer itself tells/asks about the extraction folder. So, it becomes very easy.
In some cases, the driver is always extracted to a particular folder for eg. some Intel drivers.
In some cases, the readme file tells about the folder.
In some cases, the log file for the driver installation tells about it. As for IMEI.
In many cases, the driver is temporarily extracted to :
''C:\Users\USER\AppData\Local\Temp\''
It was the case for IMEI driver & Killer Wireless AC 1550 driver (The Killer driver from the Killer site!)
(The Tip was Shared by sir Traveler99 : Disable Win7n Driver signature)
4. Sometimes a procedure got me a file & then i extracted it with a utility & the driver was extracted. For eg. I got .msi file from the ''C:\Users\USER\AppData\Local\Temp\'' folder & then extracted it with LessMSI & the driver was extracted.
So. ...
Thanks & Regards. ...
EDIT : Additions From Seniors!
Last edited by Vineet Garg; 24 Sep 2019 at 07:10.