Fail to install SourceTreeSetup-3.4.15 on Windows 11 Enterprise
Asked by yoomatsuo:

Hello,

I just downloaded SourceTreeSetup-3.4.15.exe and tried to install SourceTree, but it crashes without showing any error right after asking Proxy info and filling it after clicking a next button on the screen of Registration. ![sourcetree fail.jpg](/t5/image/serverpage/image-id/292366iEF73CE1C0BD35AAD/image-size/large?v=v2&px=999 "sourcetree fail.jpg")

<br />

Here is the log at AppData\\Local\\Atlassian\\SourceTree

2023-11-17T12:56:55: LogHost: Initializing to normal mode  
ERROR \[2023-11-17 12:57:10,260\] \[1\] \[SourceTree.App\] \[Log\] - ??????????????????????????  
System.Collections.Generic.KeyNotFoundException: ??????????????????????????  
?? System.Collections.Concurrent.ConcurrentDictionary\`2.get_Item(TKey key)  
?? SourceTree.UI.ViewModel.Welcome.InstallToolsStageViewModel.UpdateDownloadPercent(Guid downloadKey)  
?? SourceTree.UI.ViewModel.Welcome.InstallToolsStageViewModel.\<.ctor\>b__16_7(Guid downloadKey)  
?? System.Reactive.AnonymousSafeObserver\`1.OnNext(T value) ?? D:\\a\\1\\s\\Rx.NET\\Source\\src\\System.Reactive\\AnonymousSafeObserver.cs:? 44  
?? System.Reactive.Linq.ObservableImpl.Select\`2.Selector._.OnNext(TSource value) ?? D:\\a\\1\\s\\Rx.NET\\Source\\src\\System.Reactive\\Linq\\Observable\\Select.cs:? 48  
?? System.Reactive.Subjects.Subject\`1.OnNext(T value) ?? D:\\a\\1\\s\\Rx.NET\\Source\\src\\System.Reactive\\Subjects\\Subject.cs:? 148  
?? SourceTree.Download.DefaultDownloadManager.RaiseDownloadPercentageChangedEvent(Download download)  
?? SourceTree.Download.DefaultDownloadManager.DownloadPercentageChanged(Download download)  
?? SourceTree.Download.DefaultDownloadManager.DownloadProgressChanged(Object sender, DownloadProgressChangedEventArgs e)  
?? System.Net.WebClient.OnDownloadProgressChanged(DownloadProgressChangedEventArgs e)  
?? System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)  
?? System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)  
ERROR \[2023-11-17 12:57:10,271\] \[1\] \[SourceTree.App\] \[Log\] - ??????????????????????????  
System.Collections.Generic.KeyNotFoundException: ??????????????????????????  
?? System.Collections.Concurrent.ConcurrentDictionary\`2.get_Item(TKey key)  
?? SourceTree.UI.ViewModel.Welcome.InstallToolsStageViewModel.UpdateDownloadPercent(Guid downloadKey)  
?? SourceTree.UI.ViewModel.Welcome.InstallToolsStageViewModel.\<.ctor\>b__16_7(Guid downloadKey)  
?? System.Reactive.AnonymousSafeObserver\`1.OnNext(T value) ?? D:\\a\\1\\s\\Rx.NET\\Source\\src\\System.Reactive\\AnonymousSafeObserver.cs:? 44  
?? System.Reactive.Linq.ObservableImpl.Select\`2.Selector._.OnNext(TSource value) ?? D:\\a\\1\\s\\Rx.NET\\Source\\src\\System.Reactive\\Linq\\Observable\\Select.cs:? 48  
?? System.Reactive.Subjects.Subject\`1.OnNext(T value) ?? D:\\a\\1\\s\\Rx.NET\\Source\\src\\System.Reactive\\Subjects\\Subject.cs:? 148  
?? SourceTree.Download.DefaultDownloadManager.RaiseDownloadPercentageChangedEvent(Download download)  
?? SourceTree.Download.DefaultDownloadManager.DownloadPercentageChanged(Download download)  
?? SourceTree.Download.DefaultDownloadManager.DownloadProgressChanged(Object sender, DownloadProgressChangedEventArgs e)  
?? System.Net.WebClient.OnDownloadProgressChanged(DownloadProgressChangedEventArgs e)  
?? System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)  
?? System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)  
ERROR \[2023-11-17 12:57:10,273\] \[1\] \[SourceTree.App\] \[Log\] - Failed to start  
System.Collections.Generic.KeyNotFoundException: ??????????????????????????  
?? System.Collections.Concurrent.ConcurrentDictionary\`2.get_Item(TKey key)  
?? SourceTree.UI.ViewModel.Welcome.InstallToolsStageViewModel.UpdateDownloadPercent(Guid downloadKey)  
?? SourceTree.UI.ViewModel.Welcome.InstallToolsStageViewModel.\<.ctor\>b__16_7(Guid downloadKey)  
?? System.Reactive.AnonymousSafeObserver\`1.OnNext(T value) ?? D:\\a\\1\\s\\Rx.NET\\Source\\src\\System.Reactive\\AnonymousSafeObserver.cs:? 44  
?? System.Reactive.Linq.ObservableImpl.Select\`2.Selector._.OnNext(TSource value) ?? D:\\a\\1\\s\\Rx.NET\\Source\\src\\System.Reactive\\Linq\\Observable\\Select.cs:? 48  
?? System.Reactive.Subjects.Subject\`1.OnNext(T value) ?? D:\\a\\1\\s\\Rx.NET\\Source\\src\\System.Reactive\\Subjects\\Subject.cs:? 148  
?? SourceTree.Download.DefaultDownloadManager.RaiseDownloadPercentageChangedEvent(Download download)  
?? SourceTree.Download.DefaultDownloadManager.DownloadPercentageChanged(Download download)  
?? SourceTree.Download.DefaultDownloadManager.DownloadProgressChanged(Object sender, DownloadProgressChangedEventArgs e)  
?? System.Net.WebClient.OnDownloadProgressChanged(DownloadProgressChangedEventArgs e)  
?? System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)  
?? System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)  
?? System.Windows.Threading.DispatcherOperation.InvokeImpl()  
?? MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)  
?? System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  
?? System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  
?? System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  
?? MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)  
?? System.Windows.Threading.DispatcherOperation.Invoke()  
?? System.Windows.Threading.Dispatcher.ProcessQueue()  
?? System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean\& handled)  
?? MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean\& handled)  
?? MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)  
?? System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)  
?? System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)  
?? System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)  
?? MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)  
?? MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG\& msg)  
?? System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)  
?? System.Windows.Window.ShowHelper(Object booleanBox)  
?? System.Windows.Window.ShowDialog()  
?? SourceTree.UI.WelcomeWizardManager.Run()  
?? SourceTree.UI.OnboardingManager.Run()  
?? SourceTree.AppRoot.Onboard()  
?? SourceTree.AppRoot.OnboardIfRequired()  
?? SourceTree.AppRoot.\<OnStartup\>d__24.MoveNext()  
--- ????????????????????? ???????? ---  
?? System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()  
?? System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
?? System.Runtime.CompilerServices.TaskAwaiter.GetResult()  
?? SourceTree.App.\<OnStartup\>d__9.MoveNext()


Answers:
author: yoomatsuo
body: Oh somereason SourceTree launches without any problems. What I did is installing Git on my own and restarting my PC. After rebooting, it works now.