Jump to content

Recommended Posts

Posted (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:\I386
HKLM\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 Cache

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Installation Sources = C:\WINDOWS\Driver Cache G:\

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath = %SystemRoot%\Driver Cache

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath = %SystemRoot%\Driver Cache

Thanks in advance! :thumbup

Edited by YMatrix

Posted (edited)

You want to put your path in as follows:

key = HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DevicePath

type = REG_EXPAND_SZ

default 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 by Tripredacus
Posted (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 by YMatrix
Posted
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.

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.
×
×
  • Create New...