Visual Studio 2019 Intaller is not working.

Gitae Kim 1 Reputation point
2021-03-20T02:37:14.107+00:00

As usual today, an exception was thrown while running Visual Studio, and it was unavoidably deleted through the -f option of the InstallCleanup program.

After that, I downloaded and ran the Visual Studio 2019 Community Installer, but the window was turned off while running bootstrap.json, and this situation was repeated every time I tried.

I tried to solve it by referring to other Q/A, but I couldn't find a perfect solution, so I post a question.

The contents of Errorinfomation.txt file is below that:

Error Information
AppInsightsEvent Name = vs/setup/bootstrapper/error
Description = FileNotFoundException
TelemetrySession = 'fcd3f051-b97b-49e6-9cd8-c68371acf143' Started = True OptIn=True IsInitialized = True Cloned = False
WatsonEventType = VisualStudioNonFatalErrors2
UTC time = 2021-03-20T02:13:46

Exception:
System.IO.FileNotFoundException 파일이나 어셈블리 'UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' 또는 여기에 종속되어 있는 파일이나 어셈블리 중 하나를 로드할 수 없습니다. 지정된 파일을 찾을 수 없습니다. <= This sentense is wrote by korean. System.Windows.Controls.Primitives.RangeBase.OnMaximumChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) System.Windows.PropertyChangedCallback.Invoke(DependencyObject d, DependencyPropertyChangedEventArgs e) System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) System.Windows.StyleHelper.ApplyTemplatedParentValue(DependencyObject container, FrameworkObject child, Int32 childIndex, FrugalStructList1& childRecordFromChildIndex, DependencyProperty dp, FrameworkElementFactory templateRoot) System.Windows.StyleHelper.InvalidatePropertiesOnTemplateNode(DependencyObject container, FrameworkObject child, Int32 childIndex, FrugalStructList1& childRecordFromChildIndex, Boolean isDetach, FrameworkElementFactory templateRoot) System.Windows.FrameworkElementFactory.InstantiateTree(UncommonField1 dataField, DependencyObject container, DependencyObject parent, List1 affectedChildren, List1& noChildIndexChildren, FrugalStructList1& resourceDependents) System.Windows.FrameworkElementFactory.InstantiateTree(UncommonField1 dataField, DependencyObject container, DependencyObject parent, List1 affectedChildren, List1& noChildIndexChildren, FrugalStructList1& resourceDependents) System.Windows.StyleHelper.ApplyTemplateContent(UncommonField1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate) System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField1 templateDataField, FrameworkElement container) System.Windows.FrameworkElement.ApplyTemplate() System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Controls.Border.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Controls.Control.MeasureOverride(Size constraint) System.Windows.Controls.RichTextBox.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Controls.Grid.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint) System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Controls.Border.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Controls.Control.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Controls.StackPanel.StackMeasureHelper(IStackMeasure measureElement, IStackMeasureScrollData scrollData, Size constraint) System.Windows.Controls.StackPanel.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV) System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged) System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV) System.Windows.Controls.Grid.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint) System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Controls.Border.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Controls.Control.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Controls.Grid.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint) System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Controls.Control.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV) System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged) System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV) System.Windows.Controls.Grid.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint) System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Controls.Border.MeasureOverride(Size constraint) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Window.MeasureOverrideHelper(Size constraint) System.Windows.Window.MeasureOverride(Size availableSize) System.Windows.FrameworkElement.MeasureCore(Size availableSize) System.Windows.UIElement.Measure(Size availableSize) System.Windows.Interop.HwndSource.SetLayoutSize() System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value) System.Windows.Interop.HwndSource.set_RootVisual(Visual value) System.Windows.Window.SetRootVisual() System.Windows.Window.SetRootVisualAndUpdateSTC() System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight) System.Windows.Window.CreateSourceWindow(Boolean duringShow) System.Windows.Window.CreateSourceWindowDuringShow() System.Windows.Window.SafeCreateWindowDuringShow() System.Windows.Window.ShowHelper(Object booleanBox) System.Windows.Window.Show() System.Windows.Window.ShowDialog() Microsoft.VisualStudio.Setup.Bootstrapper.ViewModel.RootViewModel.Show() Microsoft.VisualStudio.Setup.Bootstrapper.InteractiveViewModel.Show() Microsoft.VisualStudio.Setup.Bootstrapper.Bootstrapper.Execute() Microsoft.VisualStudio.Setup.Bootstrapper.Program.Run(String[] args) WerReportAddDump PID=7516 vs_setup_bootstrapper WerDumpTypeMiniDump

I'll wait for an answer to resolve this situation.
Thank you.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,604 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
963 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Amir Iftikhar 11 Reputation points
    2021-03-31T10:49:52.537+00:00

    There are multiple reasons for Visual Studio Bootstrapper error.
    Try the following solutions and it will work for you.

    • Uninstall or disable 3rd party antivirus
    • Some corrupted or missing files in setup

    Moreover, please visit this link for the details: https://appuals.com/fix-microsoft-setup-bootstrapper-has-stopped-working/

    0 comments No comments

  2. Priyanshu Sinha 1 Reputation point
    2021-04-19T08:58:12.46+00:00

    @Gitae Kim
    Run you setup file in troubleshoot mode by right clicking on it and selecting

    Troubleshoot Compatibility

    and then select

    Try recommended settings

    and then test the program and save all the changes by selecting

    Yes, save these settings for this program.

    And then try again installing.
    Hope it helps! :)

    0 comments No comments