Re: dpinst - uninstall problems - when hardware is not present
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Tue, 10 Jun 2008 23:37:00 -0700
kota <kota@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I am using dpinst tool for installation & uninstallation of the driver.
removal process is working fine in below sequence:
installation -> Uninstallation -> shutdown -> Remove hardware
------but not in below sequence------------------
installation -> shutdown->Remove hardware -> uninstallation.
Here i am finding that, it is leaving lot of registry info and not cleaning
correctly.
Command which i used is: DPInst.exe /U device.inf /D
device: PCI PNP device.
Not cleaning the below Registy info, when device removed before the
uninstallation:
HKLM\system\controlset001\control\class\GUID
HKLM\system\controlset001\Enum\PCI\DeviceHardwareID
HKLM\system\controlset003\control\class\GUID
HKLM\system\controlset003\Enum\PCI\DeviceHardwareID
HKLM\system\Currentcontrolset\control\class\GUID
HKLM\system\Currentcontrolset\Enum\PCI\DeviceHardwareID
That's only 2 entries. CurrentControlSet is a symbolic link to one of the
numbered control sets. The other one is probably your "last known good"
configuration, and will never be touched by the live system.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- Prev by Date: Re: Appending a new IHV to existing Miniport Drivers
- Next by Date: NDIS61 Header Data Split and BackFill space
- Previous by thread: RE: dpinst - uninstall problems - when hardware is not present
- Next by thread: Re: How to CreateFile a COM port twice more ?
- Index(es):