Is it possible to install these .CAB driver packages manually?
I have a special case user who just installed a copy of stock Win7 Professional on his XPS 14 laptop. Is it possible to install the driver .CAB package without going through the re-imaging process? Can i use pkgmgr.exe in command prompt to install the package manually?
Yes you can create a batch file in the appropriate architecture folder (x86 or x64) of your extracted CAB file, and include the following line in the batch file
for /f %%i in ('dir /b /s *.inf') do pnputil.exe -i -a %%i
It should recurse the folders and install the drivers. You will need admin access for the drivers to install.
I've only tried it once, so let me know if it works for you.
Warren Byle thank you so much for this solution! You have just saved me hours of running installers!!! The batch file works perfectly.
FYI you may have to approve a few of the installers along the way - it's not completely hands-off. However, all of the drivers are installed in about 3-4 minutes!
I used the same very helpful solution but I had to review a bit the batch string:
for /f "delims=" %%i IN ('dir /B /S *.inf') DO pnputil.exe /add-driver "%%i" /install
explanation:
"delims=" is useful if you have spaces in the path where you are working
/add-driver "%%i" /install will add the driver and it will install in the path retrieved from the FOR; also here I used " " to take all the path if you have spaces.
DELL-Warren B
1 Rookie
•
1124 Posts
37634
7
Posted October 16th, 2013 09:00
Yes you can create a batch file in the appropriate architecture folder (x86 or x64) of your extracted CAB file, and include the following line in the batch file
for /f %%i in ('dir /b /s *.inf') do pnputil.exe -i -a %%i
It should recurse the folders and install the drivers. You will need admin access for the drivers to install.
I've only tried it once, so let me know if it works for you.