O instalador do Visual Studio 2015 falha antes de iniciar

1

Estou tentando instalar o Visual Studio 2015, mas continuo recebendo um erro:

Setup detected an issue during the operation.

Aqui está o log que é gerado a partir do programa de instalação:

dd_vs_community_20161011154142.log - Pastebin

Acho que essa pode ser a parte importante:

[123C:2F78][2016-10-11T15:41:44]e000: MUX:  Stack:    at System.Windows.Media.Typeface..ctor(FontFamily fontFamily, FontStyle style, FontWeight weight, FontStretch stretch)
   at MS.Internal.Text.DynamicPropertyReader.GetTypeface(DependencyObject element)
   at MS.Internal.Text.TextProperties.InitCommon(DependencyObject target)
   at MS.Internal.Text.TextProperties..ctor(FrameworkElement target, Boolean isTypographyDefaultValue)
   at System.Windows.Controls.TextBlock.GetLineProperties()
   at System.Windows.Controls.TextBlock.EnsureTextBlockCache()
   at System.Windows.Controls.TextBlock.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Decorator.MeasureOverride(Size constraint)
   at System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Window.MeasureOverrideHelper(Size constraint)
   at System.Windows.Window.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Interop.HwndSource.SetLayoutSize()
   at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
   at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
   at System.Windows.Window.SetRootVisual()
   at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
   at System.Windows.Window.CreateSourceWindowImpl()
   at System.Windows.Window.SafeCreateWindow()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.Show()
   at Microsoft.Devdiv.Bootstrapper.ManagedUx.RunUI(ViewModelCommonUi viewModel)
   at Microsoft.Devdiv.Bootstrapper.ManagedUx.RunInteractiveUI(ViewModelCommonUi viewModel)
   at Microsoft.Devdiv.Bootstrapper.ManagedUx.InternalRun()
   at Microsoft.Devdiv.Bootstrapper.ManagedUx.Run()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
[123C:2F78][2016-10-11T15:41:44]e000: MUX:  Exception: Info: InnerException: Info:
[123C:2F78][2016-10-11T15:41:44]e000: MUX:  ERROR: More data is available.

[123C:2F78][2016-10-11T15:41:44]e000: MUX:  Stack:    at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
   at Microsoft.Win32.RegistryKey.GetValueNames()
   at MS.Internal.FontCache.FontSourceCollection.SetFontSources()
   at MS.Internal.FontCache.FontSourceCollection.GetEnumerator()
   at MS.Internal.FontCache.FamilyCollection.BuildFamilyList(List'1& familyList, SortedDictionary'2& familyNameList, SortedList'2& frequentStrings)
   at MS.Internal.FontCache.FamilyCollection.MS.Internal.FontCache.IFontCacheElement.AddToCache(CheckedPointer newPointer, ElementCacher cacher)
   at MS.Internal.FontCache.HashTable.Lookup(IFontCacheElement e, Boolean add)
   at MS.Internal.FontCache.CacheManager.Lookup(IFontCacheElement e)
   at System.Windows.Media.FontFamily.PreCreateDefaultFamilyCollection()
   at System.Windows.Media.FontFamily..cctor()

O ISO Sha-1 corresponde ao listado abaixo aqui

Sha-1: C838DF0D2DAD6E763DF5A7974F5FFCD45B98FD0E

Eu tentei todos os métodos que vi no google, mas nada parece estar funcionando. O que é que está me causando a não conseguir instalar o Visual Studio?

    
por Get Off My Lawn 11.10.2016 / 22:52

2 respostas

2

A julgar pelo seu log, ele está tendo problemas para lidar com suas fontes. Talvez você tenha uma ou mais fontes corrompidas / incompatíveis instaladas.

Um Google rápido para e000: MUX: Stack: at System.Windows.Media.Typeface retorna este artigo da Base de conhecimento da Microsoft:

  • A instalação do Visual Studio trava com uma exceção após a exibição da tela inicial

... o que parece concordar com minha avaliação original:

This issue may occur because there are issues with certain fonts on your system, such as invalid characters in the font path or invalid file timestamps.

Você pode ler esse artigo para sugestões sobre como identificar e corrigir fontes que não concordam com o instalador do VS.

    
por 11.10.2016 / 23:08
-1

Para a posteridade: se você estiver usando o software da Adobe, ele está instalando um manipulador de fontes que permite o uso de arquivos TTC no estilo Mac (coleções de fontes TrueType). Essas fontes instalam-se bem no sistema e geralmente são suportadas em aplicativos comuns, no entanto, os aplicativos WPF parecem travar por causa deles presentes no sistema. Verifique seu lista de fontes abaixo:

NT \ CurrentVersion \ Fonts de HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows

para qualquer fonte com a extensão * .ttc. Copie-os para um diretório temporário, remova-os do diretório de fontes do sistema usando o Windows Explorer (modo padrão), extraia fontes ttf individuais das coleções ttc usando um conversor on-line de sua escolha e instale-as novamente. Aplicativos do WPF param de travar e você consegue manter suas fontes.

    
por 07.02.2017 / 14:32