Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Installation won't install on Windows

I know that question has already been ask but when I try to install SourceTree, the installation stop and this error pop up  and I cant find the problem. Can somebody help me ?

2017-04-19 19:37:44> Program: Starting Squirrel Updater: --install .
2017-04-19 19:37:44> Program: Starting install, writing to C:\Users\Felix\AppData\Local\SquirrelTemp
2017-04-19 19:37:44> Program: About to install to: C:\Users\Felix\AppData\Local\SourceTree
2017-04-19 19:37:44> Program: Install path C:\Users\Felix\AppData\Local\SourceTree already exists, burning it to the ground
2017-04-19 19:37:45> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge.
   à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   à 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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2017-04-19 19:37:45> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge.
   à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   à 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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2017-04-19 19:37:45> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge.
   à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   à 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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2017-04-19 19:37:46> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge.
   à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   à 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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2017-04-19 19:37:46> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge.
   à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   à 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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2017-04-19 19:37:46> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge.
   à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   à 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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2017-04-19 19:37:46> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge.
   à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   à 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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2017-04-19 19:37:47> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-A5AC73A3E38DA9464745C472A3463E606AE85ECE: System.NotSupportedException: Le format du chemin d'accès donné n'est pas pris en charge.
   à System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   à 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.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2017-04-19 19:37:47> Unhandled exception: System.AggregateException: Une ou plusieurs erreurs se sont produites. ---> System.Exception: Couldn't acquire lock, is another instance running
   à Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
   à Squirrel.UpdateManager.<acquireUpdateLock>b__31_0()
   à System.Threading.Tasks.Task`1.InnerInvoke()
   à System.Threading.Tasks.Task.Execute()

 

2 answers

This is because the Windows is not allowing the application to access are create the folder in the destination in which application is trying to access.

Solution: Just goto the destination file mentioned in the error and give the permissions and if required create the folder in which the application is trying to install.

Eg: In this case -

2017-04-19 19:37:45> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\Felix\AppData\Local\Temp;C:\xampp\php\.squirrel-lock-

Goto the above destination folder, right click > Properties > Security > Give permissions

Now try installing the application again, this worked for me !! 

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jul 19, 2017

Hi Félix! That's a Squirrel installer error rather than a SourceTree error itself. We had a user with a similar issue and he said that uninstalling .Net framework, and re-installing it again worked for him.

Otherwise, seems like other people have been having this problem too, you can check their answers in this thread.

Can you try that and let us know?

Cheers,

Ana 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events