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

Installation won't install on Windows

Félix Larouche Thibault
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2017

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

0 votes
Harish Mahendramani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 12, 2021

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.
July 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