can't install source tree windows 7
Asked by Robert Perry:

I have admin rights, heres my log:

2017-07-13 14:21:30\> Program: Starting Squirrel Updater: --install .  
2017-07-13 14:21:30\> Program: Starting install, writing to C:\\Users\\rperry37\\AppData\\Local\\SquirrelTemp  
2017-07-13 14:21:30\> Program: About to install to: C:\\Users\\rperry37\\AppData\\Local\\SourceTree  
2017-07-13 14:21:30\> Program: Install path C:\\Users\\rperry37\\AppData\\Local\\SourceTree already exists, burning it to the ground  
2017-07-13 14:21:30\> 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\\rperry37\\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-07-13 14:21:30\> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\\Users\\rperry37\\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-07-13 14:21:30\> CheckForUpdateImpl: Reading RELEASES file from C:\\Users\\rperry37\\AppData\\Local\\SquirrelTemp  
2017-07-13 14:21:30\> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch  
2017-07-13 14:21:31\> ApplyReleasesImpl: Writing files to app directory: C:\\Users\\rperry37\\AppData\\Local\\SourceTree\\app-2.1.2.5  
2017-07-13 14:21:34\> ApplyReleasesImpl: Squirrel Enabled Apps: \[\]  
2017-07-13 14:21:34\> ApplyReleasesImpl: No apps are marked as Squirrel-aware! Going to run them all  
2017-07-13 14:21:34\> ApplyReleasesImpl: About to create shortcuts for SourceTree.exe, rootAppDir C:\\Users\\rperry37\\AppData\\Local\\SourceTree  
2017-07-13 14:21:34\> ApplyReleasesImpl: Creating shortcut for SourceTree.exe =\> C:\\Users\\rperry37\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Atlassian\\SourceTree.lnk  
2017-07-13 14:21:34\> ApplyReleasesImpl: About to save shortcut: C:\\Users\\rperry37\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Atlassian\\SourceTree.lnk (target C:\\Users\\rperry37\\AppData\\Local\\SourceTree\\Update.exe, workingDir C:\\Users\\rperry37\\AppData\\Local\\SourceTree\\app-2.1.2.5, args --processStart "SourceTree.exe")  
2017-07-13 14:21:35\> ApplyReleasesImpl: Creating shortcut for SourceTree.exe =\> C:\\Users\\rperry37\\Desktop\\SourceTree.lnk  
2017-07-13 14:21:35\> ApplyReleasesImpl: About to save shortcut: C:\\Users\\rperry37\\Desktop\\SourceTree.lnk (target C:\\Users\\rperry37\\AppData\\Local\\SourceTree\\Update.exe, workingDir C:\\Users\\rperry37\\AppData\\Local\\SourceTree\\app-2.1.2.5, args --processStart "SourceTree.exe")  
2017-0


Answers:
author: Ana Retamal
body: Hi Robert! That's a Squirrel installer error rather than a SourceTree error itself. We had a user with a similar issue and uninstalling .Net framework and then re-installing a newer version worked for him.

Can you try that and let us know?

Best regards,

Ana