Windows 7 DISM & driver packages Just can't get it working...
#1
Posted 25 March 2009 - 10:20 AM
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.
#2
Posted 25 March 2009 - 10:59 AM
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...
This post has been edited by Dechy: 25 March 2009 - 11:15 AM
#3
Posted 26 March 2009 - 09:58 AM
#4
Posted 31 March 2009 - 07:48 AM
#5
Posted 31 March 2009 - 09:22 PM
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).
#6
Posted 02 April 2009 - 07:43 AM
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
#7
Posted 02 April 2009 - 03:06 PM
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...
This post has been edited by razormoon: 03 April 2009 - 03:32 PM
#8
Posted 03 April 2009 - 08:22 AM
#9
Posted 03 April 2009 - 11:07 AM
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
This post has been edited by razormoon: 03 April 2009 - 03:38 PM
#10
Posted 03 April 2009 - 04:14 PM
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....
This post has been edited by razormoon: 03 April 2009 - 04:15 PM
#11
Posted 03 April 2009 - 04:39 PM
#12
Posted 03 April 2009 - 04:53 PM
I've been doing all of this from within W7 which could be my problem.
#13
Posted 06 April 2009 - 09:32 AM
fizban2, on Mar 31 2009, 09:48 AM, said:
Sorry, was gone on vacation, holy needed that
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
And this is using plain jane build 7000 downloaded from MSDN with only Windows Updates updates installed.
#14
Posted 12 April 2009 - 04:50 PM
Cheers
#15
Posted 14 April 2009 - 07:16 AM
#16
Posted 14 April 2009 - 10:20 AM
Dechy, on Apr 14 2009, 02:16 PM, said:
does Microsoft Deployment Toolkit 2010 save a log of what switches DISM used ?
#17
Posted 29 April 2009 - 07:49 PM
DISM.exe /image:<path_to_mounted_image_directory> /Add-Driver /driver:c:\drivers /recurse
/forceunsigned is for non WHQL / BETA drivers , and you have to do those seperate, you have to point to the inf file of the driver.
DISM.exe /image:<path_to_mounted_image_directory> /Add-Driver /driver:c:\nonwhqldrivers\ATInonwhql.inf /forceunsigned
So first do all your WHQL drivers with /recurse and point to your folder wich contains all your driver folders, then do the non WHQL drivers one by one with : /forceunsigned
This post has been edited by sp00f: 29 April 2009 - 07:51 PM
#18
Posted 30 April 2009 - 09:03 AM
#19
Posted 07 May 2009 - 07:43 AM
I know that with Vista and Pkgmgr, when using WinPE, you have to set the scratchdir to a local folder (that you create) when injecting ATI and nVidia drivers because the WinPE scratchdir is only like 32 Mb or so, and ATI and nVidia drivers are far larger.
I've only just stated to play with Win7 myself but I found that pkgmgr automaticly calls DISM anyway, which then uses the default scratchdir,so using the DISM command to begin with and specify the sratchdir in the command line should be able to help you out, if you are using WinPE when getting these problems.
#20
Posted 18 May 2009 - 04:22 PM
Tried this and it's no.
DISM /IMAGE:D:\TEMP /ADD-DRIVER /DRIVER:D:\DRIVERS\NVIDIA /FORCEUNSIGNED /SCRATCHDIR:D:\TEMP2
This post has been edited by razormoon: 18 May 2009 - 04:24 PM
- ← Deleting Windows.old in mounted .WIM
- Unattended Windows 7/Server 2008R2
- Possible to integrate drivers without all the bloat? →



Help
Back to top










