locked
VS Premium 2012, Installation failure on Windows 7 RRS feed

  • Question

  • Hello everyone,

    I try to install VS 2012 (either Premium or even Express for Desktop) on a Windows 7 SP1 but the installation fails. First the splash screen is displayed and after that I get the message:

    "A problem caused the program to stop working correctly Windows will close the program and notify you if a solution is available."

    Looking at the Installation log I see: ERROR: The type initializer for 'System.Windows.Media.FontFamily' threw an exception.

    I assume that this is related with either a font or .NET framework. Consider that a Silent installation proceeds with success and this is the way I bypassed the problem.

    An interactive installation repeatedly fails even though I have tried an in-Place upgrade for my Windows 7 machine.

    I would appreciate If you please could help with my problem. I have collected the logs and uploaded them to sky drive:

    http://i8jexw.blu.livefilestore.com/y1mCA_TZtRK6BIfSK380pjLMMQFdap75E2EJM5kriNbZmP2FVpsc3aSN0PcIu_XypBu_quk97ZFkdU0X7pS_Y3m8u02V4GbhmIy/vslogs.cab?download&psid=1

    Thanks in advance for your help

    Saturday, October 20, 2012 8:28 AM

Answers

  • Hi Barry,

    Thanks for your help. I proceed as follows and the problem was solved.

    --Backup old fonts and registry entry [ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]

    1. Get c:\windows\Fonts content from another 64-Bit Windows 7 Machine.

    2. Get relevant registry entry from another machine

    3. Delete c:\windows\Fonts\*.*

    4. Delete entry from Registry

    Then
    5. Copy Fonts to  c:\windows\Fonts
     If for some reason COPY fails, rename the Failed font (in my case Calibrib.ttf =>XCalibrib.ttf)  and copy the rest.

    6. Put into the registry the fonts executing the exported registry key
     HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]

    7. Reboot the machine

    Then VS2012 installation proceeds with success.

    • Marked as answer by Barry Wang Wednesday, August 27, 2014 9:58 AM
    Tuesday, October 23, 2012 2:26 PM
  • Hi CO_gpan,

    I've checked you logs and the same error was found.

    Could you please refer to this case:

    http://stackoverflow.com/questions/9066930/wpf-window-crashes-on-startup-or-it-starts-but-hangs-and-does-not-render-conten

    and this blog 

    http://code.logos.com/blog/2009/11/how_to_crash_every_wpf_application.html

    The crash error seems due to the problem as they mentioned.

    I recommend you backup your registry and try the solution on that blog.

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

    Regards,


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

    • Marked as answer by CO_gpan Tuesday, October 23, 2012 2:26 PM
    Tuesday, October 23, 2012 9:07 AM

All replies

  • Hi,

    Thanks for your post.

    I tried to access your logs but got HTTP 404 not found error, could you please check it?

    BTW, what do you mean of "have tried an in-Place upgrad" ?

    It seems there is a thread who has related issue http://superuser.com/questions/464350/can-i-install-visual-studio-2012-side-by-side-with-2010

    I recommend you try the solution listed there.

    Regards,


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

    Monday, October 22, 2012 8:25 AM
  • Hello Barry,

    The Vslogs.cab is at the url:

    https://skydrive.live.com/?cid=198F53AC162A1645&id=198F53AC162A1645!106

    By "In-Place Upgrade" I mean: I upgraded my Windows 7 to Windows 7 using the Upgrade option (NOT CUSTOM).

    I wanted to refresh my Operating System installation in order to avoid a new clean Installation.

    Thanks for your reply.

    Monday, October 22, 2012 2:55 PM
  • Hi CO_gpan,

    I've checked you logs and the same error was found.

    Could you please refer to this case:

    http://stackoverflow.com/questions/9066930/wpf-window-crashes-on-startup-or-it-starts-but-hangs-and-does-not-render-conten

    and this blog 

    http://code.logos.com/blog/2009/11/how_to_crash_every_wpf_application.html

    The crash error seems due to the problem as they mentioned.

    I recommend you backup your registry and try the solution on that blog.

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

    Regards,


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

    • Marked as answer by CO_gpan Tuesday, October 23, 2012 2:26 PM
    Tuesday, October 23, 2012 9:07 AM
  • Hi Barry,

    Thanks for your help. I proceed as follows and the problem was solved.

    --Backup old fonts and registry entry [ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]

    1. Get c:\windows\Fonts content from another 64-Bit Windows 7 Machine.

    2. Get relevant registry entry from another machine

    3. Delete c:\windows\Fonts\*.*

    4. Delete entry from Registry

    Then
    5. Copy Fonts to  c:\windows\Fonts
     If for some reason COPY fails, rename the Failed font (in my case Calibrib.ttf =>XCalibrib.ttf)  and copy the rest.

    6. Put into the registry the fonts executing the exported registry key
     HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]

    7. Reboot the machine

    Then VS2012 installation proceeds with success.

    • Marked as answer by Barry Wang Wednesday, August 27, 2014 9:58 AM
    Tuesday, October 23, 2012 2:26 PM
  • I am having a problem with VS 2015. Whether I run from ISO or Web Installer, I get a quick flash of a splash screen, then nothing. Sometimes MSIEXEC is running in task manager, sometimes it is not. 

    I have:

    1. Removed Anti-virus
    2. Renamed the Crypto\RSAxxx folder
    3. removed the folders under the package cache.
    4. Verified the SHA1 values on the ISOs.

    I am at a loss what else to try and my work is dead in the water. I had VS2015 Enterprise and my license expired, so I need to install Professional. I have uninstalled Enterprise but cannot get any installer from any update to run. 

    Wednesday, September 21, 2016 4:47 PM