回答済み [VS 11] Mysterious installation error

  • 2012年3月1日 21:11
     
     

    Hello,

    I'm trying to install VS 11 from ISO on a Windows 7 x64 PC.

    It worked the first time (VS was successfully installed) immediatelly after install, some .NET related apps started to crash with a Configuration related error.

    I tried to reinstall VS several times but I was unable to start the installer anymore. Here is the only log I found :

    [0860:1D54][2012-03-01T21:53:19]: Burn v3.6.2408.1, path: C:\ProgramData\Package Cache\{49835c23-5216-489a-8d57-659815a2b8af}\vs_ultimate.exe, cmdline: '/modify'
    [0860:1D54][2012-03-01T21:53:19]: Initializing string variable 'MbaNetfxPackageId' to value 'netfxfullredist_43'
    [0860:1D54][2012-03-01T21:53:19]: Initializing string variable 'ProductKey' to value 'QGQMHXP29JF9JCJWM8Q9WPMPW'
    [0860:1D54][2012-03-01T21:53:19]: Setting string variable 'WixBundleLog' to value 'C:\Users\<censored ^^>\AppData\Local\Temp\dd_vs_ultimate_20120301215319.log'
    [0860:1D54][2012-03-01T21:53:19]: Loading managed bootstrapper application.
    [0860:1D54][2012-03-01T21:53:19]: Error 0x80131902: Failed to create the managed bootstrapper application.
    [0860:1D54][2012-03-01T21:53:19]: Error 0x80131902: Failed to create UX.
    [0860:1D54][2012-03-01T21:53:19]: Error 0x80131902: Failed to load UX.
    [0860:1D54][2012-03-01T21:53:19]: Error 0x80131902: Failed while running
    [0860:1D54][2012-03-01T21:53:19]: Error 0x80131902: Failed to run per-user mode.

    I uninstalled all VS 11 packages except the main one and pre-clean wich depends on the installer. This didn't solve my problem.

    After a reboot and some investigations, I found on a forum that sometimes, the .NET 4.5 installer from DP made some mess in machine.config. I restored the default one and it solve my problem.

    But now, I have another problem : The VS 11 installer still doesn't work. I get the exactly same log than above.

    I tried the web installer => same result.

    Any ideas?

    PS : I successfully installed VS 11 on another PC from the same ISO.

すべての返信

  • 2012年3月2日 6:39
    モデレータ
     
     

    Hello Guillaume,

    As you can install VS11 with the same ISO successfully on other machines, I think your VS11 ISO should be fine. And please follow the steps below to see if it helps you:

    • TemporarilyTurn off your anti-virus/antispyware software during installation;
    • Install the latest Windows updates from the Windows Update site: http://update.microsoft.com;
    • Complete or dismiss Windows Update before installation. (And don't forget to turn it on
      later);
    • Clean your %temp% folder (Start Menu >>Run >> Type "%temp% >> OK);
    • Then run the setup with Administrator privilege: right-click the installer -> Run as administrator.

    Thanks.




    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

  • 2012年3月4日 23:35
     
     

    Hello,

    I followed your advice but it did not work. The installer closes almost immediatly.

    Here is the last log :

    [23CC:1450][2012-03-05T00:33:55]: Burn v3.6.2408.1, path: E:\vs_ultimate.exe, cmdline: ''
    [23CC:1450][2012-03-05T00:33:55]: Initializing string variable 'MbaNetfxPackageId' to value 'netfxfullredist_43'
    [23CC:1450][2012-03-05T00:33:55]: Initializing string variable 'ProductKey' to value 'QGQMHXP29JF9JCJWM8Q9WPMPW'
    [23CC:1450][2012-03-05T00:33:55]: Setting string variable 'WixBundleLog' to value 'C:\Users\<censored ^^>\AppData\Local\Temp\dd_vs_ultimate_20120305003355.log'
    [23CC:1450][2012-03-05T00:33:55]: Could not load or read state file: C:\ProgramData\Package Cache\{49835c23-5216-489a-8d57-659815a2b8af}\state.rsm, error: 0x80070003.
    [23CC:1450][2012-03-05T00:33:55]: Setting string variable 'WixBundleName' to value 'Microsoft Visual Studio 11 Ultimate Beta'
    [23CC:1450][2012-03-05T00:33:55]: Setting string variable 'WixBundleOriginalSource' to value 'E:\vs_ultimate.exe'
    [23CC:1450][2012-03-05T00:33:55]: Loading managed bootstrapper application.
    [23CC:1450][2012-03-05T00:33:56]: Error 0x80131902: Failed to create the managed bootstrapper application.
    [23CC:1450][2012-03-05T00:33:56]: Error 0x80131902: Failed to create UX.
    [23CC:1450][2012-03-05T00:33:56]: Error 0x80131902: Failed to load UX.
    [23CC:1450][2012-03-05T00:33:56]: Error 0x80131902: Failed while running
    [23CC:1450][2012-03-05T00:33:56]: Error 0x80131902: Failed to run per-user mode.

  • 2012年3月5日 12:13
    モデレータ
     
     

    Hello Guillaume,

    Do you also install VS11 Developer Preview on that Windows7 machine? If so, I am afraid you need to first uninstall the VS11 DP and then install the VS11 Beta again.

    In addition, please try to uninstall VS11 Beta completely from your machine and then try re-install it to see if you get the same result. And for the .NET application related issues, I think can consider reinstall .NET Framework 4.5 again. You can find it here:

    http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27541  

    If you still get the same result, please offer me the complete installation log files you get.

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

  • 2012年3月5日 20:39
     
     

    Hello,

    I never installed VS11 DP on that machine. I tried to uninstall VS11 Beta, but I can't run the installer neither form the ISO nor Control Panel.

    I solved the .NET issue by replacing the machine.config file with the default one.

    About the installation log file, what I posted above is all I could find.

    When I launch the installer, I can see the splash screen for about 1/2 second, then the program closes.

    I get the same log (except one line because I haven't cleaned the package cache this time).

    Here is the last one :

    [1C1C:239C][2012-03-05T21:33:51]: Burn v3.6.2408.1, path: E:\vs_ultimate.exe, cmdline: ''
    [1C1C:239C][2012-03-05T21:33:51]: Initializing string variable 'MbaNetfxPackageId' to value 'netfxfullredist_43'
    [1C1C:239C][2012-03-05T21:33:51]: Initializing string variable 'ProductKey' to value 'QGQMHXP29JF9JCJWM8Q9WPMPW'
    [1C1C:239C][2012-03-05T21:33:52]: Setting string variable 'WixBundleLog' to value 'C:\Users\<my user account>\AppData\Local\Temp\dd_vs_ultimate_20120305213352.log'
    [1C1C:239C][2012-03-05T21:33:52]: Could not load or read state file: C:\ProgramData\Package Cache\{49835c23-5216-489a-8d57-659815a2b8af}\state.rsm, error: 0x80070003.
    [1C1C:239C][2012-03-05T21:33:52]: Setting string variable 'WixBundleName' to value 'Microsoft Visual Studio 11 Ultimate Beta'
    [1C1C:239C][2012-03-05T21:33:52]: Setting string variable 'WixBundleOriginalSource' to value 'E:\vs_ultimate.exe'
    [1C1C:239C][2012-03-05T21:33:52]: Loading managed bootstrapper application.
    [1C1C:239C][2012-03-05T21:33:52]: Error 0x80131902: Failed to create the managed bootstrapper application.
    [1C1C:239C][2012-03-05T21:33:52]: Error 0x80131902: Failed to create UX.
    [1C1C:239C][2012-03-05T21:33:52]: Error 0x80131902: Failed to load UX.
    [1C1C:239C][2012-03-05T21:33:52]: Error 0x80131902: Failed while running
    [1C1C:239C][2012-03-05T21:33:52]: Error 0x80131902: Failed to run per-user mode.

  • 2012年3月6日 6:06
    モデレータ
     
     

    Hello Guillaume,

    If you re-set up your local machine as a clean new system Windows 7 x64, will you still get the same issue?

    Thanks. 


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

  • 2012年3月15日 19:49
     
     

    Hello,

    I tried with a fresh VHD booted Windows 7 x64 and it works, but I want to avoid reinstalling the native instance of Windows.

    Thanks

  • 2012年3月17日 7:08
    モデレータ
     
     

    Hello Guillaume,

    Please collect the installation log files from "%temp%" folder with the Log Collection Tool: http://blogs.msdn.com/b/heaths/archive/2008/05/09/visual-studio-and-net-log-collection-utility.aspx  

    And share me the vslogs.cab file in the %temp% folder, I would like to take a deep look at your installation logs to see what happened.

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

  • 2012年3月31日 13:58
     
     
  • 2012年6月1日 5:21
     
     

    We have the same problem on multiple machines and we are very keen to hear of a fix for this.

    I tried VS11 RC on the failing machines and still the same error log.

  • 2012年6月5日 7:53
     
     

    Hi *,

    I've got the same Problem here. I tried to install VS 11 Dev Preview on a Windows 8 Consumer Preview earlier this year. No Look. During Setup the machines where completely frozen. Now i installad Win8 Release Preview (Clean install) and trying to install VS 11 RC. Same issue. Machines (Lenovo ThinkPad T500, Mac mini late 2010, Custom Machine with xeons) are all freezing. Win is running natively  and no VM's where used.

    Greetings from Bavaria

    Tobi

  • 2012年6月5日 23:59
    モデレータ
     
     回答済み

    The error in the log, 0x80131902, means that the .NET Framework could not be loaded (more specifically, an AppDomain could not be created).

    Do you have at least .NET 3.5 installed/enabled on your machines? You might also connect to Windows Update and make sure you have all required updates installed. There may be some bugs that have been fixed in the .NET Framework.

    Another possibility - though not for this specific error but in general - is that your graphics drivers our out of date or not appropriate for your card (mentioned to @TobiasUlm below in another thread). Setup uses WPF and sometimes bad graphics drivers can cause issues (happened with VS itself for some users).

    Visit your graphics card's manufacturer web site and make sure you have the newest driver available for your card and, on Windows 7, that you have the latest DirectX runtime installed. See http://support.microsoft.com/kb/179113 for more information.


    - Heath @ http://blogs.msdn.com/heaths; Visual Studio Professional Deployment

  • 2012年7月5日 21:07
     
     
    I am having this same issue, did you ever figure it out?
  • 2012年7月5日 21:25
    モデレータ
     
     
    Make sure your graphics drivers are up to date. I know it seems odd, but setup runs on WPF which can be affected in some pretty bad ways when the graphics drivers have any bugs that affect DirectX. Since the same machine seems to have the same problem with a different OS, it's possible that the built-in drivers aren't the best for your system. Visit Lenovo's web site and check for newer drivers - preferrably Win8 (though Win7 drivers will often work).

    - Heath @ http://blogs.msdn.com/heaths; Visual Studio Professional Deployment

  • 2012年7月5日 21:32
    モデレータ
     
     
    Have you checked that your graphics drivers are the latest available? The built-in drivers may not be correct.

    - Heath @ http://blogs.msdn.com/heaths; Visual Studio Professional Deployment

  • 2012年7月9日 21:29
     
     

    Hello,

    I also tried VS11 RC without result.

    I checked manually all .NET Framework files manually by comparing with a working system and found some files with different sizes and/or vesrion numbers. So it is indeed a problem with .NET. I tried many times to reinstall the latest version (4.5 RC) and 4.0 without results.

    I tried reinstalling Windows by overwriting existing installation but that did not solve the problem.

    Finally I manually backuped all the programs (specifically registry and configuration) that I know they will not be automatically backuped correctly, then I used Files and Settings Transfer for the others, made a fresh install, restored, reinstalled VS and it finally work.

  • 2012年8月18日 22:35
     
     

    I am having this same problem too - Visual Studio 2012 + W7 64bit

    Have yet to find a solution. Tried the above but to no evale.

    Any further ideas?

  • 2012年8月25日 11:39
     
     
  • 2013年1月21日 17:42
     
     

    I ran Fusion Log Viewer and got the following output:

    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\Users\VSINST~1.PKI\AppData\Local\Temp\{ddf0bb95-e254-447e-8472-3470057d9c7e}\.ba1\BootstrapperCore.config
    LOG: Using host configuration file: C:\Users\VSINST~1.PKI\AppData\Local\Temp\{ddf0bb95-e254-447e-8472-3470057d9c7e}\.ba1\BootstrapperCore.config
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
    LOG: Post-policy reference: System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    LOG: GAC Lookup was unsuccessful.
    LOG: Attempting download of new URL file:///C:/Users/vsinstall.MYDOMAIN/AppData/Local/Temp/{ddf0bb95-e254-447e-8472-3470057d9c7e}/.ba1/System.Core.DLL.
    LOG: Attempting download of new URL file:///C:/Users/vsinstall.MYDOMAIN/AppData/Local/Temp/{ddf0bb95-e254-447e-8472-3470057d9c7e}/.ba1/System.Core/System.Core.DLL.
    LOG: Attempting download of new URL file:///C:/Users/vsinstall.MYDOMAIN/AppData/Local/Temp/{ddf0bb95-e254-447e-8472-3470057d9c7e}/.ba1/System.Core.EXE.
    LOG: Attempting download of new URL file:///C:/Users/vsinstall.MYDOMAIN/AppData/Local/Temp/{ddf0bb95-e254-447e-8472-3470057d9c7e}/.ba1/System.Core/System.Core.EXE.
    LOG: All probing URLs attempted and failed.

    This led me to suspect there was a problem with the .NET Framework 3.5 installation, so I de-installed and re-installed it. And indeed, it fixed my problem!