Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Device driver uninstallation application???

Reply
Thread Tools Display Modes

Device driver uninstallation application???

 
 
Zhen
Guest
Posts: n/a

 
      01-27-2004
Hi,

1. Where can I find some guidelines for how to write a device-driver
"uninstallation" program? I can hardly find any in both DDK documentation
and sample code. Are there any APIs to use instead of deleting those
registry keys one-by-one?

2. I want to use SetupUninstallOEMInf function to uninstall my device
driver, however there is no such API for Windows 2000. So what does
SetupUninstallOEMInf actually do?

3. In DDK documentation, it is said: "Do not delete the installed driver
files from the system during the uninstall operation, even if the hardware
has been removed". Then what am I gonna do to clean up the previous driver
installation?

Thanks,

Zhen


 
Reply With Quote
 
 
 
 
Marc Reinig
Guest
Posts: n/a

 
      01-27-2004
Have you looked at the DEVCON sample in the DDK? Devcon remove might be
helpful.

Marc Reinig
System Solutions

"Zhen" <> wrote in message
news:gykRb.16636$. com...
> Hi,
>
> 1. Where can I find some guidelines for how to write a device-driver
> "uninstallation" program? I can hardly find any in both DDK documentation
> and sample code. Are there any APIs to use instead of deleting those
> registry keys one-by-one?
>
> 2. I want to use SetupUninstallOEMInf function to uninstall my device
> driver, however there is no such API for Windows 2000. So what does
> SetupUninstallOEMInf actually do?
>
> 3. In DDK documentation, it is said: "Do not delete the installed driver
> files from the system during the uninstall operation, even if the hardware
> has been removed". Then what am I gonna do to clean up the previous driver
> installation?
>
> Thanks,
>
> Zhen
>
>



 
Reply With Quote
 
Eugene Lin [MSFT]
Guest
Posts: n/a

 
      02-05-2004
Hi Zhen-

I'd like to understand why you want to write a device-driver uninstallation
program. What requirements do you have, and where did you get them from?

As Mark pointed out (thanks Mark!), Windows intentionally does not delete
all driver files when a driver is uninstalled. However we are looking at
what kind of cleanup customers need and want your input.

-Euge

--
Eugene Lin
Program Manager
Windows Device Management and Installation
Microsoft Corp.

"Mark Roddy" <> wrote in message
news:...
> On Tue, 27 Jan 2004 03:29:20 GMT, "Marc Reinig" <>
> wrote:
>
> >Have you looked at the DEVCON sample in the DDK? Devcon remove might be
> >helpful.
> >
> >Marc Reinig
> >System Solutions
> >
> >"Zhen" <> wrote in message
> >news:gykRb.16636$ .com...
> >> Hi,
> >>
> >> 1. Where can I find some guidelines for how to write a device-driver
> >> "uninstallation" program? I can hardly find any in both DDK

documentation
> >> and sample code. Are there any APIs to use instead of deleting those
> >> registry keys one-by-one?
> >>
> >> 2. I want to use SetupUninstallOEMInf function to uninstall my device
> >> driver, however there is no such API for Windows 2000. So what does
> >> SetupUninstallOEMInf actually do?
> >>
> >> 3. In DDK documentation, it is said: "Do not delete the installed

driver
> >> files from the system during the uninstall operation, even if the

hardware
> >> has been removed". Then what am I gonna do to clean up the previous

driver
> >> installation?
> >>
> >> Thanks,
> >>
> >> Zhen
> >>
> >>

> >

>
> NT wants to keep a history of your device and its associated
> driver(s). Consequently the provided uninstall facility deliberately
> does NOT do a complete uninstall. This is by intention. This should
> only be an issue if you want to test clean installs, which is a good
> idea to have as a test point. Otherwise, let the device management
> facility do its thing. The associated clutter is Microsoft's problem,
> not yours.
>
> There are two ways to completely uninstall a device (for testing clean
> installs.) 1) use disk clone software like ghost and make yourself a
> baseline installation of your test system that does not include your
> device or driver. 2) see this message:
>

http://groups.google.com/groups?dq=&....supernews.com
> for a suggestion from Don Burn regarding a manual method for clean
> uninstall.
>
>
>
>
> =====================
> Mark Roddy
> Windows .NET/XP/2000 Consulting
> Hollis Technology Solutions 603-321-1032
> www.hollistech.com



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DVDForm Application Uninstallation??? dtfreak05 Windows Vista Installation 2 10-07-2006 01:16 AM
DVDForm Application Uninstallation??? dtfreak05 Windows Vista Installation 1 10-07-2006 01:16 AM
DVDForm Application Uninstallation??? dtfreak05 Windows Vista Installation 0 10-07-2006 01:12 AM
device driver installation application in XP and Win9x Zhen Windows Vista Drivers 2 11-16-2003 05:06 AM
UnInstallation application for UsbToUsb Link Device Raphel Windows Vista Drivers 3 07-16-2003 05:06 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59