Fran Hoey
Fran Hoey

Reputation: 905

Error Installing Postsharp in Visual Studio 2015 -532462766

I've just setup a new development PC with Windows 10 and Visual Studio 2015.

When I try to install the Postsharp extension the installer gets to the "Configuring Visual Studio" step and throws the error:

Could not start VsixInstaller.exe: The VISX installer processs failed with exit code -532462766

I saw on another post this could be because of an older version of Nuget, but I'm currently upto date on 3.1.60724.766

Upvotes: 1

Views: 1552

Answers (1)

Fran Hoey
Fran Hoey

Reputation: 905

I was able to solve the issue by running the postsharp exe with administrator privileges (right click "run as administrator).

In the Windows Application Events I found an error:

VsixInstaller.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.UnauthorizedAccessException

This looks like a known issue https://github.com/github/VisualStudio/issues/28. It looks some confusion between Win 10 UAC and the VISX installer.

I my case my UAC setting was second from the top "Notify me when applications try to make changes to my computer"

Upvotes: 1

Related Questions