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

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

Installation

Edited

Hello,

Complete novice here so please bear with me.

Trying to install Sourcetree to a windows PC. I go to website click download and SourceTreeSetup-3.3.9.exe downloads. When I click to run it says "Installation has failed".

Any help most welcome and appreciated.

 

EDIT: SO THIS IS AN ISSUE WITH THE PC I AM USING AND NOT THE DOWNLOAD.

- I tried the download on my laptop and it worked fine.

- The problem on the work PC is that when I run the .exe it does not come up with the option to look in the microsoft store / run anyway.

- Hopefully I can sort this out but if this is a common problem than help welcomed.

 

The Setup Log is here:

2020-10-05 11:20:12> Program: Starting Squirrel Updater: --install . --checkInstall --source=PROPLUS --silent --exeName=Teams.exe
2020-10-05 11:20:12> Program: Starting install, writing to C:\Users\PHY3MCVEIA\AppData\Local\SquirrelTemp
2020-10-05 11:20:12> UpdateManager: using rootAppDirectory: C:\Users\PHY3MCVEIA\AppData\Local\Microsoft\Teams
2020-10-05 11:20:12> Program: About to install to: C:\Users\PHY3MCVEIA\AppData\Local\Microsoft\Teams
2020-10-05 11:20:12> Program: Setup.json exist, copying over
2020-10-05 11:20:12> Program: File does not contain contextual info: Teams.exe
2020-10-05 11:20:12> RegistryService: RegKeyExists: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run has TeamsMachineInstaller. Data - C:\Program Files (x86)\Teams Installer\Teams.exe --checkInstall --source=PROPLUS
2020-10-05 11:20:12> RegistryService: TrySetRegKey: HKEY_CURRENT_USER\Software\Microsoft\Office\Teams\InstallSource created
2020-10-05 11:20:12> RegistryService: TrySetRegKey: HKEY_CURRENT_USER\Software\Microsoft\Office\Teams\InstallSource set successfully as MSI
2020-10-05 11:20:13> 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\PHY3MCVEIA\AppData\Local\Microsoft\Teams\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()
2020-10-05 11:20:13> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\PHY3MCVEIA\AppData\Local\Microsoft\Teams\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()
2020-10-05 11:20:13> CheckForUpdateImpl: Reading RELEASES file from C:\Users\PHY3MCVEIA\AppData\Local\SquirrelTemp
2020-10-05 11:20:13> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2020-10-05 11:20:13> ApplyReleasesImpl: No delta packages found. Applying current release package.
2020-10-05 11:20:13> ApplyReleasesImpl: getting squirrel aware apps failed with exception Could not find a part of the path 'C:\Users\PHY3MCVEIA\AppData\Local\Microsoft\Teams\current'.
2020-10-05 11:20:13> ApplyReleasesImpl: Writing files to app directory: C:\Users\PHY3MCVEIA\AppData\Local\Microsoft\Teams\current
2020-10-05 11:20:21> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\PHY3MCVEIA\AppData\Local\Microsoft\Teams\current\Teams.exe]
2020-10-05 11:20:26> RegistryService: TryGetRegKey: HKEY_CURRENT_USER\Software\Policies\Microsoft\Cloud\Office\16.0\Teams does not exist
2020-10-05 11:20:26> ApplyReleasesImpl: Registry value Software\Policies\Microsoft\Cloud\Office\16.0\Teams\PreventFirstLaunchAfterInstall is not set
2020-10-05 11:20:26> RegistryService: TryGetRegKey: HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Teams does not exist
2020-10-05 11:20:26> ApplyReleasesImpl: Registry value Software\Policies\Microsoft\Office\16.0\Teams\PreventFirstLaunchAfterInstall is not set
2020-10-05 11:20:26> RegistryService: TryGetRegKey: HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Teams does not exist
2020-10-05 11:20:26> ApplyReleasesImpl: Registry value Software\Microsoft\Office\16.0\Teams\PreventFirstLaunchAfterInstall is not set
2020-10-05 11:20:26> ApplyReleasesImpl: Registry flags are not set: proceed with default value False
2020-10-05 11:20:26> ApplyReleasesImpl: Starting fixPinnedExecutables
2020-10-05 11:20:26> ApplyReleasesImpl: Examining Pin: File Explorer.lnk
2020-10-05 11:20:26> ApplyReleasesImpl: Fixing up tray icons
2020-10-05 11:20:26> MeetingAddinInstaller: System.ArgumentException: Cannot delete a subkey tree because the subkey does not exist.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.DeleteSubKeyTree(String subkey, Boolean throwOnMissingSubKey)
at Microsoft.Win32.RegistryKey.DeleteSubKeyTree(String subkey)
at Squirrel.MeetingAddinInstaller.<InstallMeetingAddinAsync>d__15.MoveNext()
2020-10-05 11:20:26> MeetingAddinInstaller: StagedAppDirectory does not exist. Using Current
2020-10-05 11:20:26> MeetingAddinInstaller: Version: 1.0.19231.3; addinPackageDirectory: 1.0.19231.3
2020-10-05 11:20:27> MeetingAddinInstaller: .dead exists: False
2020-10-05 11:20:27> MeetingAddinInstaller: path to .dead: C:\Users\PHY3MCVEIA\AppData\Local\Microsoft\TeamsMeetingAddin\1.0.19231.3\.dead
2020-10-05 11:20:27> MeetingAddinInstaller: before cleanup unused versions
2020-10-05 11:20:27> MeetingAddinInstaller: Addin directory exists. Copy was successful
2020-10-05 11:20:29> MeetingAddinInstaller: Version 1.0.19231.3 of the meeting add-in is now installed
2020-10-05 11:20:29> PresenceAddinInstaller: check if UC TypeLib points to current\resources\assets\tlb\Uc.tlb
2020-10-05 11:20:29> ApplyReleasesImpl: cleanDeadVersions: for version 1.2.00.24753
2020-10-05 11:20:29> ApplyReleasesImpl: cleanDeadVersions: exclude folder stage

1 answer

Hi @Adam McVeigh ,

Welcome to the community! We are glad you are here!

Wish you a very happy new year!

Can you please try a clean install? The steps are as follows:

  1. Wipe SourceTree preferences
  2. Uninstall SourceTree (if it shows on the App&Features list)
  3. Backup then delete the directory below before proceeding with the next step
    • Navigate to C:\Users\<UserName>\AppData\Local and delete SourceTree & SourceTree-Settings folder
    • Navigate to C:\Users\<UserName>\AppData\Local\Atlassian and delete all SourceTree Files/Folder.
  4. Download SourceTree and install it. 

or

Follow these documentations https://confluence.atlassian.com/get-started-with-sourcetree/install-and-set-up-sourcetree-847359043.html

Regards,

Soumyadeep (SaM)

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

5,817 views 4 13
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