next up previous contents
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$\backslash$util directory (see Chapter 13 for details regarding these utilities).
****************************************************************************************

  1. Close any open WinDriver applications, including DriverWizard, the Debug Monitor (wddebug_gui.exe) and user-specific applications.

  2. If you created a Kernel PlugIn driver:

  3. 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:

  4. Uninstall WinDriver:

    ****************************************************************************************
      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$\backslash$ util$\backslash$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.
    ****************************************************************************************

  5. If windrvr6.sys was successfully unloaded, erase the following files (if they exist):

  6. Reboot the computer.


3.5.2 Linux WinDriver Uninstall Instructions

****************************************************************************************
  NOTE
  You must be logged in as root to perform the uninstall procedure.
****************************************************************************************

  1. Verify that the WinDriver module is not being used by another program:

  2. Unload the WinDriver module:
    /sbin# rmmod windrvr6

  3. 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

  4. If you created a Kernel PlugIn driver, remove it as well.

  5. Remove the file .windriver.rc from the /etc directory:
    /# rm -rf /etc/.windriver.rc

  6. Remove the file .windriver.rc from $HOME:
    /# rm -rf $HOME/.windriver.rc

  7. If you created a symbolic link to DriverWizard, delete the link using the command:
    /# rm -f /usr/bin/wdwizard

  8. Delete the WinDriver installation directory using the command:
    /# rm -rf ~/WinDriver

  9. Erase the following shared object file, if it exists:
    /usr/lib/libwdapi920.so (32-bit PowerPC or 32-bit x86) /
    /usr/lib64/libwdapi920.so (64-bit x86).


3.5.3 Solaris WinDriver Uninstall Instructions

****************************************************************************************
  NOTE
  You must be logged in as root to perform the uninstall procedure.
****************************************************************************************

  1. Make sure no programs are using WinDriver.

  2. 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

  3. Run the following uninstallation script:
    ~/WinDriver# ./remove_windrvr

  4. Run the following command:

  5. Remove the .windriver.rc file from the /etc directory.
    To do this, run the following command:
    # rm -rf /etc/.windriver.rc

  6. Remove the .windriver.rc file from the $HOME directory.
    To do this, run the following command:
    # rm -rf $HOME/.windriver.rc

  7. If you created a symbolic link to DriverWizard, delete the link:
    # rm -f /usr/bin/wdwizard

  8. Delete the WinDriver installation directory, after changing the directory to the one above WinDriver:
    # rm -rf ~/WinDriver

  9. Erase the following shared object file, if it exists:
    /lib/32/libwdapi920.so (32-bit SPARC or 32-bit x86) /
    /lib/64/libwdapi920.so (64-bit SPARC).


next up previous contents
Next: 4. Using DriverWizard Up: 3. Installing WinDriver Previous: 3.4 Checking Your Installation   Contents