greenstuff
03-01-2006, 12:28 PM
I have designed a USB device and written the device driver (for the purpose of this post the device driver is called 'original.sys' and the inf file, 'original.inf') which works fine. However, due to events beyond my control, the name of the device driver needs to be changed (for the purpose of this post to 'new.sys' and 'new.inf'). The new.inf file has been ammended to take into account the name change.
I have uninstalled the original.sys device driver, deleted the actual original.sys, original.inf and original.pnf files within the Windows directories. I have also removed all entries in the registry relating to the device driver (such as VID, PID, GUID, services etc).
On starting up the device, the Found New Hardware wizard starts up as expected. I select the 'Install from a list or specific location' option and manually select the 'new.inf' file. Once this file is selected, there is a list of compatible hardware displayed in the window (5 entries) - each entry in this list is the same and is the descriptor of the device as specified in the original.inf and new.inf files. Windows is obviously 'remembering' old installations. On selecting 'Next' to install the device driver, a window appears asking for the original.sys driver to be located and there is no way to select the new.sys driver.
My PC is running Windows XP Pro Service Pack 2 and all recent updates installed.
The installation works fine on a clean machine which hasn't had the original.sys driver installed previously.
Does anyone have any ideas on how to stop Windows 'remembering' the old driver installation (without having to reinstall Windows XP)?
Thanks in advance
Martin
I have uninstalled the original.sys device driver, deleted the actual original.sys, original.inf and original.pnf files within the Windows directories. I have also removed all entries in the registry relating to the device driver (such as VID, PID, GUID, services etc).
On starting up the device, the Found New Hardware wizard starts up as expected. I select the 'Install from a list or specific location' option and manually select the 'new.inf' file. Once this file is selected, there is a list of compatible hardware displayed in the window (5 entries) - each entry in this list is the same and is the descriptor of the device as specified in the original.inf and new.inf files. Windows is obviously 'remembering' old installations. On selecting 'Next' to install the device driver, a window appears asking for the original.sys driver to be located and there is no way to select the new.sys driver.
My PC is running Windows XP Pro Service Pack 2 and all recent updates installed.
The installation works fine on a clean machine which hasn't had the original.sys driver installed previously.
Does anyone have any ideas on how to stop Windows 'remembering' the old driver installation (without having to reinstall Windows XP)?
Thanks in advance
Martin