Access denied during installation of visual studio

when I try to install Visual Studio Professional (2012, 2013, 2013 SP2), an error occurs: Installation mechanism (access is denied).

The log file shows me the following errors:

[0520:1D30][2014-08-04T09:55:40]i000: MUX:  Installation size in bytes for package: vcRuntimeMinimum_x64 MaxAppDrive: 0  MaxSysDrive: 3470762  AppDrive: 0  SysDrive: 3470762
[0520:1D30][2014-08-04T09:55:40]i000: MUX:  Return Code:0x0 Msi Messages:0 Result Detail:RemoveExistingProducts Restart:None
[0520:1D30][2014-08-04T09:55:40]i000: MUX:  Reset execution Result
[0520:1D30][2014-08-04T09:55:40]i000: MUX:  Reset Result
[0520:1D30][2014-08-04T09:55:40]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x0, restart: None
[22D0:22D4][2014-08-04T09:55:40]i325: Registering dependency: {02a877fe-5dac-4ac0-b869-4b9da00f651c} on package provider: Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v12, package: vcRuntimeMinimum_x64
[22D0:22D4][2014-08-04T09:55:40]e000: Error 0x80070005: Failed to register the dependency on package dependency provider: Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v12
[22D0:22D4][2014-08-04T09:55:40]e000: Error 0x80070005: Failed to register the dependency on the package provider.
[22D0:22D4][2014-08-04T09:55:40]e000: Error 0x80070005: Failed to execute package dependency action.
[0520:1D30][2014-08-04T09:55:40]e000: Error 0x80070005: Failed to register the dependency on per-machine package.
[0520:1D30][2014-08-04T09:55:40]e000: Error 0x80070005: Failed to execute dependency action.
[22D0:22D4][2014-08-04T09:55:40]w331: Could not remove dependency: {02a877fe-5dac-4ac0-b869-4b9da00f651c} on package provider: Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v12, package vcRuntimeMinimum_x64, error: 0x80070005
[22D0:22FC][2014-08-04T09:55:40]i305: Verified acquired payload: cab41974C84E43AEE700F28BA7B03AF3FF7 at path: C:\ProgramData\Package Cache\.unverified\cab41974C84E43AEE700F28BA7B03AF3FF7, moving to: C:\ProgramData\Package Cache\{9347889B-C22A-3905-901F-C05D8F73C929}v12.0.21005\packages\BuildTools_MSBuildResMsi_x86\BuildTools_Res1.cab.
[0520:0BBC][2014-08-04T09:55:40]i000: MUX:  Source confirmed

I stopped my antivirus for installation, started the installation as an administrator, and I followed this page:

http://support.microsoft.com/kb/2872457/pl

I have windows 7 with SP1 (x64),. Net framework 4.5.1.

+4
source share
4 answers

just stop your antivirus and try again. it solved my problem

+3
source

I have found a solution. It works on Windows 7.

Windows (Windors + r regedit). 5 , Microsoft.VS.VC_RuntimeMinimum (, HKEY_CLASSES_ROOT\Installer\Dependencies\Microsoft.VS.VC_RuntimeMinimum_x86, v11) , . . :

  • .
  • "" ""
  • Advance
  • ""
  • " "... ""
  • " "
  • ""
  • Voila,

, VS.

.

+1

, VS 2015 VS 2017 Win 10. , . "C:\Program Files\dotnet\swidtag", swidtag - .

, , dir . ( ), " " .

swidtag , .net .

VC (2017, 2015, 2013). , , , , .

, , VS.

+1

.

vs_community_ENU.exe Run this program as an administrator .

0

All Articles