Sand Man Posted May 6, 2011 Posted May 6, 2011 (edited) I'm trying to add Intel chipset drivers to a Windows 7 image (.wim file). I downloaded the Intel INF Update Utility zip package.I'm using the following command: dism /Image:C:\winimg /Add-Driver:C:\drivers\Chipset /RecurseI was able to add some Broadcom network drivers without any problems, but when I try to add the chipset drivers, I get this error:"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."Here's an excerpt from the log file:>>> [Import Driver Package - c:\drivers\Chipset\tcrkusb.inf]>>> Section start 2011/05/06 14:04:54.454 os: Version = 6.1.7601, Service Pack = 1.0, Suite = 0x0100, ProductType = 1, Architecture = x86 cmd: C:\Users\b2pra\AppData\Local\Temp\56E388AA-F02D-4187-BB45-50C56E7C41D4\dismhost.exe {11D7C1E2-233E-4FF8-A893-3559C2D292E3} sto: Importing driver package into Driver Store: sto: Driver Store = C:\winimg\Windows\System32\DriverStore (Offline | 6.1.7601) sto: Driver Package = c:\drivers\Chipset\tcrkusb.inf sto: Architecture = x86 sto: Locale Name = neutral sto: Flags = 0x00000000 inf: Opened INF: 'c:\drivers\Chipset\tcrkusb.inf' ([strings]) inf: Opened INF: 'C:\winimg\Windows\System32\DriverStore\FileRepository\usbport.inf_x86_neutral_f9abf85fd00186bd\usbport.inf' ([strings.0409]) inf: Opened INF: 'c:\drivers\Chipset\tcrkusb.inf' ([strings]) sto: Importing driver package files: sto: Source Path = c:\drivers\Chipset sto: Destination Path = C:\winimg\Windows\System32\DriverStore\FileRepository\tcrkusb.inf_x86_neutral_7736aa821aa7f9cc flq: {FILE_QUEUE_COPY} flq: CopyStyle - 0x00000000 flq: SourceRootPath - 'c:\drivers\Chipset' flq: SourceFilename - 'tcrkusb.cat' flq: TargetDirectory- 'C:\winimg\Windows\System32\DriverStore\FileRepository\tcrkusb.inf_x86_neutral_7736aa821aa7f9cc' flq: {FILE_QUEUE_COPY exit(0x00000000)} flq: {FILE_QUEUE_COPY} flq: CopyStyle - 0x00000000 flq: SourceRootPath - 'c:\drivers\Chipset' flq: SourceFilename - 'tcrkusb.inf' flq: TargetDirectory- 'C:\winimg\Windows\System32\DriverStore\FileRepository\tcrkusb.inf_x86_neutral_7736aa821aa7f9cc' flq: {FILE_QUEUE_COPY exit(0x00000000)} flq: {_commit_file_queue} flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=2 flq: {_commit_copy_subqueue} flq: subqueue count=2 flq: source media: flq: SourcePath - [c:\drivers\Chipset] flq: SourceFile - [tcrkusb.cat] flq: Flags - 0x00000000 flq: {_commit_copyfile} flq: CopyFile: 'c:\drivers\Chipset\tcrkusb.cat' flq: to: 'C:\winimg\Windows\System32\DriverStore\FileRepository\tcrkusb.inf_x86_neutral_7736aa821aa7f9cc\SET7554.tmp'!!! flq: CopyFile: FAILED!!!! flq: Error 5: Access is denied.!!! flq: Error installing file (0x00000005)!!! flq: Error 5: Access is denied.! flq: SourceFile - 'c:\drivers\Chipset\tcrkusb.cat' flq: TempFile - 'C:\winimg\Windows\System32\DriverStore\FileRepository\tcrkusb.inf_x86_neutral_7736aa821aa7f9cc\SET7554.tmp'! flq: TargetFile - 'C:\winimg\Windows\System32\DriverStore\FileRepository\tcrkusb.inf_x86_neutral_7736aa821aa7f9cc\tcrkusb.cat' flq: {SPFQNOTIFY_COPYERROR}!!! sto: Failed to copy file 'c:\drivers\Chipset\tcrkusb.cat' to 'C:\winimg\Windows\System32\DriverStore\FileRepository\tcrkusb.inf_x86_neutral_7736aa821aa7f9cc\tcrkusb.cat'. Error = 0x00000005 sto: File 'c:\drivers\Chipset\tcrkusb.cat' is not in use by any processes. flq: {SPFQNOTIFY_COPYERROR - returned 0x00000000}!!! flq: SPFQNOTIFY_COPYERROR: returned SPFQOPERATION_ABORT.!!! flq: Error 2: The system cannot find the file specified. flq: {_commit_copyfile exit(0x00000002)} flq: {_commit_copy_subqueue exit(0x00000002)}!!! flq: FileQueueCommit aborting!!!! flq: Error 2: The system cannot find the file specified. flq: {_commit_file_queue exit(0x00000002)}!!! sto: Failed to copy driver package to 'C:\winimg\Windows\System32\DriverStore\FileRepository\tcrkusb.inf_x86_neutral_7736aa821aa7f9cc'. Error = 0x00000005!!! sto: Failed to import driver package into Driver Store. Error = 0x00000005<<< Section end 2011/05/06 14:04:55.140<<< [Exit status: FAILURE(0x00000005)]Am I doing something wrong? Did I download the wrong chipset drivers? Should I even include these in my image? thanks! Edited May 6, 2011 by Sand Man
myselfidem Posted May 6, 2011 Posted May 6, 2011 (edited) The command line with DISM to Add-Driver is (example with Recurse option):Dism /Image:C:\Mounted_Folder /Add-Driver /Driver:C:\Drivers /RecurseExampleUpdating path to include dism, oscdimg, imagex C:\Program Files\Windows AIK\Tools\PETools\ C:\Program Files\Windows AIK\Tools\PETools\..\AMD64; C:\Program Files\Windows AIK\Tools\PETools\..\x86 C:\Program Files\Windows AIK\Tools\PETools\..\AMD64\Servicing; C:\Program Files\Windows AIK\Tools\PETools\..\x86\Servicing;C:\Program Files\Windows AIK\Tools\PETools>Dism /Image:C:\work /Add-Driver /Driver:C:\Drivers /RecurseOutil Gestion et maintenance des images de déploiementVersion : 6.1.7600.16385Version de l'image : 6.1.7601.17514Recherche des packages de pilotes à installer...38 package(s) de pilotes à installer.Installation de 1 sur 38 - C:\Drivers\Chipset\845G.inf : Le package de pilotes a été installé avec succès.Installation de 2 sur 38 - C:\Drivers\Chipset\865.inf : Le package de pilotes a été installé avec succès.Installation de 3 sur 38 - C:\Drivers\Chipset\915.inf : Le package de pilotes a été installé avec succès.Installation de 4 sur 38 - C:\Drivers\Chipset\ich4core.inf : Le package de pilotes a été installé avec succès.Installation de 5 sur 38 - C:\Drivers\Chipset\ich5core.inf : Le package de pilotes a été installé avec succès.Installation de 6 sur 38 - C:\Drivers\Chipset\ich5ide.inf : Le package de pilotes a été installé avec succès.Installation de 7 sur 38 - C:\Drivers\Chipset\ich5usb.inf : Le package de pilotes a été installé avec succès.Installation de 8 sur 38 - C:\Drivers\Chipset\ich6core.inf : Le package de pilotes a été installé avec succès.Installation de 9 sur 38 - C:\Drivers\Chipset\ich6ide.inf : Le package de pilotes a été installé avec succès.Installation de 10 sur 38 - C:\Drivers\Chipset\ich6usb.inf : Le package de pilotes a été installé avec succès.Installation de 11 sur 38 - C:\Drivers\net\Netrtl32.inf : Le package de pilotesa été installé avec succès.Installation de 12 sur 38 - C:\Drivers\pctv\PCTV110i.inf : Le package de pilotes a été installé avec succès.Installation de 13 sur 38 - C:\Drivers\son\HDA.inf : Le package de pilotes a été installé avec succès.Installation de 14 sur 38 - C:\Drivers\son\HDA861A.inf : Le package de pilotes a été installé avec succès.Installation de 15 sur 38 - C:\Drivers\son\HDACPC.inf : Le package de pilotes a été installé avec succès.Installation de 16 sur 38 - C:\Drivers\son\HDACR.inf : Le package de pilotes a été installé avec succès.Installation de 17 sur 38 - C:\Drivers\son\HDADELL.inf : Le package de pilotes a été installé avec succès.Installation de 18 sur 38 - C:\Drivers\son\HDAGW.inf : Le package de pilotes a été installé avec succès.Installation de 19 sur 38 - C:\Drivers\son\HDAHP880.inf : Le package de pilotes a été installé avec succès.Installation de 20 sur 38 - C:\Drivers\son\HDAHPAI1.inf : Le package de pilotes a été installé avec succès.Installation de 21 sur 38 - C:\Drivers\son\HDAHPAI2.inf : Le package de pilotes a été installé avec succès.Installation de 22 sur 38 - C:\Drivers\son\HDAHPAI3.inf : Le package de pilotes a été installé avec succès.Installation de 23 sur 38 - C:\Drivers\son\HDAHPBPC.inf : Le package de pilotes a été installé avec succès.Installation de 24 sur 38 - C:\Drivers\son\HDAHPNB.inf : Le package de pilotes a été installé avec succès.Installation de 25 sur 38 - C:\Drivers\son\HDALC.inf : Le package de pilotes a été installé avec succès.Installation de 26 sur 38 - C:\Drivers\son\HDALC2.inf : Le package de pilotes a été installé avec succès.Installation de 27 sur 38 - C:\Drivers\son\HDALC3.inf : Le package de pilotes a été installé avec succès.Installation de 28 sur 38 - C:\Drivers\son\HDAPrmAu.inf : Le package de pilotes a été installé avec succès.Installation de 29 sur 38 - C:\Drivers\son\HDARt.inf : Le package de pilotes a été installé avec succès.Installation de 30 sur 38 - C:\Drivers\son\HDARt9.inf : Le package de pilotes a été installé avec succès.Installation de 31 sur 38 - C:\Drivers\son\HDASRSA.inf : Le package de pilotes a été installé avec succès.Installation de 32 sur 38 - C:\Drivers\son\HDASRSD.inf : Le package de pilotes a été installé avec succès.Installation de 33 sur 38 - C:\Drivers\son\HDASRSD2.inf : Le package de pilotesa été installé avec succès.Installation de 34 sur 38 - C:\Drivers\son\HDASRSS.inf : Le package de pilotes a été installé avec succès.Installation de 35 sur 38 - C:\Drivers\son\HDATHX.inf : Le package de pilotes a été installé avec succès.Installation de 36 sur 38 - C:\Drivers\son\HDATHXD.inf : Le package de pilotes a été installé avec succès.Installation de 37 sur 38 - C:\Drivers\son\HDAToshiba.inf : Le package de pilotes a été installé avec succès.Installation de 38 sur 38 - C:\Drivers\son\HDAXFM.inf : Le package de pilotes a été installé avec succès.L'opération a réussi.C:\Program Files\Windows AIK\Tools\PETools>More help:http://technet.micro...258(WS.10).aspxhttp://technet.micro...355(WS.10).aspxhttp://technet.micro...517(WS.10).aspxCould you point where you have downloaded the drivers package, please? Edited May 7, 2011 by myselfidem
Sand Man Posted May 9, 2011 Author Posted May 9, 2011 (edited) Hi. I didn't write the command correctly in my post--I did use the same command that you included.dism /Image:C:\winimg /Add-Driver /Driver:C:\drivers\Chipset /RecurseI'm downloading the chipset drivers from here: http://downloadcenter.intel.com/Detail_Desc.aspx?ProductID=816&DwnldID=20018〈=eng&iid=dc_rssThis is a x86 install of Windows 7. So I only used the Windows 7 folder from the download. I was assuming that was the correct download. Edited May 9, 2011 by Sand Man
myselfidem Posted May 9, 2011 Posted May 9, 2011 I've tested successfuly to add these drivers inside my install.wim image!First check if you really need these drivers for your computer:http://www.intel.com/p/en_US/support/detectHow to add Chipsets drivers inside the image install.wim:1) Expand the file infinst_autol.zip2) You will see the files for Windows 7 inside the folder infinst_autol\WIN73) Copy/paste all the files (.inf and .cat files) inside a folder (example: C:\Drivers\Chipsets)4) Mount the image you want to integrate the drivers (example above).5) Integrate drivers with the command line6) Unmount /CommitExample:Mount_Unmout.cmd (image install.wim 5 = Ultimate)@echo offColor 0Aecho."C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Cleanup-Wimecho."C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Mount-Wim /WimFile:"C:\WinMSDN\sources\install.wim" /Index:5 /MountDir:"C:\work"timeout /t 3"C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Image:"C:\work" /Add-Driver /Driver:"C:\Drivers_Intel" /Recursetimeout /t 3"C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Unmount-Wim /MountDir:"C:\work" /CommitpauseOutput Chipsets drivers IntegrationOutil Gestion et maintenance des images de déploiementVersion : 6.1.7600.16385Analyse du lecteur C à la recherche de fichiers périmésAnalyse du lecteur D à la recherche de fichiers périmésL'opération a réussi.Outil Gestion et maintenance des images de déploiementVersion : 6.1.7600.16385Montage de l'image[==========================100.0%==========================]L'opération a réussi.Attendre 0 secondes, appuyez sur une touche pour continuer...Outil Gestion et maintenance des images de déploiementVersion : 6.1.7600.16385Version de l'image : 6.1.7601.17514Recherche des packages de pilotes à installer...27 package(s) de pilotes à installer.Installation de 1 sur 27 - C:\Drivers_Intel\cougahci.inf : Le package de pilotes a été installé avec succès.Installation de 2 sur 27 - C:\Drivers_Intel\cougcore.inf : Le package de pilotes a été installé avec succès.Installation de 3 sur 27 - C:\Drivers_Intel\cougHECI.inf : Le package de pilotes a été installé avec succès.Installation de 4 sur 27 - C:\Drivers_Intel\cougide.inf : Le package de pilotes a été installé avec succès.Installation de 5 sur 27 - C:\Drivers_Intel\cougME.inf : Le package de pilotes a été installé avec succès.Installation de 6 sur 27 - C:\Drivers_Intel\cougsmb.inf : Le package de pilotes a été installé avec succès.Installation de 7 sur 27 - C:\Drivers_Intel\cougusb.inf : Le package de pilotes a été installé avec succès.Installation de 8 sur 27 - C:\Drivers_Intel\couide2.inf : Le package de pilotes a été installé avec succès.Installation de 9 sur 27 - C:\Drivers_Intel\ibexahci.inf : Le package de pilotes a été installé avec succès.Installation de 10 sur 27 - C:\Drivers_Intel\ibexcore.inf : Le package de pilotes a été installé avec succès.Installation de 11 sur 27 - C:\Drivers_Intel\ibexid2.inf : Le package de pilotes a été installé avec succès.Installation de 12 sur 27 - C:\Drivers_Intel\ibexide.inf : Le package de pilotes a été installé avec succès.Installation de 13 sur 27 - C:\Drivers_Intel\ibexsmb.inf : Le package de pilotes a été installé avec succès.Installation de 14 sur 27 - C:\Drivers_Intel\ibexusb.inf : Le package de pilotes a été installé avec succès.Installation de 15 sur 27 - C:\Drivers_Intel\ich78id2.inf : Le package de pilotes a été installé avec succès.Installation de 16 sur 27 - C:\Drivers_Intel\ich78ide.inf : Le package de pilotes a été installé avec succès.Installation de 17 sur 27 - C:\Drivers_Intel\ich78usb.inf : Le package de pilotes a été installé avec succès.Installation de 18 sur 27 - C:\Drivers_Intel\ich7core.inf : Le package de pilotes a été installé avec succès.Installation de 19 sur 27 - C:\Drivers_Intel\IntelCP2.inf : Le package de pilotes a été installé avec succès.Installation de 20 sur 27 - C:\Drivers_Intel\IntelIOH.inf : Le package de pilotes a été installé avec succès.Installation de 21 sur 27 - C:\Drivers_Intel\JasperFo.inf : Le package de pilotes a été installé avec succès.Installation de 22 sur 27 - C:\Drivers_Intel\NehalMEX.inf : Le package de pilotes a été installé avec succès.Installation de 23 sur 27 - C:\Drivers_Intel\SNB2009.inf : Le package de pilotes a été installé avec succès.Installation de 24 sur 27 - C:\Drivers_Intel\Tcreek.inf : Le package de pilotes a été installé avec succès.Installation de 25 sur 27 - C:\Drivers_Intel\Tcrkahci.inf : Le package de pilotes a été installé avec succès.Installation de 26 sur 27 - C:\Drivers_Intel\TcrkSD.inf : Le package de pilotesa été installé avec succès.Installation de 27 sur 27 - C:\Drivers_Intel\tcrkusb.inf : Le package de pilotes a été installé avec succès.L'opération a réussi.Attendre 0 secondes, appuyez sur une touche pour continuer...Outil Gestion et maintenance des images de déploiementVersion : 6.1.7600.16385Fichier image : C:\WinMSDN\sources\install.wimIndex de l'image : 5Enregistrement de l'image[==========================100.0%==========================]Démontage de l'image[==========================100.0%==========================]L'opération a réussi.Appuyez sur une touche pour continuer...You can also read if you have errors inside:C:\Windows\Logs\DISM
Sand Man Posted May 10, 2011 Author Posted May 10, 2011 After playing with it, it turns out I needed to use the ALL folder instead of the Win7 folder. DISM was able to import that folder without any problems. Thanks again for your help!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now