UnInstall SourceTree On My Computer
Asked by ???:

My Computer unInstall SourceTree - 2.4.8.0

this is error log

2018-04-03 09:12:05\> Program: Starting Squirrel Updater: --install . --rerunningWithoutUAC  
2018-04-03 09:12:05\> Program: Starting install, writing to C:\\Users\\LG\\AppData\\Local\\SquirrelTemp  
2018-04-03 09:12:05\> Program: About to install to: C:\\Users\\LG\\AppData\\Local\\SourceTree  
2018-04-03 09:12:05\> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: 'C:\\Users\\LG\\AppData\\Local\\SourceTree\\packages\\.betaId' ??? ??? ?? ? ????.  
??: System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
??: System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)  
??: System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)  
??: System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)  
??: System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)  
??: System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)  
??: System.IO.File.WriteAllText(String path, String contents, Encoding encoding)  
??: Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()  
2018-04-03 09:12:05\> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: 'C:\\Users\\LG\\AppData\\Local\\SourceTree\\packages\\RELEASES' ??? ??? ?? ? ????.  
??: System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
??: System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)  
??: System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)  
??: Squirrel.Utility.LoadLocalReleases(String localReleaseFile)  
??: Squirrel.UpdateManager.CheckForUpdateImpl.\<CheckForUpdate\>d__2.MoveNext()  
2018-04-03 09:12:05\> CheckForUpdateImpl: Reading RELEASES file from C:\\Users\\LG\\AppData\\Local\\SquirrelTemp  
2018-04-03 09:12:05\> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch  
2018-04-03 09:12:05\> ApplyReleasesImpl: Writing files to app directory: C:\\Users\\LG\\AppData\\Local\\SourceTree\\app-2.4.8  
2018-04-03 09:12:07\> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\\Users\\LG\\AppData\\Local\\SourceTree\\SourceTree.exe  
2018-04-03 09:12:08\> ApplyReleasesImpl: Squirrel Enabled Apps: \[C:\\Users\\LG\\AppData\\Local\\SourceTree\\app-2.4.8\\SourceTree.exe\]  
2018-04-03 09:12:14\> ApplyReleasesImpl: Starting fixPinnedExecutables  
2018-04-03 09:12:14\> ApplyReleasesImpl: Examining Pin: Chrome.lnk  
2018-04-03 09:12:14\> ApplyReleasesImpl: Examining Pin: File Explorer.lnk  
2018-04-03 09:12:14\> ApplyReleasesImpl: Examining Pin: Internet Explorer.lnk  
2018-04-03 09:12:14\> ApplyReleasesImpl: Fixing up tray icons  
2018-04-03 09:12:14\> ApplyReleasesImpl: Couldn't rewrite shim RegKey, most likely no apps are shimmed: System.NullReferenceException: ?? ??? ??? ????? ???? ?????.  
??: Squirrel.UpdateManager.ApplyReleasesImpl.\<unshimOurselves\>b__13_0(RegistryView view)  
2018-04-03 09:12:14\> ApplyReleasesImpl: Couldn't rewrite shim RegKey, most likely no apps are shimmed: System.NullReferenceException: ?? ??? ??? ????? ???? ?????.  
??: Squirrel.UpdateManager.ApplyReleasesImpl.\<unshimOurselves\>b__13_0(RegistryView view)  
2018-04-03 09:12:14\> ApplyReleasesImpl: cleanDeadVersions: for version 2.4.8  
2018-04-03 09:12:14\> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-2.4.8

what's problem?


Answers:
author: Ana Retamal
body: Hi! Can you confirm if you're installing or uninstalling the application? Looking at the log it looks like it's getting installed.

Also, it looks like a Squirrel installer error rather than a SourceTree error itself. Can you check in %localappdata%\\SourceTree\\app-{version} ?

We had a user with a similar issue and he said that uninstalling. Net framework 4.6.2, and then installing. Net framework 4.7 worked for him. Can you try that and let us know?

Cheers,

Ana


Tags: windows