Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

trying to install SourceTreeSetup-3.0.12.exe on Windows 10

2018-12-13 15:37:36> Program: Starting Squirrel Updater: --install .
2018-12-13 15:37:37> Program: Starting install, writing to C:\Users\sshireman\AppData\Local\SquirrelTemp
2018-12-13 15:37:37> Program: About to install to: C:\Users\sshireman\AppData\Local\SourceTree
2018-12-13 15:37:37> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F' is denied.
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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2018-12-13 15:37:37> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F' is denied.
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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2018-12-13 15:37:37> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F' is denied.
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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2018-12-13 15:37:37> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F' is denied.
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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2018-12-13 15:37:38> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F' is denied.
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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2018-12-13 15:37:38> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F' is denied.
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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2018-12-13 15:37:38> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F' is denied.
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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2018-12-13 15:37:38> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Git\tmp\.squirrel-lock-C6809926F356F5023B1194285C1BA38231F2C58F' is denied.
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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2018-12-13 15:37:39> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.Exception: Couldn't acquire lock, is another instance running
at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
at Squirrel.UpdateManager.<acquireUpdateLock>b__32_0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) ...


a

1 answer

0 votes
Ana Retamal Atlassian Team Dec 18, 2018

Hi Steve! 

That looks like a Squirrel installer error rather than a SourceTree error itself. We had a user with a similar issue and he said that uninstalling the .Net framework, and re-installing it again worked for him.

Other than that it looks like Squirrel might not have sufficient permissions to access or write to the designated folder path. Does the user have enough permissions to install it?

Let us know!

Ana 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,092 views 4 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you