none
Problem when installing VS2012 RRS feed

  • Question

  • Hi there,

    I have tried to install VS2012 for Windows desktop quite a few times. I have repaired it, un- and re-installed it and I always have some problem.

    It can install the .NET Framework 4.5, but after restarting the PC, it stops at about a third of the installation. This time the error is the following:

    The log file is too big to show it.

    Thanks for your time,


    João Miguel

    Monday, November 5, 2012 9:40 PM

Answers

  • Solution: I got a new computer. As hard as I tried, there was utterly no way around the problem (although I think formating the disk might have solved it, the computer was really old anyway).

    On another prespective, I got quite some help from the community, and this is the only problem I had that could not be effectivly solved.


    "Penso, logo existo" - René Descartes
    "A produção de muitas coisas úteis resulta em muitas pessoas inúteis" - Karl Marx
    "Vive como se fosses morrer amanhã, aprende como se fosses viver para sempre" - Mahatma Gandhi

    João Miguel


    • Edited by JMCF125 Friday, January 25, 2013 11:05 PM adding info
    • Marked as answer by JMCF125 Friday, January 25, 2013 11:05 PM
    Friday, January 25, 2013 11:00 PM

All replies

  • Hi,

    Please use http://aka.ms/vscollect   to gather the installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to https://skydrive.live.com/  and share the link with us.

    BTW, what's your OS version? Win 7 or Win 8? RTM or RC?

    Regards,


    Barry Wang [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, November 6, 2012 9:56 AM
    Moderator
  • Done. I think I need your e-mail to share though, it asks for it.

    I'm using Windows 7 Ultimate x86 (32 bits).


    João Miguel

    Tuesday, November 6, 2012 4:55 PM
  • My email: v-barryw@microsoft.com

    BTW, on SkyDrive there is another option which do not need email.

    In case I haven't got your logs. Here are some possible solution you may try:

    1. Clear %temp% folder (Can be opened from File Explorer)

    2. Disable AV software

    3. Ensure the ISO meet the checksum or you do not have network error if it is a web-installer

    4. Seems one update failed to install. Would you please also open Windows Update to update?

    Keep Windows patched up is required when installing VS. If the update failed, try search or ask for solutions from http://answers.microsoft.com/en-us/windows/forum/windows_update

    If you have any updates, feel free to let me know.

    NOTE: Don't forget to add this forum link if you send me email.


    Barry Wang [MSFT]
    MSDN Community Support | Feedback to us


    Wednesday, November 7, 2012 2:00 AM
    Moderator
  • You're right, I didn't need the e-mail (I tried it anyway). Here's the link: https://skydrive.live.com/redir?resid=82256A0F5EE62D44!20056&authkey=!ALgm0Ms-mJek9PY.

    Thank you for your time.


    João Miguel

    Wednesday, November 7, 2012 3:19 PM
  • Hi JMCF125,

    Your core error:

    [1114:1118][2012-11-05T20:53:19]: Applying execute package: wdexpress_resourcemsi, action: Repair, path: C:\ProgramData\Package Cache\{222C5507-AC43-388F-808E-2266EC57E043}v11.0.50727\packages\wdexpress\resource\wdexpress_resourcemsi.msi, arguments: ' MSIFASTINSTALL="7" VSEXTUI="1" INSTALLINGBUNDLE="WDExpress"'
    [1120:1124][2012-11-05T20:55:04]: MUX:  ExecuteError: Package (wdexpress_resourcemsi) failed: Error Message Id: 1310 ErrorMessage: Error 1310.Error writing to file: C:\Config.Msi\80af7.rbf.   Verify that you have access to that directory.

    Try solution listed on the following blog:

    http://helpx.adobe.com/creative-suite/kb/error-1310-error-writing-file.html

    http://support.microsoft.com/kb/296175

    They are usd for other programs, but the solution worked for all installation progress.

    Regards,


    Barry Wang [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, November 8, 2012 6:39 AM
    Moderator
  • I gained full access to Config.Msi and I already had access to system32.

    Unfortunatly, it didn't work. Another error message appeared:

    Here's the link to the new log file.

    Thanks for your help so far.


    João Miguel

    Thursday, November 8, 2012 5:13 PM
  • Hi,

    Still find the following error:

    [10B0:10B4][2012-11-08T16:45:50]: MUX:  ExecuteError: Package (wdexpress_patch) failed: Error Message Id: 1310 ErrorMessage: Error 1310.Error writing to file: C:\Config.Msi\a50d1.rbf.   Verify that you have access to that directory.
    [10B0:10B4][2012-11-08T16:46:03]: MUX:  ExecuteError: Package (wdexpress_patch) failed: Error Message Id: 1712 ErrorMessage: Error 1712.One or more of the files required to restore your computer to its previous state could not be found.  Restoration will not be possible.

    Could you please try rename that folder?

    BTW, I'm trying to involve some experts here.

    Regards,


    Barry Wang [MSFT]
    MSDN Community Support | Feedback to us

    Friday, November 9, 2012 8:18 AM
    Moderator
  • I gained full access to Config.Msi, became its owner, renamed it, but nothing works! I checked the log file myself, the error is exacly the same, even though the folder refered (Config.Msi) doesn't exist anymore.

    What should I do now??


    João Miguel

    Saturday, November 10, 2012 1:00 PM
  • Hi,

    The MsiInv.txt shows that VS 11 beta that you installed in Sep 2011 is not uninstalled. Can you uninstall it and then retry to install VS 2012 Express for Windows Desktop? Follow this article: http://support.microsoft.com/kb/2693272

    If VS 2012 Express still not succeed, please recollect the log and share with me the update log.

    regards


    Forrest Guo | MSDN Community Support | Feedback to manager


    Saturday, November 10, 2012 2:18 PM
    Moderator
  • I uninstalled the beta, but the installation failed where and as it always fails: Config.Msi (even though that folder doesn't exist anymore).

    João Miguel

    Sunday, November 11, 2012 5:21 PM
  • Can you recollect vslogs.cab? I can determine if beta products are uninstalled completely.

    thanks.


    Forrest Guo | MSDN Community Support | Feedback to manager

    Monday, November 12, 2012 2:43 AM
    Moderator
  • Sorry for the delay, here's the link.

    João Miguel

    Sunday, November 18, 2012 6:25 PM
  • The log indicates Visual Studio "Developer Preview" is still on system. I mentioned "beta" earlier. Note that I mean VS Developer  Preview now.  Do you see it in Program and Features?  Please:

    1. Clean up %temp% folder;
    2. Uninstall Visual Studio 11 Developer Preview from Program and Features;
    3. Reinstall VS 2012 Express for Windows Desktop.

    regards,


    Forrest Guo | MSDN Community Support | Feedback to manager

    Monday, November 19, 2012 9:20 AM
    Moderator
  • Hi João?

    Forrest Guo | MSDN Community Support | Feedback to manager

    Tuesday, November 20, 2012 2:51 AM
    Moderator
  • It didn't work, although the setup went further this time, beyond half. Here's the error message:


    João Miguel

    Tuesday, November 20, 2012 4:39 PM
  • Should I recollect the logs?


    João Miguel

    Tuesday, November 20, 2012 4:40 PM
  • Yes, please. It would be helpful.

    Forrest Guo | MSDN Community Support | Feedback to manager

    Thursday, November 22, 2012 2:49 AM
    Moderator
  • Here you go. Thanks for your support so far.

    João Miguel

    Thursday, November 22, 2012 7:30 PM
  • No problem. Analyzed the msiinv.txt, I think Visual Studio 11 Professional Developer Preview is still on system. Can you see it on Control Panel > Program and Features list?

    Please uninstall it. Let me know if you have trouble to uninstall. http://support.microsoft.com/kb/2693272

    Wish the thread could be resolved soon. I'm online for next 8 hours.


    Forrest Guo | MSDN Community Support | Feedback to manager

    Friday, November 23, 2012 3:03 AM
    Moderator
  • No problem. Analyzed the msiinv.txt, I think Visual Studio 11 Professional Developer Preview is still on system. Can you see it on Control Panel > Program and Features list?

    No, after uninstalling it (from the control panel), I even went to the Programs folder and removed its folder (I don't remeber the name). Afterwords, I tried to remove the language pack as well, but it didn't work, something like "visual studio is required for setup, blah, bla, etc.".

    Please uninstall it. Let me know if you have trouble to uninstall. http://support.microsoft.com/kb/2693272

    Wish the thread could be resolved soon.

    Yeah, me too. I've been having to program in F# with MonoDevelop, that just crashes all the time.

    I'm online for next 8 hours.

    The problem is that it seems when you're awake, I'm asleep, and vice-versa.

    I'm very grateful for your help.



    João Miguel

    Friday, November 23, 2012 7:19 PM
  • We should never uninstall Visual Studio by deleting folders, because Visual Studio deployment also writes data to registry, register dll in GAC etc. Visual Studio deployment is more than files copy. At this time, I wish you can undelete related VS folder as much as you can.

    The suggestion now is to remove Visual Studio Developer Preview from command line. In this case, it's required that original Visual Studio installation media, I mean the Windows Installer packages are not deleted:

    1. msiexec /x {A2BC5778-C0ED-38B5-8274-76B3B55F71B7}
    2. msiexec /x {4A795FAE-A516-3820-8035-4EF6651A233A}
    3. msiexec /x {0CCA7812-1E7A-3BD2-87B6-F54F214459DF}
    4. msiexec /x {FADEF203-B6DD-3BD6-9C88-0A0DFB4F08BB}
    5. msiexec /x {35D933B5-2949-3D22-B972-490DC6B8C686}
    6. msiexec /x {5CDE6319-A260-3B6F-9A6D-543A934ADECD}
    7. msiexec /x {B0E27D38-16E7-3FAB-809E-4A47CEE17A88}
    8. msiexec /x {6E1644B8-97BE-326D-8AE9-36E7FF9535FB}
    9. msiexec /x {D3689AA4-DC74-3E9A-A53F-BBF3481C1BCC}

    They represent below products respectively. If any one of them fail to execute, you should consider to rebuild your system. Prerequisite of uninstall corrupt in that case.

    1. Microsoft Visual Studio 11 Developer Preview SDK Language Pack
    2. Microsoft Visual Studio 11 Developer Preview SDK
    3. Microsoft Visual Studio 11 Performance Collectio Tools Developer Preview - ENU
    4. Microsoft Visual Studio 11 Performance Collectio Tools Developer Preview
    5. Microsoft Visual Studio 11 Developer Preview - ENU
    6. Microsoft Visual Studio 11 Professional Developer Preview CoreRes - ENU
    7. Microsoft Visual Studio 11 Developer Preview
    8. Microsoft Visual Studio 11 Premium Developer Preview CoreRes - ENU
    9. Microsoft Visual Studio 11 Premium Developer Preview Core

    Let me know what you decides please.

    with regards,


    Forrest Guo | MSDN Community Support | Feedback to manager

    Saturday, November 24, 2012 12:58 PM
    Moderator
  • [...] never uninstall Visual Studio by deleting folders, [...]

    I'm sorry, I thought it was OK as I unistalled it from the control panel first, I just wanted to erase the remainings to install VS2012.

    How can I remove it all from the command line?


    João Miguel

    Saturday, November 24, 2012 1:34 PM
  • Hi, detail steps is:

    1. Start command prompt;
    2. Execute forementioned msiexec /x *** commands one by one

    In ideal case, every item should execute successfully.


    Forrest Guo | MSDN Community Support | Feedback to manager

    Sunday, November 25, 2012 4:08 AM
    Moderator
  • Everything worked out so far, although it asked for my permission to remove the packages and to access Config.Msi (which the system must have recreated).

    Even as administrator, I had to include my user-name (I had changed it a long time ago, I had to insert the old one, which, fortunatly, I remebered. The name of one user's folder doesn't change, so I could go check it anyway) in the permissions to full control of the folder Config.Msi.

    I'll attempt to reinstall VS2012 now. 


    João Miguel

    Sunday, November 25, 2012 3:32 PM
  • The installation failed once more, here's the error message:

    And in the log file, the first error is: 

    [1100:1104][2012-11-25T16:11:11]: MUX:  ExecuteError: Package (wdexpress_patch) failed: Error Message Id: 1310 ErrorMessage: Error 1310.Error writing to file: C:\Config.Msi\a328e.rbf.   Verify that you have access to that directory.

    I couldn't find Config.Msi (again) and thus I couldn't check the permitions. What should I do next?


    João Miguel

    Sunday, November 25, 2012 4:19 PM
  • The last image provides valuable clue(KB2740066), I'm consulting this KB internally. Please wait some time.

    You should be happy that Config.Msi folder doesn't exist, that folder exists during install/uninstall. After installation process completes, it gets deleteed automatically.

    Btw, another set of VS 2012 components need to be removed. Sorry I didn't give them together. There're multiple VS edtions and versions on your system. :

    1. msiexec /x {09412B73-6159-40D6-B0B9-C11B30A7531E}
    2. msiexec /x {330E5D98-20D2-4CA4-AE51-FCB8AA80F634}
    3. msiexec /x {1D3F5D17-BAD3-4D33-9F4E-AFCC44238626}
    4. msiexec /x {820C677A-41B2-48C3-8136-FEE35A052E73}
    5. msiexec /x {32136776-FE3F-453D-80DA-CDD993BDB2A3}
    6. msiexec /x {38FC6E9A-F719-431A-A83D-4C86D5FD6555}
    7. msiexec /x {E818AE7C-244B-4A50-9C86-C0E4A8B69159}
    8. msiexec /x {B1465D1D-6427-4CA1-AE29-8B699209E663}
    9. msiexec /x {800F484E-9D69-492D-B656-7BAA32586142}

    They corresponds to below products respectively:

    1. Microsoft Visual Studio 2012 Preparation
    2. Microsoft Visual Studio 2012 Devenv
    3. Microsoft Visual Studio 2012 Preparation
    4. Microsoft Visual Studio 2012 Shell (Minimum) Interop Assemblies
    5. Entity Framework Designer for Visual Studio 2012 - enu
    6. Microsoft Visual Studio 2012 Shell (Minimum) Resources
    7. Microsoft Visual Studio 2012 Tools for SQL Server Compact 4.0 SP1 ENU
    8. Microsoft Visual Studio 2012 Devenv Resources
    9. Microsoft Visual Studio 2012 Shell (Minimum) 

    Then retry install of VS Express 2012 for Windows Desktop. If it didn't succeed, please:

    1. Empty %temp%
    2. Recollect the log and share on Skydrive
    3. Send me email with the thread URL: forrest_msdn@hotmail

    with regards,


    Forrest Guo | MSDN Community Support | Feedback to manager


    Monday, November 26, 2012 3:13 AM
    Moderator
  • You should be happy that Config.Msi folder doesn't exist, [...], it gets deleteed automatically.

    [...], another set of VS 2012 components need to be removed. 

    What a (two) relief(s)! I though VS2012 wouldn't install. Now, it just might!

    João Miguel

    Monday, November 26, 2012 5:41 PM
  • The same error as in the last screenshot (KBsomenumber) occured.

    "Penso, logo existo" - René Descartes
    "A produção de muitas coisas útesi resulta em muitas pessoas inúteis" - Karl Marx
    "Vive como se fosses morrer amanhã, aprende como se fosses viver para sempre" - Mahatma Gandhi
    João Miguel

    Monday, November 26, 2012 6:42 PM
  • I recollected the logs. Here's the link.

    "Penso, logo existo" - René Descartes
    "A produção de muitas coisas úteis resulta em muitas pessoas inúteis" - Karl Marx
    "Vive como se fosses morrer amanhã, aprende como se fosses viver para sempre" - Mahatma Gandhi

    João Miguel

    Tuesday, November 27, 2012 10:12 PM
  • Hello João, it appears as you have mentioned that you are still failing at:

    MSI (s) (D4:9C) [21:26:39:632]: Note: 1: 1310 2: 5 3: C:\Config.Msi\138894a.rbf
    MSI (s) (D4:9C) [21:26:39:633]: Product: Microsoft Visual Studio Express 2012 for Windows Desktop -- Error 1310.Error writing to file: C:\Config.Msi\138894a.rbf.  System error 5.  Verify that you have access to that directory.

    Previously you changed permissions on the config.msi folder.  That folder gets deleted and recreated as needed.  There is a chance that the appropriate permissions are not getting propagated correctly to that folder and subsequent files.  Please check the permissions on the c:\ drive.  Looking at a clean Win7 machine you should have the advanced permissions on the C: drive similar to this:

    Administrators -  Full Control - Apply to = This folder,subfolder and files

    System - Full Control -  Apply to = This folder,subfolder and files

    Users - Read & Execute - Apply to = This folder,subfolder and files

    Please confirm and correct any issues you see and test the install of VS2012 again to get past this problem.


    Tuesday, December 4, 2012 9:11 PM
  • I had tried that before, I did it again, and between 5 seconds and a minute, it was back the way it was before. The permitions were getting reset all the time! So I had to set them back 3 times per minute! Then, sometimes, a message appeared, showing something like "access denied".

    It successfully installed KBsomeNumber, but it couldn't install VS2012, crashing there; the message is displayed above in this thread (date of the post: Thursday, November 08, 2012 5:13 PM). The reason (that was in the log file) is, of course, not being able to access Config.Msi.

    I'm getting sick of having to try this who-knows-how-many times a week; I don't know why doesn't the installer just prompt me to insert the administrator password! I hope this can be solved soon.

    Thanks,


    "Penso, logo existo" - René Descartes
    "A produção de muitas coisas úteis resulta em muitas pessoas inúteis" - Karl Marx
    "Vive como se fosses morrer amanhã, aprende como se fosses viver para sempre" - Mahatma Gandhi

    João Miguel

    Thursday, December 6, 2012 4:37 PM
  • João, thanks for the information.  As you mentioned the problem is that something  is resetting your permissions and therefore causing the subsequent install failures. Having the permissions change like this is not a default behavior.

    I do not know details of the environment your machine is in but perhaps an administrator has pushed a policy down to your machine that is changing the permissions?  If this is not the case you can consider auditing for who\what is changing your permissions.


    Thursday, December 6, 2012 6:34 PM
  • The only problem is that I am the only administrator in my computer. It's really odd, isn't it? How can I do that "auditing"?

    "Penso, logo existo" - René Descartes
    "A produção de muitas coisas úteis resulta em muitas pessoas inúteis" - Karl Marx
    "Vive como se fosses morrer amanhã, aprende como se fosses viver para sempre" - Mahatma Gandhi

    João Miguel

    Saturday, December 8, 2012 12:54 PM
  • If the permissions are changing within seconds to a minute then a procmon.exe (sysinternals.com) would most likely suffice to identify what process is making the change.  You can also tell which account that process is running under with that tool.
    Tuesday, December 11, 2012 9:32 PM
  • There were so many events happening, that even filtering them, I couldn't get the one making the change. Afterwords, I retried the installation, and, as in the first 2 times I did it, I went away and let it install. It did install KBsomenumber and VS2012 successufully, along with some other minor products; but .Net Framework 4.5 SDK, the Windows Development Kit and a third product whose name I don't remeber didn't install.

    EDIT:

    Yesterday Windows Update installed KB2781514, which is about VS2012. Today, I could, therefore, install VS2012 for Web, which wasn't installing either, but that finally could do so with all the components.


    "Penso, logo existo" - René Descartes 

    "A produção de muitas coisas úteis resulta em muitas pessoas inúteis" - Karl Marx
    "Vive como se fosses morrer amanhã, aprende como se fosses viver para sempre" - Mahatma Gandhi

    João Miguel


    • Edited by JMCF125 Thursday, December 13, 2012 9:13 PM adding quite some information
    Thursday, December 13, 2012 6:44 PM
  • VS2012 for Web didn't work. A the VS Interop Shell was missing, and couldn't find the assembly. It would be cool if we could download the assemblies instead of reinstalling, if some of those files are broken or don't exist, we'd insert the license code of VS and it'd be ready to go.

    Anyway, while reinstalling VS2012 for Web, I got the same problem as with VS2012 for Desktop: access to C:\Config.Msi was denied.

    This turns out to be a strange and hard problem to solve. And annoying. I have been building F# applications with F# Interactive! Only today could the VS2010 Integrated Shell be repaired. It worked because fortunately, when the access was denied, it asked to repeat, ignore or abort; and repeat worked. It also asked to get some feature, which was on a folder with a strange name that it transferred to my external hard drive. Other VS2010 Alternatives to VS are suicide programs: they just crash and sometimes don't work anymore, because they destroy themselves.

    Also, as VS Web was basically installed, I decided to install the isolated and then the integrated VS2012 shells as well. Finally, VS2012 for Web an for Desktop worked! In F# there is intellinsense (in VS for Web, in VS for Desktop the F# naturally don't work), but in C# it isn't working. Maybe that's because VS2012 for Desktop didn't completely install. I'll try again in another day perhaps (it does open though).

    P.S.:

    This replie may (and does) look completely  unorganized, however, that is due to the fact that I did not write it at once, but across the evening; would I forget how I got it half the way working. 


    "Penso, logo existo" - René Descartes
    "A produção de muitas coisas úteis resulta em muitas pessoas inúteis" - Karl Marx
    "Vive como se fosses morrer amanhã, aprende como se fosses viver para sempre" - Mahatma Gandhi

    João Miguel

    Monday, December 17, 2012 11:12 PM
  • Solution: I got a new computer. As hard as I tried, there was utterly no way around the problem (although I think formating the disk might have solved it, the computer was really old anyway).

    On another prespective, I got quite some help from the community, and this is the only problem I had that could not be effectivly solved.


    "Penso, logo existo" - René Descartes
    "A produção de muitas coisas úteis resulta em muitas pessoas inúteis" - Karl Marx
    "Vive como se fosses morrer amanhã, aprende como se fosses viver para sempre" - Mahatma Gandhi

    João Miguel


    • Edited by JMCF125 Friday, January 25, 2013 11:05 PM adding info
    • Marked as answer by JMCF125 Friday, January 25, 2013 11:05 PM
    Friday, January 25, 2013 11:00 PM