Failed Install: The Application Data Folder for Visual Studio could not be created


When I try to install PTVS, it gives me this error and then quits:
"The Application Data Folder for Visual Studio could not be created."

I got the same error when I installed VS integrated and isolated shells (just before trying to install PTVS), but VS seemed to be okay with it. I'm running Win7 Professional.

Things I have tried:
  • Enabling full control of "C:\ProgramData\Microsoft\VisualStudio" for everyone, + adding my user account as the owner
  • Enabling modify privileges of the VS Program Files folder
  • Checking the value of HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\AppData
  • Running from CMD: "msiexec /a "PTVS 1.5 VS 2012.msi" (This resulted in a window that said it was successful but didn't seem to do anything.)
Thanks in advance for any help.
Closed Mar 17, 2013 at 2:48 PM by Zooba


dinov wrote Feb 14, 2013 at 11:26 PM

Can you try clicking on Advanced on the 1st page that comes up during the installer and then choose the install for just me option? Not sure if it'll help, but it will at least cause everything to be written to a completely different location which might work around the issue.

Also, what OS version is this on? And is there anything odd about your user profile directory - for example is it hosted on a share?

aaronncfca wrote Feb 15, 2013 at 1:32 AM

Nothing weird about my windows installation that I know of, although I do tend to play with advanced settings from time to time. It's win7 pro 6.1

And now it seemed to work! It may have been your suggestion or a new run as admin registry script.