Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows XP > Windows XP Device Drivers

Notices

Reply

Uninstall driver + restore/use old one

 

LinkBack Thread Tools Display Modes
Old 01-09-2008, 11:19 AM   #1 (permalink)
Default Uninstall driver + restore/use old one


Hello there,

I wrote an installer for a special graphics driver (.sys + .inf) for
W2K, XP and Vista.

Before using this installer, the "VGA Safe" driver from Windows is
active and works fine.

The installation of my new graphics driver works fine, all works as
excepted, but I also have to deliver an uninstallation method of this
driver, which then should fallback to the original (or former one)
driver.

When uninstalling, I'm using some snipplets from the "Devcon" example
(command "remove") of the DDK, but unfortunately, the driver gets not
removed completely.

After a reboot, the "Found new hardware" wizard pops up and wants to
re-install the NEW driver, which was removed/deleted from my uninstaller
before.

Now my question: How can I remove the driver entirely without traces
and fallback to the original driver?

Thank you in advance,
Snowcrash



--
snowcrash
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

snowcrash
Guest
 
Posts: n/a
Reply With Quote  
Old 01-09-2008, 04:35 PM   #2 (permalink)
Default Re: Uninstall driver + restore/use old one

Use system restore to return to a point prior to your driver installation.

To do that within your delivery package and without using SystemRestore,
most of the uninstall you will have to invent. Typically, running a normal
"uninstall" will mostly only set the Start field of the registry service
entry to "Disable", which means you will bump into an instance of the driver
when you install. Really removing it means you have to find the INF/PNF
files, delete them, remove your drivers registry keys and then delete the
SYS files. Of course you also have to decide about removing the WDF files
and registry entries that are done for you when you install a WDF driver.
Once you do all of that, if it's a sigined driver, don't be surprised but
what you will see it "restored" for you from the caches XP and Vista
maintain.

Generally, that level of uninstall is simply not worth it.

--
The personal opinion of
Gary G. Little


"snowcrash" <snowcrash.32x91q@mail.codecomments.com> wrote in message
news:snowcrash.32x91q@mail.codecomments.com...
Quote:
>
> Hello there,
>
> I wrote an installer for a special graphics driver (.sys + .inf) for
> W2K, XP and Vista.
>
> Before using this installer, the "VGA Safe" driver from Windows is
> active and works fine.
>
> The installation of my new graphics driver works fine, all works as
> excepted, but I also have to deliver an uninstallation method of this
> driver, which then should fallback to the original (or former one)
> driver.
>
> When uninstalling, I'm using some snipplets from the "Devcon" example
> (command "remove") of the DDK, but unfortunately, the driver gets not
> removed completely.
>
> After a reboot, the "Found new hardware" wizard pops up and wants to
> re-install the NEW driver, which was removed/deleted from my uninstaller
> before.
>
> Now my question: How can I remove the driver entirely without traces
> and fallback to the original driver?
>
> Thank you in advance,
> Snowcrash
>
>
>
> --
> snowcrash
> ------------------------------------------------------------------------
> Posted via http://www.codecomments.com
> ------------------------------------------------------------------------
>

Gary G. Little
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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 On


Similar Threads

Thread Thread Starter Forum Replies Last Post
How do I uninstall a driver update? Jim Windows XP Device Drivers 1 05-25-2004 03:57 AM
Uninstall an Uninstalled Driver Dave Windows XP Device Drivers 2 09-17-2003 12:26 PM
how to uninstall a driver Cari \(MS-MVP\) Windows XP Device Drivers 0 08-23-2003 05:25 PM
how to uninstall an update driver s.garland Windows XP Device Drivers 1 08-23-2003 02:05 PM
XP system restore & uninstall question Kit Windows XP Basics 1 08-18-2003 08:22 PM


All times are GMT. The time now is 01:12 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90