Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

Uninstalling Klocwork

Uninstalling Klocwork

To avoid duplicate entries in the Windows Control Panel and incorrect plug-in version numbers in your IDEs, uninstall the current version of Klocwork before downgrading to a previous version.

Before you uninstall

If you will be modifying or uninstalling a Server package or connected desktop installation, you must stop the Klocwork Servers first. See Stopping the Klocwork Servers.

If you are uninstalling the Server package, in addition to stopping the servers, you should also make a backup copy of your projects_root directory and any configuration files you modified, such as kwfilter.conf). For Unix and Windows, compiler configuration files are located in <server_install>/config; for Mac they are located at /Library/Frameworks/KlocworkServer.framework/<version>/config. For more information about backing up data, see Backing up Klocwork data.

While the Windows version of the Klocwork Server package won't uninstall the projects_root directory or configuration files, it's a good idea to make a backup of these directories. For Unix systems, there is no automated uninstall, so make sure you back up your projects_root and any other data files you want to keep and store them outside your Server installation directory. Then you can delete the Server installation directory.

See also Repairing a Windows installation of Klocwork.

Viewing installed components or modifying your installation on Windows

Use the procedure below if you want to remove one or more Klocwork components, or if you need to check what components are currently installed. For example, if you need to uninstall Klocwork before installing a new version, you should check what components are currently installed before uninstalling, so that you can install the same components for the new version.

To view installed components or partially uninstall Klocwork:

  1. In the Start menu, go to Control Panel > Add or Remove Programs .
    Windows: From the Control Panel window, under Programs, select Uninstall a program.
  2. Scroll to and click the Server or desktop plug-in you want information on.
  3. To find information about patches, make sure the Show updates checkbox is selected at the top of the Add or Remove Programs panel.
    Windows 7: Click View installed updates in the upper left.
    The installed patches will be displayed under the Klocwork installation package entry.
  4. Click Change.
    Windows 7: Right-click the Klocwork installation package and select Change.
    The Welcome screen for the Modification wizard appears.
  5. Click Next.
    The Program Maintenance panel appears.
  6. Select Modify and click Next.
  7. The Custom Setup screen appears. Click through it to see what components (features) are installed.
    Note: This symbol indicates a component that is installed:
  8. If you are simply viewing installed components:
  9. Record which components are installed.
  10. Click Cancel.
  11. Click Yes when asked if you are sure.
  12. Click Finish.
  13. If you want to uninstall certain components, or install components you did not previously install:
  14. For the components you want to uninstall, click This feature will not be available.
    For the components you want to install, clickThis feature, and all subfeatures, will be installed on local hard drive.
  15. Click Next.
    The Ready to Modify the Program screen appears.
  16. Click Install.
    The features you selected will be modified.
  17. Click Finish.

Uninstalling Klocwork from a Windows machine

To remove a Klocwork software package:

  1. From the Start menu, click All Programs > Klocwork 2018.1.
  2. Select the uninstaller for the component that you want to uninstall.

Uninstalling in unattended mode on Windows

To run uninstallation in unattended mode from a Windows machine, enter the following command:

<installer.exe> /S /v"/qn REMOVE=ALL"

where <installer.exe> is the package you want to uninstall

An uninstallation log file will be saved to %USERPROFILE%\Local Settings\Temp. The log file is named Klocwork<release>-<package>.log. For example, the uninstallation log file for the Klocwork 2018.1 Server package is named Klocwork18.1-Server.log.

Uninstalling on Unix

Viewing installed components on a Unix machine

If you are upgrading to a new version of Klocwork, check what components are currently installed before uninstalling, so that you can install the same components from the new version.

To list installed components (features), run the following command:

kwupdate [option ...] --list

See kwupdate for the full list of options.

To uninstall on Unix, simply delete the Server package and/or desktop plug-in package installation directory.

Uninstalling on Mac

To uninstall, delete the following directories:

/Applications/Klocwork Server 2018.1

/Applications/Klocwork User 2018.1

/Library/Frameworks/Klocwork*.framework

/usr/local/kw

Uninstalling plug-ins

Eclipse

To uninstall the Klocwork plug-in from Eclipse:

Eclipse 3.4 Eclipse 3.5 and up
  1. From the Help menu, choose Help > Software Updates > Manage Configuration.
  2. The Product Configuration dialog appears.
  3. Expand the items in the navigation pane until you see the Klocwork feature.
  4. Right-click the Klocwork feature and choose Uninstall, and click Yes to confirm that you want to disable this feature.
  1. From the Help menu, choose Help > About Eclipse"
  2. Click Installation Details.
  3. Select the Klocwork plug-in from the list and click Uninstall.

When you're prompted to restart Eclipse, click Yes.

Once Eclipse restarts, the Klocwork buttons and menu items are no longer present. If you haven't uninstalled the Klocwork desktop analysis plug-in for Eclipse, your Klocwork projects remain in their storage location.

IntelliJ IDEA

  1. Go to File > Settings.
  2. Under IDE Settings, click Plugins.
  3. Right-click Klocwork for Java in IntelliJ IDEA and select Uninstall.
  4. Close IntelliJ IDEA.
  5. Restart IntelliJ IDEA to confirm the removal by ensuring that the Klocwork button has been removed.
Note: You must restart IntelliJ IDEA after uninstallation, before you install a new version of Klocwork.

Klocwork extension for Visual Studio

  1. In Visual Studio, click Help > Add and Remove Help Content.
  2. For the Klocwork Desktop Plugin, click Remove.
  3. Click Update and then close the Help Viewer.
  4. In Visual Studio, go to Tools > Extensions and Updates.
  5. In the list of Installed items, find Klocwork Static Analysis and click Uninstall.
  6. Restart Visual Studio in order for the changes to take effect.