Qn: Why does h/w wizard search for my USB driver sys file every time I use a new port?

This is a problem I am having with a driver I am
working on- If someone else has had similar problem,
please chip in. (after install) When I switch the
device to another port, the h/w wizard runs again and
copies the .sys files again to the system/drivers
directory.

The behavior I would expect is that once the driver
has been installed, if the user switches the port, it
should not be re-installing or copying again the sys
files.

How do I modify the INF file so that after the initial
install, the h/w wizard knows that the sys files are
in the system/drivers directory and not look for it on
the distribution disk?


Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

This question has been answered many times on this alias, you should
search the archives. The answer is that Windows does not know it is the
same device when it moves from port to port unless it has a serial
number. If it has a serial number, no driver reinstall is necessary.
You can see this behavior w/any usb device, no INF magic will fix this.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maaakri
Sent: Tuesday, August 24, 2004 6:04 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Qn: Why does h/w wizard search for my USB driver sys
file every time I use a new port?

This is a problem I am having with a driver I am
working on- If someone else has had similar problem,
please chip in. (after install) When I switch the
device to another port, the h/w wizard runs again and
copies the .sys files again to the system/drivers
directory.

The behavior I would expect is that once the driver
has been installed, if the user switches the port, it
should not be re-installing or copying again the sys
files.

How do I modify the INF file so that after the initial
install, the h/w wizard knows that the sys files are
in the system/drivers directory and not look for it on
the distribution disk?


Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com