Working with PVS-Studio in Visual Studio 2010 from under multiple Windows user accounts

Paul Eremeev
Articles: 31

The PVS-Studio installer allows you to setup up the analyzer for all of system's user accounts at once. But the restrictions of extension's deployment process for 2005 and 2008 Visual Studio versions allow the installation to be done only from administrator account for this IDEs, which can be inconvenient at times.

In the case of Visual Studio 2010 the installation of PVS-Studio must be executed from administrator-level user account as well. However the repeated installation from under another Windows account could lead to potential error concerning the deployment of PVS-Studio under multiple user accounts.

The emergence of this potential error becomes possible if one installs the analyzer under particular user account at first and then reinstalls it under different account. The following attempts at reinstallation or removal of PVS-Studio using included uninstaller or Visual Studio Extension Manager will be unsuccessful which can be explained by the conflicts in the access levels of files required for these operations.

The problem can be solved by manually deleting the "%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\OOO 'Program Verification Systems'\PVS-Studio" directory and reinstalling the analyzer for required user account while all other user accounts which were used for work with PVS-Studio should be logged off as well.

Use PVS-Studio to search for bugs in C, C++, C# and Java

We offer you to check your project code with PVS-Studio. Just one bug found in the project will show you the benefits of the static code analysis methodology better than a dozen of the articles.

goto PVS-Studio;

Paul Eremeev
Articles: 31

Bugs Found

Checked Projects
Collected Errors
12 743