Next: 4. Using DriverWizard
Up: 3. Installing WinDriver
Previous: 3.4 Checking Your Installation
Contents
Subsections
3.5 Uninstalling WinDriver
This section will help you to uninstall either the evaluation or
registered version of WinDriver.
3.5.1 Windows WinDriver Uninstall Instructions
****************************************************************************************
| |
NOTES |
| |
- For Windows 98/Me, replace references to
wdreg below with wdreg16.
- For Windows 2000/XP/Server 2003/Vista, you can also use the
wdreg_gui.exe utility instead of
wdreg.exe.
- wdreg.exe, wdreg_gui.exe and
wdreg16.exe are found under the
WinDriver
util directory (see
Chapter 13 for details regarding these
utilities).
|
****************************************************************************************
- Close any open WinDriver applications, including DriverWizard,
the Debug Monitor (wddebug_gui.exe) and user-specific
applications.
- If you created a Kernel PlugIn driver:
- On Plug-and-Play Windows systems (Windows 98 / Me / 2000 / XP / Server 2003 /
Vista):
Uninstall all Plug-and-Play devices (USB/PCI/PCMCIA) that have been
registered with WinDriver via an INF file:
- Uninstall WinDriver:
- On the development PC, on which you installed the
WinDriver toolkit:
Run Start | WinDriver | Uninstall, OR run the
uninstall.exe utility from the
WinDriver
installation directory.
The uninstall will stop and unload the WinDriver kernel module
(windrvr6.sys); delete the copy of the
windrvr6.inf file from the
%windir%
inf directory (on Windows 2000/XP/Server 2003/Vista)
%windir%
inf
other directory (on Windows
98/Me); delete WinDriver from Windows' Start menu;
delete the WinDriver
installation directory
(except for files that you added to this directory); and delete
the short-cut icons to the DriverWizard and Debug Monitor
utilities from the Desktop.
- On a target PC, on which you installed the WinDriver
kernel module (windrvr6.sys), but not the entire
WinDriver toolkit:
Use the wdreg utility to stop and unload the
driver:
wdreg -inf <path to windrvr6.inf> uninstall
****************************************************************************************
| |
NOTE |
| |
When running this command, windrvr6.sys should
reside in the same directory as windrvr6.inf. |
****************************************************************************************
(On the development PC, the relevant wdreg
uninstall command is executed for you by the uninstall utility).
****************************************************************************************
| |
NOTES |
| |
- If there are open handles to WinDriver when attempting to
uninstall it (either using the uninstall utility
or by running the wdreg uninstall command
directly) - for example if there is an open WinDriver application
or a connected Plug-and-Play device that has been registered to
work with WinDriver via an INF file (on Windows 98/Me/2000/XP/Server 2003/Vista) - an
appropriate warning message will be displayed. The message will
provide you with the option to either close the open
application(s) / uninstall/disconnect the relevant device(s), and
Retry to uninstall the driver; or Cancel the
uninstall of the driver, in which case the
windrvr6.sys kernel driver will not be
uninstalled. This ensures that you do not uninstall the WinDriver
kernel module (windrvr6.sys) as long as it is
being used.
- You can check if the WinDriver kernel module is loaded by
running the Debug Monitor utility
(WinDriver
util wddebug_gui.exe). When the
driver is loaded the Debug Monitor log displays driver and OS
information; otherwise it displays a relevant error message.
On the development PC the uninstall command will delete this
utility, therefore in order to use it after you execute the
uninstallation, create a copy of wddebug_gui.exe
before performing the uninstall procedure.
|
****************************************************************************************
- If windrvr6.sys was successfully unloaded, erase the
following files (if they exist):
- %windir%
system32
drivers
windrvr6.sys
- %windir%
inf
windrvr6.inf (Windows 2000/XP/Server 2003/Vista)
- %windir%
inf
Jungowindrvr6.inf (Windows 98/Me)
- %windir%
system32
wdapi901.dll
- %windir%
sysWOW64
wdapi901.dll (Windows x64)
- Reboot the computer.
3.5.2 Linux WinDriver Uninstall Instructions
****************************************************************************************
| |
NOTE |
| |
You must be logged in as root to perform the uninstall procedure. |
****************************************************************************************
- Verify that the WinDriver module is not being used by another
program:
- View a list of modules and the programs using each of them:
/# /sbin/lsmod
- Close any applications that are using the WinDriver module.
- Unload any modules that are using the WinDriver module:
/sbin# rmmod
- Unload the WinDriver module:
/sbin# rmmod windrvr6
- If you are not using a Linux 2.6.x kernel that supports the
udev file system, remove the old device node in the
/dev directory:
/# rm -rf /dev/windrvr6
- If you created a Kernel PlugIn driver, remove it as well.
- Remove the file .windriver.rc from the
/etc directory:
/# rm -rf /etc/.windriver.rc
- Remove the file .windriver.rc from
$HOME:
/# rm -rf $HOME/.windriver.rc
- If you created a symbolic link to DriverWizard, delete the link
using the command:
/# rm -f /usr/bin/wdwizard
- Delete the WinDriver installation directory using the command:
/# rm -rf ~/WinDriver
- Erase the following shared object file, if it exists:
/usr/lib/libwdapi901.so (32-bit PowerPC or 32-bit x86)
/
/usr/lib64/libwdapi901.so (64-bit x86).
3.5.3 Solaris WinDriver Uninstall Instructions
****************************************************************************************
| |
NOTE |
| |
You must be logged in as root to perform the uninstall procedure. |
****************************************************************************************
- Make sure no programs are using WinDriver.
- If you created a Kernel PlugIn driver, remove it by following these
steps:
- (a)
- # /usr/sbin/rem_drv kpname
- (b)
- On 64-bit platforms (64-bit SPARC):
# rm /kernel/drv/sparcv9/kpname
On 32-bit platforms (32-bit x86/SPARC):
# rm /kernel/drv/kpname
- (c)
- # rm /kernel/drv/kpname.conf
- Run the following uninstallation script:
~/WinDriver# ./remove_windrvr
- Run the following command:
- On 64-bit platforms (64-bit SPARC):
# rm -rf /kernel/drv/sparcv9/windrvr6 /kernel/drv/windrvr6.conf
- On 32-bit platforms (32-bit x86/SPARC):
# rm -rf /kernel/drv/windrvr6 /kernel/drv/windrvr6.conf
- Remove the .windriver.rc file from the
/etc directory.
To do this, run the following command:
# rm -rf /etc/.windriver.rc
- Remove the .windriver.rc file from the
$HOME directory.
To do this, run the following command:
# rm -rf $HOME/.windriver.rc
- If you created a symbolic link to DriverWizard, delete the link:
# rm -f /usr/bin/wdwizard
- Delete the WinDriver installation directory, after changing the
directory to the one above WinDriver:
# rm -rf ~/WinDriver
- Erase the following shared object file, if it exists:
/lib/32/libwdapi901.so (32-bit SPARC or 32-bit x86)
/
/lib/64/libwdapi901.so (64-bit SPARC).
Next: 4. Using DriverWizard
Up: 3. Installing WinDriver
Previous: 3.4 Checking Your Installation
Contents