![]() |
| |||||||
| Notices |
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| 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 ------------------------------------------------------------------------ | Guest
Posts: n/a
|
|
| | #2 (permalink) | |
| 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:
| Guest
Posts: n/a
| |
|
![]() |
| Tags |
| None |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| 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 |