MSFN Forum: Dropping a driver in Windows for PnP - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Dropping a driver in Windows for PnP Rate Topic: -----

#1 User is offline   bender127 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 04-November 03

Posted 12 January 2004 - 06:51 PM

Is it possible just to "drop a driver" in a Windows installation, and have it picked up by Plug n' Play?

For example, say I have a .inf, .sys and .cat file for a NIC. If copy the .inf and .cat files to the %systemroot%\inf folder, and the .sys file to the %systemroot%\system32 , will Windows automatically use this driver when I actually plug the NIC in? Or does the inf need to be tweaked for this?

If so (even with .inf tweaking), then is it possible to have a unattended install where your $OEM$ folder structure looks like this (ultimately reducing the number of paths for OemPnPDriversPath in unattended.ext)?:

\$OEM$
----\$$
--------\inf <- inf/cat file goes here
--------\system32 <- sys file goes here


#2 User is offline   neophyte 

  • *Purrrr*
  • PipPipPip
  • Group: Members
  • Posts: 395
  • Joined: 20-August 03

Posted 12 January 2004 - 07:20 PM

No, you need to make a special folder for this.

Check out this guide:
http://unattended.MS.../xp/drivers.htm


#3 User is offline   raskren 

  • I ♥ Longhorn
  • PipPipPip
  • Group: Members
  • Posts: 383
  • Joined: 11-September 03

Posted 12 January 2004 - 08:09 PM

Its doubtful that would work. If I have some unintsalled hardware in my machine and I simply copy some uncrompressed drivers to their proper locations the hardware won't magically be installed.

You could put your INFs and SYS files into the INF and SYSTEM32 directories respectively, but you're going to need a txtsetup.oem file in your PnpDriversPath.

wait...scratch that. All the drivers need to be in the same subdir as txtsetup.oem.

#4 User is offline   gosh 

  • gosh 2.0
  • Group: Patrons
  • Posts: 2,347
  • Joined: 03-October 03
  • OS:none specified
  • Country: Country Flag

Posted 12 January 2004 - 09:21 PM

It might work, but it would be easier to copy the files using txtsetup.sif. I'm not sure when the $OEM$ folder is copied over. Until it gets copied over, the drivers won't be available.

-gosh

#5 User is offline   bender127 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 04-November 03

Posted 13 January 2004 - 02:02 AM

$OEM$ is copied over towards the end of text mode setup, after the inital file decompress but before reboot (i.e. right around when the hive*.inf files are copied).

I'm trying to add as many drivers to support NICs to my unattended disc, while keeping the drivers relatively organized (directories by vendor). This means a huge drivers path, unless I can bend the rules a bit...

I'll try it and see if it works....

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy