YMatrix Posted October 2, 2008 Posted October 2, 2008 (edited) Hello all!I have created an unattended Windows XP + SP3 CD.The installation works great (tested it already on a few couple of systems), but I seem to have a tricky problem.I used nLite to create the CD and used the "put all drivers in driver.cab" option. After the installation I extract all the contents of "driver.cab" to "%SystemRoot%\Driver Cache".But whenever a new device is installed I get the "Browse for file..." window asking where the original CD is. I keep showing it the "%SystemRoot%\Driver Cache", but for every new device this question appears.I found this thread where I learned about the registry keys containing the locations, but I am not sure where the problem is.Here are my registry contents:HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SourcePath = G:\I386HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Installation Sources = C:\WINDOWS\Driver Cache G:\HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath = G:\HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath = G:\Is this this the right code to change (in red)? :HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SourcePath = %SystemRoot%\Driver CacheHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Installation Sources = C:\WINDOWS\Driver Cache G:\HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath = %SystemRoot%\Driver CacheHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath = %SystemRoot%\Driver CacheThanks in advance! Edited October 2, 2008 by YMatrix
Tripredacus Posted October 6, 2008 Posted October 6, 2008 (edited) You want to put your path in as follows:key = HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DevicePathtype = REG_EXPAND_SZdefault value = %SystemRoot%\inf;example value = %SystemRoot%\inf;G:;The line with Installation Sources in your post is formatted wrong.HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Installation Sources = C:\WINDOWS\Driver Cache G:\! -------------------------------------------------------------------------------------------------^ Edited October 6, 2008 by Tripredacus
YMatrix Posted October 6, 2008 Author Posted October 6, 2008 (edited) Thanks For your reply, but I didn't get what you wrote.You mean that I should add my Driver Cache folder right after the the %systemroot%\inf ?What was wrong with he formatting? Edited October 6, 2008 by YMatrix
Tripredacus Posted October 7, 2008 Posted October 7, 2008 Thanks For your reply, but I didn't get what you wrote.You mean that I should add my Driver Cache folder right after the the %systemroot%\inf ?What was wrong with he formatting?You need a separator in the line. Like a semicolon as in my path example.
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