Windows 7 で Visual Studio 2012 のインストールが失敗する

Windows 7 で Visual Studio 2012 のインストールが失敗する

Windows 7 Home Premium 64 ビット マシンに Visual Studio 2012 をインストールしようとしていますが、インストールに失敗します。すべてのバージョン (Premium、Ultimate など) をインストールしようとしましたが、以下のエラーが発生します。

マシンはドメインに参加しておらず、管理者ユーザーとしてログインしています。Security Essentials を使用していましたが、インストール前にオフにしました。インストール ソースは MSDN からです。

ここに画像の説明を入力してください

エラー ログはアップロードするには大きすぎますが、ログの重要な部分を次に示します。

[1350:2188][2012-10-07T18:24:13]: MUX: エラー: 'System.Windows.Media.FontFamily' の型初期化子が例外をスローしました。 [1350:2188][2012-10-07T18:24:13]: MUX: スタック: System.Windows.Media.Typeface..ctor(FontFamily fontFamily、FontStyle style、FontWeight weight、FontStretch Stretch)、MS.Internal.Text.DynamicPropertyReader.GetTypeface(DependencyObject element)、MS.Internal.Text.TextProperties.InitCommon(DependencyObject target)、MS.Internal.Text.TextProperties..ctor
(FrameworkElement target、Boolean isTypographyDefaultValue)、System.Windows.Controls.TextBlock.GetLineProperties()、System.Windows.Controls.TextBlock.EnsureTextBlockCache()、System.Windows.Controls.TextBlock.MeasureOverride(Size constraint)
、System.Windows.FrameworkElement.MeasureCore(Size availableSize)
、System.Windows.UIElement.Measure(Size availableSize)、 System.Windows.Controls.StackPanel.MeasureOverride(サイズ制約)
、System.Windows.FrameworkElement.MeasureCore(サイズ availableSize)
、System.Windows.UIElement.Measure(サイズ availableSize)、System.Windows.Controls.Grid.MeasureCell(Int32 cell、Boolean forceInfinityV)、System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead、サイズ referenceSize、Boolean ignoreDesiredSizeU、Boolean forceInfinityV)
、System.Windows.Controls.Grid.MeasureOverride(サイズ制約)、System.Windows.FrameworkElement.MeasureCore(サイズ availableSize)、System.Windows.UIElement.Measure(サイズ availableSize)、System.Windows.Controls.Border.MeasureOverride(サイズ制約)、System.Windows.FrameworkElement.MeasureCore(サイズ availableSize)、System.Windows.UIElement.Measure(サイズ availableSize)、System.Windows.Controls.Grid.MeasureOverride(サイズ制約)、 System.Windows.FrameworkElement.MeasureCore(使用可能なサイズ)、System.Windows.UIElement.Measure(使用可能なサイズ)、System.Windows.Controls.Border.MeasureOverride(サイズ制約)、System.Windows.FrameworkElement.MeasureCore(使用可能なサイズ)、System.Windows.UIElement.Measure(使用可能なサイズ)、System.Windows.Controls.Grid.MeasureOverride(サイズ制約)、System.Windows.FrameworkElement.MeasureCore(使用可能なサイズ)、System.Windows.UIElement.Measure(使用可能なサイズ)、MS.Internal.Helper.MeasureElementWithSingleChild(UIElement 要素、サイズ制約)、System.Windows.Controls.ContentPresenter.MeasureOverride(サイズ制約)、System.Windows.FrameworkElement.MeasureCore(使用可能なサイズ)、System.Windows.UIElement.Measure(使用可能なサイズ)、System.Windows.Controls.Decorator.MeasureOverride(サイズ制約)
System.Windows.Documents.AdornerDecorator.MeasureOverride(サイズ制約)、System.Windows.FrameworkElement.MeasureCore(使用可能なサイズ)、System.Windows.UIElement.Measure(使用可能なサイズ)、System.Windows.Controls.Border.MeasureOverride(サイズ制約)、System.Windows.FrameworkElement.MeasureCore(使用可能なサイズ)、System.Windows.UIElement.Measure(使用可能なサイズ)、System.Windows.Window.MeasureOverrideHelper(サイズ制約)、System.Windows.Window.MeasureOverride(使用可能なサイズ)、System.Windows.FrameworkElement.MeasureCore(使用可能なサイズ)、System.Windows.UIElement.Measure(使用可能なサイズ)、System.Windows.Interop.HwndSource.SetLayoutSize()、System.Windows.Interop.HwndSource.set_RootVisualInternal(ビジュアル値)、System.Windows.Interop.HwndSource.set_RootVisual(ビジュアル値)、
System.Windows.Window.SetRootVisual() でSystem.Windows.Window.SetupInitialState(Double requestTop, Double requestLeft, Double requestWidth, Double requestHeight)、System.Windows.Window.CreateSourceWindowImpl()、System.Windows.Window.SafeCreateWindow()、System.Windows.Window.ShowHelper(Object booleanBox)、System.Windows.Window.Show()、Microsoft.Devdiv.Bootstrapper.ManagedUx.RunUI(ViewModelCommonUi viewModel)、Microsoft.Devdiv.Bootstrapper.ManagedUx.InternalRun()、Microsoft.Devdiv.Bootstrapper.ManagedUx.Run()、System.Threading.ThreadHelper.ThreadStart_Context(Object state)、System.Threading.ExecutionContext.Run(ExecutionContext executionContext、ContextCallback callback、Object state)、System.Threading.ThreadHelper.ThreadStart()

答え1

フォントが破損している可能性があります。問題を解決するには、次の 3 つの方法を試してください。

Windows 7 で破損したフォントを修復する方法

答え2

VS 2010 のコンポーネントがいくつか必要だったようなので、最初に VS 2010 をインストールし、次に VS 2012 をインストールしたら成功しました。

この後、VS 2010 をアンインストールしました。

とても奇妙に思えますが、これは私にだけ効果がありました。

関連情報