Enterprise Client

2 Bronze

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?

Package in question:

http://en.community.dell.com/techcenter/enterprise-client/w/wiki/3853.xps-14-l421x-windows-7-driver-...

Thanks for your help!

Solutions (2)

Accepted Solutions
4 Beryllium

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.

View solution in original post

Community Accepted Solution
2 Bronze

Sorry to revive an old thread but Warren Byle your method worked flawlessly for me on 2 3440's.

Step 1: use 7zip or winrar etc to extract the .cab file to a directory

Step 2: create .bat  inside either x86 or x64 folder in the extracted directory containing the line of code you provided.        
                                              
for /f %%i in ('dir /b /s *.inf') do pnputil.exe -i -a %%i

Step 3: Run .bat

View solution in original post

Community Accepted Solution
Replies (9)
4 Beryllium

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.

View solution in original post

Community Accepted Solution
2 Bronze

Thanks for the quick response Warren. That person will come in on Friday, and I will give your method a try. I'll let you know how it will go.

One more question, do I have to install the drivers in a particular order? I notice you just order them by file size in code you provided.

4 Beryllium

No, the PNPUTIL tool will parse the files in logical order and put the drivers into the driver store. 

2 Bronze

Sorry to revive an old thread but Warren Byle your method worked flawlessly for me on 2 3440's.

Step 1: use 7zip or winrar etc to extract the .cab file to a directory

Step 2: create .bat  inside either x86 or x64 folder in the extracted directory containing the line of code you provided.        
                                              
for /f %%i in ('dir /b /s *.inf') do pnputil.exe -i -a %%i

Step 3: Run .bat

View solution in original post

Community Accepted Solution
3 Silver

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!

2 Bronze

batch file worked like a charm!  Thanks!!

2 Bronze

Is there a tutorial how I create the .bat ?  when i run the bat do i cmd: run .bat?  

2 Bronze

We can also use the expand command instead of third-party compression utilities.

Expand –F:* "Source.cab" "Destination Path"

For example:

Expand –F:* "S:\Shares\sources\New Drivers\*.cab" "S:\Shares\sources\New Drivers\Not Imported"

2 Bronze

Try:

at command prompt (as admin):

start /wait pkgmgr /ip /m:c:\folder\nameofcab.cab /quiet

<*replace folder where cab is located and nameofcab with the name of the cab*>

Top Contributor
Latest Solutions