
Estou tentando instalar o Visual Studio 2012 em uma máquina Windows 7 Home Premium de 64 bits, mas a instalação falha. Tentei instalar todas as versões (Premium, Ultimate etc..) mas estou recebendo o erro abaixo.
A máquina não está associada ao domínio e estou logado como usuário administrativo. Eu estava usando o Security Essentials, mas desliguei-o antes da instalação. A fonte de instalação é do MSDN.
O log de erros é muito grande para ser carregado, mas aqui está a parte importante do log:
[1350:2188][2012-10-07T18:24:13]: MUX: ERRO: O inicializador de tipo para 'System.Windows.Media.FontFamily' gerou uma exceção. [1350:2188][2012-10-07T18:24:13]: MUX: Stack: em System.Windows.Media.Typeface..ctor(FontFamily fontFamily, estilo FontStyle, peso FontWeight, trecho FontStretch) em MS.Internal. Text.DynamicPropertyReader.GetTypeface (elemento DependencyObject) em MS.Internal.Text.TextProperties.InitCommon (destino DependencyObject)
em MS.Internal.Text.TextProperties..ctor (destino FrameworkElement, Boolean isTypographyDefaultValue) em System.Windows.Controls.TextBlock. GetLineProperties() em System.Windows.Controls.TextBlock.EnsureTextBlockCache() em System.Windows.Controls.TextBlock.MeasureOverride(Restrição de tamanho)
em System.Windows.FrameworkElement.MeasureCore(Tamanho disponívelSize)
em System.Windows.UIElement.Measure( Tamanho disponívelSize) em System.Windows.Controls.StackPanel.MeasureOverride(Restrição de tamanho)
em System.Windows.FrameworkElement.MeasureCore(Tamanho disponívelSize)
em System.Windows.UIElement.Measure(Tamanho disponívelSize) em System.Windows.Controls.Grid. MeasureCell (célula Int32, booleano forceInfinityV) em System.Windows.Controls.Grid.MeasureCellsGroup (Int32 cellHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
em System.Windows.Controls.Grid.MeasureOverride (restrição de tamanho) em System.Windows. FrameworkElement.MeasureCore (Tamanho disponívelSize) em System.Windows.UIElement.Measure (Tamanho disponívelSize) em System.Windows.Controls.Border.MeasureOverride (Restrição de tamanho) em System.Windows.FrameworkElement.MeasureCore (Tamanho disponívelSize) em System.Windows. UIElement.Measure (Tamanho disponívelSize) em System.Windows.Controls.Grid.MeasureOverride (Restrição de tamanho) em System.Windows.FrameworkElement.MeasureCore (Tamanho disponívelSize) em System.Windows.UIElement.Measure (Tamanho disponívelSize) em System.Windows. Controls.Border.MeasureOverride (restrição de tamanho) em System.Windows.FrameworkElement.MeasureCore (tamanho disponívelSize) em System.Windows.UIElement.Measure (tamanho disponívelSize) em System.Windows.Controls.Grid.MeasureOverride (restrição de tamanho) em System. Windows.FrameworkElement.MeasureCore (Tamanho disponívelSize) em System.Windows.UIElement.Measure (Tamanho disponívelSize) em MS.Internal.Helper.MeasureElementWithSingleChild (elemento UIElement, restrição de tamanho) em System.Windows.Controls.ContentPresenter.MeasureOverride (restrição de tamanho) em System.Windows.FrameworkElement.MeasureCore (tamanho disponívelSize) em System.Windows.UIElement.Measure (tamanho disponívelSize) em System.Windows.Controls.Decorator.MeasureOverride (restrição de tamanho)
em System.Windows.Documents.AdornerDecorator.MeasureOverride (restrição de tamanho) em System.Windows.FrameworkElement.MeasureCore (tamanho disponívelSize) em System.Windows.UIElement.Measure (tamanho disponívelSize) em System.Windows.Controls.Border.MeasureOverride (tamanho restrição) em System.Windows.FrameworkElement.MeasureCore (tamanho disponívelSize) em System.Windows.UIElement.Measure (tamanho disponívelSize) em System.Windows.Window.MeasureOverrideHelper (restrição de tamanho) em System.Windows.Window.MeasureOverride (tamanho disponívelSize) em System.Windows.FrameworkElement.MeasureCore(Size availableSize) em System.Windows.UIElement.Measure(Size availableSize) em System.Windows.Interop.HwndSource.SetLayoutSize() em System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value) em System.Windows.Interop.HwndSource.set_RootVisual(Valor visual)
em System.Windows.Window.SetRootVisual() em System.Windows.Window.SetupInitialState(Double requestTop, Double RequestLeft, Double RequestWidth, Double RequestHeight) em System.Windows. Window.CreateSourceWindowImpl() em System.Windows.Window.SafeCreateWindow() em System.Windows.Window.ShowHelper(Object booleanBox) em System.Windows.Window.Show() em Microsoft.Devdiv.Bootstrapper.ManagedUx.RunUI(ViewModelCommonUi viewModel ) em Microsoft.Devdiv.Bootstrapper.ManagedUx.InternalRun() em Microsoft.Devdiv.Bootstrapper.ManagedUx.Run() em System.Threading.ThreadHelper.ThreadStart_Context(estado do objeto) em System.Threading.ExecutionContext.Run(ExecutionContext execuçãoContext, ContextCallback retorno de chamada, estado do objeto) em System.Threading.ThreadHelper.ThreadStart()
Responder1
Fontes possivelmente corrompidas. Experimente estes 3 métodos para resolver o problema
Responder2
Parece que precisava de alguns componentes do VS 2010, então instalei o VS 2010 primeiro e depois instalei o VS 2012 e foi bem-sucedido.
Depois disso, desinstalei o VS 2010.
Parece muito estranho, mas isso só funcionou para mim.