Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-7510

Issue with installation of Source tree, latest version using SourceTreeSetup-2.1.2.5

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 2.1.2.5
    • None
    • Severity 1 - Critical

      Hi,

      When trying to install any or latest version of Sourcetree, I keep getting annoying error :-

      Problem signature:
      Problem Event Name: CLR20r3
      Problem Signature 01: SourceTree.exe
      Problem Signature 02: 2.1.2.5
      Problem Signature 03: 59354ffa
      Problem Signature 04: System
      Problem Signature 05: 4.7.2053.0
      Problem Signature 06: 58fa6cf0
      Problem Signature 07: 2f3c
      Problem Signature 08: a0
      Problem Signature 09: System.InvalidOperationException
      OS Version: 6.1.7601.2.1.0.256.4
      Locale ID: 1033
      Additional Information 1: e498
      Additional Information 2: e4987f855999995cbc4917a895d65b2c
      Additional Information 3: 1208
      Additional Information 4: 120839db969c061ce5ac7a1294ffcac9

      Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

      If the online privacy statement is not available, please read our privacy statement offline:
      C:\WINDOWS\system32\en-US\erofflps.txt

      Problem signature:
      Problem Event Name: CLR20r3
      Problem Signature 01: Update.exe
      Problem Signature 02: 1.4.3.0
      Problem Signature 03: 57ab6f1a
      Problem Signature 04: PresentationCore
      Problem Signature 05: 4.7.2053.0
      Problem Signature 06: 58fa7405
      Problem Signature 07: 46a2
      Problem Signature 08: 16
      Problem Signature 09: PSZQOADHX1U5ZAHBHOHGHLDGIY4QIXHX
      OS Version: 6.1.7601.2.1.0.256.4
      Locale ID: 1033
      Additional Information 1: 0a9e
      Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
      Additional Information 3: 0a9e
      Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

      Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

      If the online privacy statement is not available, please read our privacy statement offline:
      C:\WINDOWS\system32\en-US\erofflps.txt

      2017-06-23 00:43:58> Program: Starting Squirrel Updater: --install .
      2017-06-23 00:43:58> Program: Starting install, writing to C:\Users\nitin_gakhar\AppData\Local\SquirrelTemp
      2017-06-23 00:43:58> Program: About to install to: C:\Users\nitin_gakhar\AppData\Local\SourceTree
      2017-06-23 00:43:58> Program: Install path C:\Users\nitin_gakhar\AppData\Local\SourceTree already exists, burning it to the ground
      2017-06-23 00:43:59> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\nitin_gakhar\AppData\Local\SourceTree\packages\.betaId'.
      at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
      at 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)
      at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
      at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
      at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
      at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
      at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
      at Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
      2017-06-23 00:43:59> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\nitin_gakhar\AppData\Local\SourceTree\packages\RELEASES'.
      at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
      at 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)
      at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
      at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
      at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
      2017-06-23 00:43:59> CheckForUpdateImpl: Reading RELEASES file from C:\Users\nitin_gakhar\AppData\Local\SquirrelTemp
      2017-06-23 00:43:59> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
      2017-06-23 00:43:59> ApplyReleasesImpl: Writing files to app directory: C:\Users\nitin_gakhar\AppData\Local\SourceTree\app-2.1.2.5
      2017-06-23 00:43:59> ApplyReleasesImpl: Squirrel Enabled Apps: []
      2017-06-23 00:43:59> ApplyReleasesImpl: No apps are marked as Squirrel-aware! Going to run them all
      2017-06-23 00:43:59> ApplyReleasesImpl: About to create shortcuts for SourceTree.exe, rootAppDir C:\Users\nitin_gakhar\AppData\Local\SourceTree
      2017-06-23 00:43:59> ApplyReleasesImpl: Creating shortcut for SourceTree.exe => C:\Users\nitin_gakhar\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Atlassian\SourceTree.lnk
      2017-06-23 00:43:59> ApplyReleasesImpl: About to save shortcut: C:\Users\nitin_gakhar\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Atlassian\SourceTree.lnk (target C:\Users\nitin_gakhar\AppData\Local\SourceTree\Update.exe, workingDir C:\Users\nitin_gakhar\AppData\Local\SourceTree\app-2.1.2.5, args --processStart "SourceTree.exe")
      2017-06-23 00:43:59> ApplyReleasesImpl: Creating shortcut for SourceTree.exe => C:\Users\nitin_gakhar\Desktop\SourceTree.lnk
      2017-06-23 00:43:59> ApplyReleasesImpl: About to save shortcut: C:\Users\nitin_gakhar\Desktop\SourceTree.lnk (target C:\Users\nitin_gakhar\AppData\Local\SourceTree\Update.exe, workingDir C:\Users\nitin_gakhar\AppData\Local\So

            [SRCTREEWIN-7510] Issue with installation of Source tree, latest version using SourceTreeSetup-2.1.2.5

            minnsey added a comment -

            Thanks for the additional information.

            minnsey added a comment - Thanks for the additional information.

            Talasila, Ram added a comment - More info on this topic: Microsoft appears to be working on a fix: https://developercommunity.visualstudio.com/content/problem/55303/visual-studio-may-terminate-unexpectedly-when-runn.html  

            Hi,

            Thanks, but I took help from my IT support team who I think degraded the .NET framework version and installed the latest version.

            Nitin Gakhar added a comment - Hi, Thanks, but I took help from my IT support team who I think degraded the .NET framework version and installed the latest version.

            Talasila, Ram added a comment - - edited

            Updating the AppContextSwitchOverrides  setting like following in the sourcetree.exe.config fixes the issue for me! Recent Windows update seems to be the cause. I had to update few other apps like this. Effectively DisableStylusAndTouchSupport need to be set to true.

               <AppContextSwitchOverrides value="Switch.System.Windows.DoNotScaleForDpiChanges=false;Switch.System.Windows.Input.Stylus.DisableStylusAndTouchSupport=true"/>

             

            Talasila, Ram added a comment - - edited Updating the AppContextSwitchOverrides  setting like following in the sourcetree.exe.config fixes the issue for me! Recent Windows update seems to be the cause. I had to update few other apps like this. Effectively DisableStylusAndTouchSupport need to be set to true.    <AppContextSwitchOverrides value="Switch.System.Windows.DoNotScaleForDpiChanges=false;Switch.System.Windows.Input.Stylus.DisableStylusAndTouchSupport=true"/>  

            minnsey added a comment -

            Hi

            Looking at the log it seems the installer completed successfully.

            DO you have an installation under C:\Users\nitin_gakhar\AppData\Local\SourceTree\app-2.1.2.5. If you try and run SourceTree.exe from that folder does it run? If not is there anything in the %localappdata%\Atlassian\SourceTree\SourceTree.log file?

            minnsey added a comment - Hi Looking at the log it seems the installer completed successfully. DO you have an installation under C:\Users\nitin_gakhar\AppData\Local\SourceTree\app-2.1.2.5. If you try and run SourceTree.exe from that folder does it run? If not is there anything in the %localappdata%\Atlassian\SourceTree\SourceTree.log file?

              Unassigned Unassigned
              nitin_gakhar Nitin Gakhar
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated: