Uninstalling KlocworkUninstalling KlocworkTo 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 uninstallIf 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 WindowsUse 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:
Uninstalling Klocwork from a Windows machineTo remove a Klocwork software package:
Uninstalling in unattended mode on WindowsTo 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 machineIf 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 MacTo 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
EclipseTo uninstall the Klocwork plug-in from Eclipse:
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
Note: You must restart IntelliJ IDEA after uninstallation, before you install a new version of Klocwork.
Klocwork extension for Visual Studio
|