Deleting Registry entries in Windows 2000.

Dear Developers,

OS Win2000 and Whistler

At present I am writing an installer to install and un-install the device.
During Uninstall I want to clean the registry entries already created. The
registry gets cleaned if the device is plugged in, If the device is not
plugged I am not able to Uninstall properly. So from a DLL I want to
delete the PNP ids (like HKLM\Current Control set\ENUM\USB\VID_PID)
created during the installation. How can I achieve this?

Thanks in advance


Kannan
SCM Microsystems, Chennai.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

hi
if you want to uninstall goto the registry
search for PNP ids in HKLM\Current Control set\ENUM\USB\VID_PID .get the
value of the classguid.
goto HKLM\software\classes and search the particular id.curresponding to
the id if there is many drivers installed see in classguid last part with
the round of no like 006.if the no corresponding to your driver then delete
it.pls confirm before whether that id is for your driver.
thanks

----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Wednesday, June 13, 2001 5:09 PM
Subject: [ntdev] Deleting Registry entries in Windows 2000.

>
> Dear Developers,
>
> OS Win2000 and Whistler
>
> At present I am writing an installer to install and un-install the device.
> During Uninstall I want to clean the registry entries already created. The
> registry gets cleaned if the device is plugged in, If the device is not
> plugged I am not able to Uninstall properly. So from a DLL I want to
> delete the PNP ids (like HKLM\Current Control set\ENUM\USB\VID_PID)
> created during the installation. How can I achieve this?
>
> Thanks in advance
>
> ---------------------------------------
> Kannan
> SCM Microsystems, Chennai.
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@wipro.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com