Visual Studio 2019安装程序在提取后运行,但在几秒钟后关闭

问题描述

运行它时,我有vs_community__1463967417.1589547493493.exe,我看到它正在提取并要求我授予管理员权限,我允许,什么都没发生,但它只是在Temp文件夹中创建文件

Temp文件夹的内容

VSFaultInfo
dd_bootstrapper_20200818220314.txt
dd_vs_community__1463967417.1589547493_decompression_log.txt

顺便说一下,VSFaultInfo是一个文件夹。

dd_bootstrapper_20200818220314.txt的内容

Beginning of the log. Start Time: 8/18/2020 10:03:14 PM
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Commandline arguments = --env,_SFX_CAB_EXE_PACKAGE:C:\Users\b1\Downloads\vs_community__1463967417.1589547493.exe _SFX_CAB_EXE_ORIGINALWORKINGDIR:C:\Users\b1\Downloads
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Parent process name = vs_community__1463967417.1589547493
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Parent process product version = 16.8.30404.54
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: CampaignId = 1463967417.1589547493
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: ResponseId not available in 'vs_setup_bootstrapper.config'. Trying to parse filename.
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: loading config settings: -update --update --layout -offline --offline --locale --layout --originalworkingdir --installLayoutPath --env
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Caught Exception: Type = XamlParseException,Message = Set property 'System.Windows.Controls.Border.BorderBrush' threw an exception.,StackTrace =    at System.Windows.Markup.XamlReader.RewrapException(Exception e,IXamlLineInfo lineInfo,Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader,IXamlObjectWriterFactory writerFactory,Boolean skipJournaledProperties,Object rootObject,XamlObjectWriterSettings settings,Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader,XamlAccessLevel accessLevel,Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream,ParserContext parserContext,Object parent,Boolean closeStream)
   at Microsoft.VisualStudio.Setup.Bootstrapper.View.Root..ctor(Rootviewmodel viewmodel)
   at Microsoft.VisualStudio.Setup.Bootstrapper.Interactiveviewmodel.<>c__displayClass2_0.<.ctor>b__0()
   at System.Windows.Threading.dispatcher.Invoke(Action callback,dispatcherPriority priority,CancellationToken cancellationToken,TimeSpan timeout)
   at System.Windows.Threading.dispatcher.Invoke(Action callback)
   at Microsoft.VisualStudio.Setup.Bootstrapper.Interactiveviewmodel..ctor(IServiceContainer serviceProvider,ProgramOptions options)
   at Microsoft.VisualStudio.Setup.Bootstrapper.viewmodelFactory.Create(IServiceContainer serviceProvider,ProgramOptions options)
   at Microsoft.VisualStudio.Setup.Bootstrapper.Bootstrapper..ctor(IServiceContainer serviceProvider,ProgramOptions options)
   at Microsoft.VisualStudio.Setup.Bootstrapper.Program.Run(String[] args)
InnerException:Type = BadImageFormatException,Message = An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B),StackTrace =    at MS.Win32.SafeNativeMethods.SafeNativeMethodsPrivate.GetProcessDpiAwareness(HandleRef hProcess,IntPtr& awareness)
   at MS.Win32.SafeNativeMethods.GetProcessDpiAwareness(HandleRef hProcess)
   at MS.Internal.DpiUtil.ProcessDpiAwarenessHelper.GetProcessDpiAwarenessFromWindow(IntPtr hWnd)
   at MS.Internal.DpiUtil.ProcessDpiAwarenessHelper.GetProcessDpiAwareness(IntPtr hWnd)
   at MS.Internal.DpiUtil.GetProcessDpiAwarenessContextValue(IntPtr hWnd)
   at System.Windows.SystemResources.get_ProcessDpiAwarenessContextValue()
   at System.Windows.SystemResources.EnsureResourcechangelistener()
   at System.Windows.SystemResources.FindResourceInternal(Object key,Boolean allowDeferredResourceReference,Boolean mustReturnDeferredResourceReference)
   at System.Windows.FrameworkElement.FindResourceInternal(FrameworkElement fe,FrameworkContentElement fce,DependencyProperty dp,Object resourceKey,Object unlinkedParent,Boolean mustReturnDeferredResourceReference,DependencyObject boundaryElement,Boolean isImplicitStyleLookup,Object& source)
   at System.Windows.ResourceReferenceExpression.GetRawValue(DependencyObject d,Object& source,DependencyProperty dp)
   at System.Windows.ResourceReferenceExpression.GetValue(DependencyObject d,DependencyProperty dp)
   at System.Windows.DependencyObject.EvaluateExpression(EntryIndex entryIndex,Expression expr,PropertyMetadata Metadata,EffectiveValueEntry oldEntry,EffectiveValueEntry newEntry)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp,Object value,Boolean coerceWithDeferredReference,Boolean coerceWithCurrentValue,OperationType operationType,Boolean isInternal)
   at System.Windows.Baml2006.WpfKNownMemberInvoker.SetValue(Object instance,Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst,XamlMember property,Object value)
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: General Failure. Message:Set property 'System.Windows.Controls.Border.BorderBrush' threw an exception. Callstack:    at System.Windows.Markup.XamlReader.RewrapException(Exception e,ProgramOptions options)
   at Microsoft.VisualStudio.Setup.Bootstrapper.Program.Run(String[] args) Inner Message:An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) Internal Exception:    at MS.Win32.SafeNativeMethods.SafeNativeMethodsPrivate.GetProcessDpiAwareness(HandleRef hProcess,Object value)
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Watson: Sending Watson Bucket with:
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Watson: P1  = vs_setup_bootstrapper
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Watson: P2  = 2.8.27.31978
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Watson: P3  = 
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Watson: P4  = Install
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Watson: P5  = https://aka.ms/vs/16/pre/installer
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Watson: P6  = n/a
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Watson: P7  = 5002
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Watson: P8  = -2146233087
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Watson: P9  = Microsoft.VisualStudio.Product.Community
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Watson: P10 = VisualStudio.16.Preview
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Watson: Including dmp file
VisualStudio Bootstrapper:8/18/2020 10:03:15 PM: Watson: Including Log : C:\Users\b1\AppData\Local\Temp\dd_bootstrapper_20200818220314.log

dd_vs_community__1463967417.1589547493_decompression_log.txt的内容

[8/18/2020,22:3:13] === Logging started: 2020/08/18 22:03:13 ===
[8/18/2020,22:3:13] Executable: C:\Users\b1\Downloads\vs_community__1463967417.1589547493.exe v16.8.30404.54
[8/18/2020,22:3:13] --- logging level: standard ---
[8/18/2020,22:3:13] Directory 'C:\Users\b1\AppData\Local\Temp\a37c51ba21fd2bc0bdda488a\' has been selected for file extraction
[8/18/2020,22:3:13] Extracting files to: C:\Users\b1\AppData\Local\Temp\a37c51ba21fd2bc0bdda488a\
[8/18/2020,22:3:14] Extraction took 312 milliseconds
[8/18/2020,22:3:14] Executing extracted package: 'vs_bootstrapper_d15\vs_setup_bootstrapper.exe ' with commandline '  --env "_SFX_CAB_EXE_PACKAGE:C:\Users\b1\Downloads\vs_community__1463967417.1589547493.exe _SFX_CAB_EXE_ORIGINALWORKINGDIR:C:\Users\b1\Downloads"'
[8/18/2020,22:3:16] The entire Box execution exiting with result code: 0x0
[8/18/2020,22:3:16] Launched extracted application exiting with result code: 0x138a
[8/18/2020,22:3:16] === Logging stopped: 2020/08/18 22:03:16 ===

VSFaultInfo文件夹的内容

200818_100315_3788281

200818_100315_3788281文件夹的内容

Errorinformation.txt

Errorinformation.txt的内容

Error information
AppInsightsEvent Name = vs/setup/bootstrapper/error
          Description = XamlParseException
     TelemetrySession = 'fcc8a893-b427-4652-abc5-058d5c71de30' Started = True OptIn=True IsInitialized = False Cloned = False
      WatsonEventType = VisualStudioNonFatalErrors2
             UTC time = 2020-08-18T14:03:15

 Exception:
 System.Windows.Markup.XamlParseException
 Set property 'System.Windows.Controls.Border.BorderBrush' threw an exception.
 System.Windows.Markup.XamlReader.RewrapException(Exception e,Uri baseUri)
 System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader,Uri baseUri)
 System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader,Uri baseUri)
 System.Windows.Markup.XamlReader.LoadBaml(Stream stream,Boolean closeStream)
 Microsoft.VisualStudio.Setup.Bootstrapper.View.Root..ctor(Rootviewmodel viewmodel)
 Microsoft.VisualStudio.Setup.Bootstrapper.Interactiveviewmodel.<>c__displayClass2_0.<.ctor>b__0()
 System.Windows.Threading.dispatcher.Invoke(Action callback,TimeSpan timeout)
 System.Windows.Threading.dispatcher.Invoke(Action callback)
 Microsoft.VisualStudio.Setup.Bootstrapper.Interactiveviewmodel..ctor(IServiceContainer serviceProvider,ProgramOptions options)
 Microsoft.VisualStudio.Setup.Bootstrapper.viewmodelFactory.Create(IServiceContainer serviceProvider,ProgramOptions options)
 Microsoft.VisualStudio.Setup.Bootstrapper.Bootstrapper..ctor(IServiceContainer serviceProvider,ProgramOptions options)
 Microsoft.VisualStudio.Setup.Bootstrapper.Program.Run(String[] args)

     Inner Exception:
     System.BadImageFormatException
     An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
     MS.Win32.SafeNativeMethods.SafeNativeMethodsPrivate.GetProcessDpiAwareness(HandleRef hProcess,IntPtr& awareness)
     MS.Win32.SafeNativeMethods.GetProcessDpiAwareness(HandleRef hProcess)
     MS.Internal.DpiUtil.ProcessDpiAwarenessHelper.GetProcessDpiAwarenessFromWindow(IntPtr hWnd)
     MS.Internal.DpiUtil.ProcessDpiAwarenessHelper.GetProcessDpiAwareness(IntPtr hWnd)
     MS.Internal.DpiUtil.GetProcessDpiAwarenessContextValue(IntPtr hWnd)
     System.Windows.SystemResources.get_ProcessDpiAwarenessContextValue()
     System.Windows.SystemResources.EnsureResourcechangelistener()
     System.Windows.SystemResources.FindResourceInternal(Object key,Boolean mustReturnDeferredResourceReference)
     System.Windows.FrameworkElement.FindResourceInternal(FrameworkElement fe,Object& source)
     System.Windows.ResourceReferenceExpression.GetRawValue(DependencyObject d,DependencyProperty dp)
     System.Windows.ResourceReferenceExpression.GetValue(DependencyObject d,DependencyProperty dp)
     System.Windows.DependencyObject.EvaluateExpression(EntryIndex entryIndex,EffectiveValueEntry newEntry)
     System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp,Boolean isInternal)
     System.Windows.Baml2006.WpfKNownMemberInvoker.SetValue(Object instance,Object value)
     MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst,Object value)
WerReportAddDump PID=1556 vs_setup_bootstrapper WerDumpTypeMiniDump

有人可以帮助我吗?我已经检查了很多与此相关的问题,但没有任何效果

PS:我在Windows 7 Home Premium x64 SP1上。而且我非常确定VS 2019支持Win7。我一直在此OS上使用它。我已经检查了 minimum system requirements

其他信息-我的系统: System

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)