razormoon Posted August 31, 2009 Share Posted August 31, 2009 (edited) Alright, there's obvious limitations to the batch file for this (think directory names with underscores...). I've left the batch and put something together in code for those of you that update drivers frequently, use dism and need to decompress many driver files at once.Put the file anywhere and when prompted, point it to the ROOT directory of your drivers. It will save the driver directory for future runs and safely decompress driver files while keeping names intact. If you want to start over (pick new root) just delete the *.ini file.If there are any bugs to this ultra simple file, please let me know.W7_DRVPREP Edited September 4, 2009 by razormoon Link to comment Share on other sites More sharing options...
hfeldman Posted September 23, 2009 Share Posted September 23, 2009 In case no one has figured it out yetYou have to expand the drivers first then run the injectfor example inside your driver directory run expand *.* c:\target -- this will expand the all the files to the Directory c:\targetthen run dism /image:C:\mountpoint /add-driver /driver:"c:\target" /recurseThis worked for me. Hope it helpsHoward. Link to comment Share on other sites More sharing options...
hfeldman Posted September 23, 2009 Share Posted September 23, 2009 (edited) In case no one has figured it out yetYou have to expand the drivers first then run the injectfor example inside your driver directory run expand *.* c:\target -- this will expand the all the files to the Directory c:\targetthen run dism /image:C:\mountpoint /add-driver /driver:"c:\target" /recurseThis worked for me. Hope it helpsHoward. Edited September 23, 2009 by Tripredacus removed url Link to comment Share on other sites More sharing options...
razormoon Posted September 26, 2009 Share Posted September 26, 2009 Correct. You must uncompress files in order for DISM to behave. Link to comment Share on other sites More sharing options...
maxXPsoft Posted October 3, 2009 Share Posted October 3, 2009 then when you unmount you getProcessing 1 of 1 - Adding package Package_for_KB974332~31bf3856ad364e35~amd64~~6.1.1.1[==========================100.0%==========================]The operation completed successfully. Link to comment Share on other sites More sharing options...
sp00f Posted October 17, 2009 Share Posted October 17, 2009 then when you unmount you getProcessing 1 of 1 - Adding package Package_for_KB974332~31bf3856ad364e35~amd64~~6.1.1.1[==========================100.0%==========================]The operation completed successfully.Thats a package, and not a driver Link to comment Share on other sites More sharing options...
tomatthe Posted October 21, 2009 Share Posted October 21, 2009 The thread was very helpful in sorting out video drivers for various machines. It may be nice to have the basic info from it stickied at the top of the forum. Link to comment Share on other sites More sharing options...
neuropass Posted February 1, 2010 Share Posted February 1, 2010 i don't understand... How do you expand the files???1. downloaded nvidia installation file available at: http://www.nvidia.com/Download/index.aspx?lang=en-us and for the GeForce 6800 driver: http://www.nvidia.com/object/win7_x86_181.71_beta.html2. doubleclick the file: 181.71_geforce_win7_32bit_international_beta.exe extract the files to a temp dir like C:\temp\nvidia close/finish the install program3. expand all files with an underscore to a seperate directory *.??_ C:\temp\nvidia>expand.exe NvPVEnc.ax_ C:\temp\nvextr\NvPVEnc.ax_ C:\temp\nvidia>expand.exe nvcpl.cp_ C:\temp\nvextr\nvcpl.cp_ C:\temp\nvidia>expand.exe nvapi.dl_ C:\temp\nvextr\nvapi.dl_ ... etc. (36 *.??_ files in 181.71_geforce_win7_32bit_international_beta.exe)but beware to let the extension with the underscore untouched. Afterextraction it should be the same name => *.??_This is the expected name for the integration defined in nv_disp.infCopy the rest of the uncompressed files (files with no underscore) to the dirwhere the expande files resides and use that path with /add-driver like:dism.exe /image:C:\temp\mountdir /add-driver /driver:C:\temp\nvextr(see below)But now I have a big problem with the commit command. First I type:dism.exe /mount-wim /wimfile:install.vim /index:1 /mountdir:G:\pub\win7mntand the vim file is mounting. After that I typedism.exe /image:G:\pub\win7mnt /add-driver /driver:G:\pub\nvextr Link to comment Share on other sites More sharing options...
MrJinje Posted February 1, 2010 Share Posted February 1, 2010 i don't understand... How do you expand the files???Easy way is to install them into a live OS, then use something like Driver Magician Lite to export them. Here is the link for the portable version.http://www.drivermagician.com/PortableDML.zip Link to comment Share on other sites More sharing options...
neuropass Posted February 2, 2010 Share Posted February 2, 2010 Thanks for your reply i got it to work.. Link to comment Share on other sites More sharing options...
leen2 Posted February 11, 2010 Share Posted February 11, 2010 Seems like you all made a lot of progress on this. However when scanning through all the posts I failed to see any mention of the biggest problem with DISM here, so I am adding this note to assist those who don't know, or have not figured it out.Basically DISM is horribly case sensitive, particularly when it comes to file paths. As a result the paths "E:\drivers\driver.inf" and "E:\DRIVERS\DRIVER.INF and any variations of these are completely different to DISM, yet identical to windows. To fix the issue, I found I needed to copy and paste the actual paths in Windows explorer into the command line to get it to work. I also found that if I copied this to Notepad, and constucted the command line in Notepad first, then copied it to the command prompt it also worked. However you also have to be careful when doing this with smart quotes as some text editors convert quotes to smart quotes and this will also appear to be an invalid path to DISM.Hope this helps. Link to comment Share on other sites More sharing options...
MrJinje Posted February 11, 2010 Share Posted February 11, 2010 Hadn't heard of that before, can you go into greater detail ? Link to comment Share on other sites More sharing options...
maxXPsoft Posted February 12, 2010 Share Posted February 12, 2010 (edited) Me eitherDon't edit cmd files with wordpad or it will add bad stuff.{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Calibri;}}}Use notepad instead. I use Context a free editor here.Any long path names with spaces in them have to have quotes around them " "Dos interpretes spaces in cmd line as starting a new command. even Windows 7 DosBut if I call Dism and tell it to /Recurse a driver folder it has no problems and doesn't need quotes around something like thisIntel® ICH10 Family SMBus Controller - 3A30 Edited February 12, 2010 by maxXPsoft Link to comment Share on other sites More sharing options...
mrookie Posted February 16, 2010 Share Posted February 16, 2010 Pardon me for such silly question - but did any one has any success integrating ATI Catalsyt Driver 10.1?? I've nothing but headaches with DISM not able to integrate driver.... Link to comment Share on other sites More sharing options...
MrJinje Posted February 16, 2010 Share Posted February 16, 2010 Pardon me for such silly question - but did any one has any success integrating ATI Catalsyt Driver 10.1?? I've nothing but headaches with DISM not able to integrate driver....Nothing silly about that question. (save for the fact it's already been answered). i don't understand... How do you expand the files???Easy way is to install them into a live OS, then use something like Driver Magician Lite to export them. Here is the link for the portable version.http://www.drivermagician.com/PortableDML.zipIf you have your catalyst drivers in your OS, just export them, is very easy. Then they can be integrated properly using DISM (or DISM Tool™) Link to comment Share on other sites More sharing options...
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