VisualStudioSetup.exe crashes upon launching it and before that Visual Studio did aswell

Dominik Matúš 0 Reputation points
2023-09-01T10:52:31.09+00:00

I installed visual studio 2022 community and after restarting my computer i kept getting devenv.exe error (0xe0434352 error) so i tried to uninstall it with the installer but then it kept crashing too "The process was terminated due to an unhandled exception". So i uninstalled it with InstallCleanup.exe and still noticed that no visual studio app works. Please help.

Here is a log of the error from Event Viewer


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.
964 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Dominik Matúš 0 Reputation points
    2023-09-01T10:53:13.0066667+00:00

    For some reason the log didnt get included so here it is

    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider Name=".NET Runtime" /> 
      <EventID Qualifiers="0">1026</EventID> 
      <Version>0</Version> 
      <Level>2</Level> 
      <Task>0</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x80000000000000</Keywords> 
      <TimeCreated SystemTime="2023-09-01T10:45:28.8034315Z" /> 
      <EventRecordID>5533</EventRecordID> 
      <Correlation /> 
      <Execution ProcessID="0" ThreadID="0" /> 
      <Channel>Application</Channel> 
      <Computer>DESKTOP-INQVILT</Computer> 
      <Security /> 
      </System>
    - <EventData>
      <Data>Application: vs_setup_bootstrapper.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.TypeLoadException at System.Windows.Automation.Peers.AutomationPeer.Initialize() at System.Windows.Automation.Peers.AutomationPeer..cctor() Exception Info: System.TypeInitializationException at System.Windows.Automation.Peers.AutomationPeer.RaiseFocusChangedEventHelper(System.Windows.IInputElement) at System.Windows.Input.KeyboardDevice.ChangeFocus(System.Windows.DependencyObject, Int32) at System.Windows.Input.KeyboardDevice.TryChangeFocus(System.Windows.DependencyObject, System.Windows.Input.IKeyboardInputProvider, Boolean, Boolean, Boolean) at System.Windows.Input.KeyboardDevice.Focus(System.Windows.DependencyObject, Boolean, Boolean, Boolean) at System.Windows.Input.KeyboardDevice.Focus(System.Windows.IInputElement) at System.Windows.Interop.HwndKeyboardInputProvider.OnSetFocus(IntPtr) at System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)</Data> 
      </EventData>
      </Event>
    
    0 comments No comments