Visual Studio 2012 installation (Access Denied)

3

While installing Visual Studio 2012 in Windows 7 64-bit, the computer restarted (power failure), and after the install the folder "d:\Program Files (x86)\Microsoft Visual Studio 11.0" was gone. Now every time I run the installer, it starts installing and 5 seconds later I get the following message:

Setup Engine  
Access Denied  

Does anyone know how to clean everything (all directories and registry) so I can start over from the beginning?

DouglasDC3

Posted 2013-09-11T13:19:43.943

Reputation: 157

havent u tried running setup by run as admin? – BlueBerry - Vignesh4303 – 2013-09-11T13:22:18.943

@Vignesh4303 Yes no success I'm admin on this computer – DouglasDC3 – 2013-09-11T13:23:59.350

1Based upon your other question, can you confirm that this issue isn't with other types of installation - can you install, for example, Winamp or WinRar? – Dave – 2013-09-11T13:29:33.683

A power failure during an install will almost definitely leave corrupted files. Are you able to manually create the folder? You could also try something like Revo Uninstaller to remove any rogue registry entries. – trpt4him – 2013-09-11T13:48:58.727

I finally found fixed the problem. disabled all firewall/AV software and Anti-malware software. Install continued to run installation was corrupt after this. Did an uninstall an reinstall and now everything is working – DouglasDC3 – 2013-09-11T13:54:41.783

Answers

1

Try this.

  1. Turn off the Antivirus temporarily.
  2. Turn off Windows Firewall.
  3. Clear %temp% folder.
  4. Gave Full control permissions to Everyone and current logged in user (Admin one) role to following paths:
    • C:\
    • C:\ProgramData
    • C:\ProgramData\Package Cache

Reference here

stderr

Posted 2013-09-11T13:19:43.943

Reputation: 9 300

This worked just one problem don't have start menu items the folder VS2012 is empty – DouglasDC3 – 2013-09-11T20:20:46.293

0

I have recently had a corrupted installation of Rhino SDK, which also gave a similar error. I used an application called CCLeaner to clean associated registry files. It worked for me.

sirwoetang

Posted 2013-09-11T13:19:43.943

Reputation: 93