Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Dechy

Windows 7 DISM & driver packages

Recommended Posts

I've read many a blog, forums, even listened to the official MS video on the tool... getting any driver to integrate in the offline image doesn't work at all, keep getting errors on any INF I try.

Basically I mount the image, nothing hard there, then I expand/extract drivers from the downloaded packages from say ATI and then use the /add-driver /driver:(driver location).

It parses the folder, finds the INF files but then gives errors. Going through the DISM.LOG all I get is that error 0x8007001E is causing the problem and obviously searching on that error doesn't help as there basically zero information about this tool anywhere...

I'm just starting to work on W7 for work, and DISM seems extremely promising, love the idea of packaging the INSANE mess of drivers we have (over 1.5GB) and the supposedly ease of integrating / removing then from an offline mounted image.

Anyways, any help appreciated.

Thanks.

Share this post


Link to post
Share on other sites

Actually, was just able to integrate NIC drivers fine now, but ATI drivers, even the new 9.3 catalyst (downloaded just the driver portion for now) give errors...

Ok, I got other small drivers working as well, but if it has something to do with video, it definitely doesn't work, seems like it's because they're compressed and DISM can't decompress them??

All other drivers were flat out all decompressed (no .dl_ or whatever) and seemed to work. Better get fixed on either MS's side or the driver providers, or keeping tabs on drivers will be more cumbersome that it was before... rather it be ALL old school driver paths or all "new age" packages through DISM than both at the same time...

Edited by Dechy

Share this post


Link to post
Share on other sites

Same here with NVidia drivers.

I've tried both 181.71 (Win7) and 182.08 (Vista) with no luck. The Win7 drivers are terrible under Win7. Oddly enough, the Vista version works fantastic!

I've also tried SoundMAX drivers with poor results. Seems at least the NVidia drivers get parsed at least...

About the only thing that worked for me is an IR device driver (for my PVR program).

:(

Share this post


Link to post
Share on other sites

Deployment Image Servicing and Management tool
Version: 6.1.7000.0

Image Version: 6.1.7000.0

Searching for driver packages to install...
Found 8 driver package(s) to install.
Installing 1 of 8 - E:\wimMOUNT\pnpDrivers\1\agrsmv32.inf: The driver package wa
s successfully installed.
Installing 2 of 8 - E:\wimMOUNT\pnpDrivers\2\wdma_emu.inf: The driver package wa
s successfully installed.
Installing 3 of 8 - E:\wimMOUNT\pnpDrivers\3\iaahci.inf: The driver package was
successfully installed.
Installing 4 of 8 - E:\wimMOUNT\pnpDrivers\3\iastor.inf: The driver package was
successfully installed.
Installing 5 of 8 - E:\wimMOUNT\pnpDrivers\4\E1e6032.inf: The driver package was
successfully installed.
Installing 6 of 8 - E:\wimMOUNT\pnpDrivers\4\E1g6032.inf: The driver package was
successfully installed.
Installing 7 of 8 - E:\wimMOUNT\pnpDrivers\5\LXDCprc.inf: Error - An error occur
red. The driver package could not be installed.
For more information, check for log files in the <windir>\inf folder of the targ
et image.
Installing 8 of 8 - E:\wimMOUNT\pnpDrivers\6\NVIDIA_7300GT_X86.inf:

only problem is my old Lexmark printer

NVIDIA 181.20_geforce_winvista_32bit_english_whql works fine with Seven here

Share this post


Link to post
Share on other sites

Could it be my version of 7? I'm vivisecting 7068 currently and trying to keep as up to date with the 7s as possible.

If you can MaxXP, what directories are your drivers in and what was the command line? I'd hate to think I foibled something...

I notice you have a pnp directory..I'm just pointing DISM to an x:\drivers\nVidia folder. <shrug>

I mount with DISM:

DISM /MOUNT-WIM /WIMFILE:D:\UA7\SOURCES\INSTALL.WIM /INDEX:1 /MOUNTDIR:D:\TEMP

Add drivers:

DISM /IMAGE:D:\TEMP /ADD-DRIVER /DRIVER:D:\DRIVERS\NVIDIA

Unmount:

DISM /UNMOUNT-WIM /MOUNTDIR:D:\TEMP /COMMIT

Quite simple, no?

Be aware that this works for my IR drivers...

Edited by razormoon

Share this post


Link to post
Share on other sites

you posted the muiz link but i am using the recurse switch. still trying to get all my updates to install so still messin with it.

Share this post


Link to post
Share on other sites

What recurse are you referring to? I'm trying to point to different directories, even parent. I'm not sure what DISM is looking for. I'd like to know what was your command that made it recursive as I can not figure it out for DISM.

As for parent, I thought an heirarchy of x:\Drivers\display x:\drivers\sound and x:\drivers\printers and point DISM to x:\drivers would work. I don't think so.

EDIT: FYI - I just learned that there is a /forceunsigned switch to add driver (not tested)

DISM /IMAGE:D:\TEMP /ADD-DRIVER /DRIVER:D:\DRIVERS\NVIDIA /FORCEUNSIGNED

ALSO - figured out /recurse :blushing: don't know how to use it yet

Edited by razormoon

Share this post


Link to post
Share on other sites

Tried a few other things including the expand command with nothing to show.

Without Expand command:

~

flq: {_commit_file_queue}
flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=37
flq: {_commit_copy_subqueue}
flq: subqueue count=37
flq: source media:
flq: SourcePath - [d:\vista\drivers\display]
flq: SourceFile - [dpinst.exe]
flq: Flags - 0x00000000
flq: {_commit_copyfile}
!!! flq: Error installing file (0x0000001e)
!!! flq: Error 30: The system cannot read from the specified device.
! flq: SourceFile - 'd:\vista\drivers\display\dpinst.ex_'
flq: TempFile - 'd:\temp\Windows\System32\DriverStore\FileRepository\nv_disp.inf_x86_neutral_a19062f1858dc8d5\SET4DE1.tmp'
! flq: TargetFile - 'd:\temp\Windows\System32\DriverStore\FileRepository\nv_disp.inf_x86_neutral_a19062f1858dc8d5\dpinst.exe'
flq: {SPFQNOTIFY_COPYERROR}
!!! sto: Failed to copy file 'd:\vista\drivers\display\dpinst.ex_' to 'd:\temp\Windows\System32\DriverStore\FileRepository\nv_disp.inf_x86_neutral_a19062f1858dc8d5\dpinst.exe'. Error = 0x0000001E
flq: {SPFQNOTIFY_COPYERROR - returned 0x00000000}
!!! flq: SPFQNOTIFY_COPYERROR: returned SPFQOPERATION_ABORT.
!!! flq: Error 995: The I/O operation has been aborted because of either a thread exit or an application request.
flq: {_commit_copyfile exit(0x000003e3)}
flq: {_commit_copy_subqueue exit(0x000003e3)}
!!! flq: FileQueueCommit aborting!
!!! flq: Error 995: The I/O operation has been aborted because of either a thread exit or an application request.
flq: {_commit_file_queue exit(0x000003e3)}
!!! sto: Failed to copy driver package to 'd:\temp\Windows\System32\DriverStore\FileRepository\nv_disp.inf_x86_neutral_a19062f1858dc8d5'. Error = 0x0000001E
!!! sto: Failed to import driver package into Driver Store. Error = 0x0000001E
<<< Section end 2009/04/03 16:07:19.990
<<< [Exit status: FAILURE(0x0000001e)]

With Expand command:

~

flq: source media:
flq: SourcePath - [d:\driver]
flq: SourceFile - [nvd3dum.dll]
flq: Flags - 0x00000000
flq: {_commit_copyfile}
!!! flq: Error installing file (0x00000002)
!!! flq: Error 2: The system cannot find the file specified.
! flq: SourceFile - 'd:\driver\nvd3dum.dll'
! flq: TargetFile - 'd:\temp\Windows\System32\DriverStore\FileRepository\nv_disp.inf_x86_neutral_a19062f1858dc8d5\nvd3dum.dll'
flq: {SPFQNOTIFY_COPYERROR}
!!! sto: Failed to copy file 'd:\driver\nvd3dum.dll' to 'd:\temp\Windows\System32\DriverStore\FileRepository\nv_disp.inf_x86_neutral_a19062f1858dc8d5\nvd3dum.dll'. Error = 0x00000002
flq: {SPFQNOTIFY_COPYERROR - returned 0x00000000}
!!! flq: SPFQNOTIFY_COPYERROR: returned SPFQOPERATION_ABORT.
!!! flq: Error 995: The I/O operation has been aborted because of either a thread exit or an application request.
flq: {_commit_copyfile exit(0x000003e3)}
flq: {_commit_copy_subqueue exit(0x000003e3)}
!!! flq: FileQueueCommit aborting!
!!! flq: Error 995: The I/O operation has been aborted because of either a thread exit or an application request.
flq: {_commit_file_queue exit(0x000003e3)}
!!! sto: Failed to copy driver package to 'd:\temp\Windows\System32\DriverStore\FileRepository\nv_disp.inf_x86_neutral_a19062f1858dc8d5'. Error = 0x00000002
!!! sto: Failed to import driver package into Driver Store. Error = 0x00000002
<<< Section end 2009/04/03 15:54:24.351
<<< [Exit status: FAILURE(0x00000002)]

I can assure you that nvd3dum.dll is definitely there!

....time to drink a beer....

Edited by razormoon

Share this post


Link to post
Share on other sites

DISM.exe /image:<path_to_mounted_image_directory> /Add-Driver /driver:c:\drivers /recurse

Share this post


Link to post
Share on other sites

Lord knows I love my M$, but I feel a hernia coming on thinking of Vista.

I've been doing all of this from within W7 which could be my problem. :}

Share this post


Link to post
Share on other sites
Dechy, which ATI driver packages are you trying to intergrate?

Sorry, was gone on vacation, holy needed that :D

So, using the 9-3_vista32_win7_32_dd.exe for ATI (not touching CCC just yet), 181.71 for nVidia.

Like I've mentionned, using dism /image:c:\dism /add-driver /driver:c:\drivers\video\ati /recurse for any drivers and ATI + nVidia won't comply... Realtek sound, Broadcom NIC drivers worked fine.

Exact command line & result:

C:\Windows\system32>dism /image:c:\dism /add-driver /driver:c:\drivers\video\ati /recurse

Deployment Image Servicing and Management tool
Version: 6.1.7000.0

Image Version: 6.1.7000.0

Searching for driver packages to install...
Found 2 driver package(s) to install.
Installing 1 of 2 - c:\drivers\video\ati\CL_76828.inf: Error - An error occurred. The driver package could not be installed.
For more information, check for log files in the <windir>\inf folder of the target image.
Installing 2 of 2 - c:\drivers\video\ati\CW_77071.inf: Error - An error occurred. The driver package could not be installed.
For more information, check for log files in the <windir>\inf folder of the target image.

Error: 30

The command completed with errors. For more information, refer to the log file.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

Reading the DISM log file, both end up with the same errors (only took anything not INFO in the log)


2009-04-06 11:20:20, Warning DISM DISM Provider Store: PID=3532 Failed to Load the provider. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

2009-04-06 11:20:23, Error DISM DISM Driver Manager: PID=3532 Failed to install the driver package 'c:\drivers\video\ati\CL_76828.inf'. - CDmiDriverStore::Import(hr:0x8007001e)
2009-04-06 11:20:23, Error DISM DISM Driver Manager: PID=3532 Failed to install the driver package 'c:\drivers\video\ati\CL_76828.inf'. - CDriverPackage::InternalInstall(hr:0x8007001e)
2009-04-06 11:20:23, Error DISM DISM Driver Manager: PID=3532 d:\win7beta\base\ntsetup\opktools\dism\providers\dmiprovider\dll\driverpackage.cpp:433 - CDriverPackage::Install(hr:0x8007001e)
2009-04-06 11:20:23, Info DISM DISM Driver Manager: PID=3532 Driver package c:\drivers\video\ati\CL_76828.inf failed to install. (hr:0x8007001e). - CDriverManager::AddDriverPackagesFromCollection
2009-04-06 11:20:24, Error DISM DISM Driver Manager: PID=3532 Failed to install the driver package 'c:\drivers\video\ati\CW_77071.inf'. - CDmiDriverStore::Import(hr:0x8007001e)
2009-04-06 11:20:24, Error DISM DISM Driver Manager: PID=3532 Failed to install the driver package 'c:\drivers\video\ati\CW_77071.inf'. - CDriverPackage::InternalInstall(hr:0x8007001e)
2009-04-06 11:20:24, Error DISM DISM Driver Manager: PID=3532 d:\win7beta\base\ntsetup\opktools\dism\providers\dmiprovider\dll\driverpackage.cpp:433 - CDriverPackage::Install(hr:0x8007001e)
2009-04-06 11:20:24, Info DISM DISM Driver Manager: PID=3532 Driver package c:\drivers\video\ati\CW_77071.inf failed to install. (hr:0x8007001e). - CDriverManager::AddDriverPackagesFromCollection
2009-04-06 11:20:24, Error DISM DISM Driver Manager: PID=3532 d:\win7beta\base\ntsetup\opktools\dism\providers\dmiprovider\dll\drivermanager.cpp:1047 - CDriverManager::Internal_DoAddDriverPackage(hr:0x8007001e)
2009-04-06 11:20:24, Error DISM DISM Driver Manager: PID=3532 d:\win7beta\base\ntsetup\opktools\dism\providers\dmiprovider\dll\drivermanager.cpp:512 - CDriverManager::ExecuteCmdLine(hr:0x8007001e)

Why in gods name it's looking for that folder on D is beyond me... that's my CD drive and the only thing it's ever seen if the install DVD (which I left in).

Really at a loss for this :wacko:

And this is using plain jane build 7000 downloaded from MSDN with only Windows Updates updates installed.

Share this post


Link to post
Share on other sites

Interesting thing to note, I gave MDT 2010 a try, and it "slipstreams" the video drivers fine with no errors... I might just start using that to do all my integration now instead of command line DISM.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×