Can't install latest version of source tree, hash of openssh_add.cmd is bad

Here is the info from the install log.

Thanks for your help. This is a great product and I had an eariler version working.


Windows: 6.1.7601.65536 (Win32NT)

Common Language Runtime: 4.0.30319.17929

System.Deployment.dll: 4.0.30319.17929 built by: FX45RTMREL

clr.dll: 4.0.30319.17929 built by: FX45RTMREL

dfdll.dll: 4.0.30319.17929 built by: FX45RTMREL

dfshim.dll: 4.0.41209.0 (Main.041209-0000)


Deployment url:

Server: ECAcc (lax/454B)

Deployment Provider url:

Application url:

Server: ECAcc (lax/54F2)


Deployment Identity: SourceTree.application, Version=, Culture=neutral, PublicKeyToken=81acde56111400aa, processorArchitecture=msil

Application Identity: SourceTree.exe, Version=, Culture=neutral, PublicKeyToken=81acde56111400aa, processorArchitecture=msil, type=win32


* Installable application.


Below is a summary of the errors, details of these errors are listed later in the log.

* Activation of resulted in exception. Following failure messages were detected:

+ File, openssh_add.cmd, has a different computed hash than specified in manifest.


No transaction error was detected.


There were no warnings during this operation.


* [5/3/2013 12:30:23 PM] : Activation of has started.

* [5/3/2013 12:30:24 PM] : Processing of deployment manifest has successfully completed.

* [5/3/2013 12:30:24 PM] : Installation of the application has started.

* [5/3/2013 12:30:24 PM] : Processing of application manifest has successfully completed.

* [5/3/2013 12:30:27 PM] : Found compatible runtime version 4.0.30319.

* [5/3/2013 12:30:27 PM] : Request of trust and detection of platform is complete.


Following errors were detected during this operation.

* [5/3/2013 12:30:30 PM] System.Deployment.Application.InvalidDeploymentException (HashValidation)

- File, openssh_add.cmd, has a different computed hash than specified in manifest.

- Source: System.Deployment

- Stack trace:

at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, Hash hash)

at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, HashCollection hashCollection)

at System.Deployment.Application.ComponentVerifier.VerifyComponents()

at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)

at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)

at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)

at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)

at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)


No transaction information is available.

1 answer

1 accepted

0 votes
Answer accepted

I've had one other report of this, but I can't reproduce it. My current working theory is a proxy or cache in between you and our CDN? We're currently in the preparation stage of moving away from ClickOnce to address random issues like this.

I've just released anyway so you might want to try updating again.

I get the same error message when I try to install

Hmm, I can't explain this, the hash validates just fine on the machines I've installed it on.

I'm working on an alternative installer (traditional MSI) for the future because ClickOnce keeps throwing up random errors for some people and not others which I can't diagnose. I hope to have this ready very soon.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 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...

1,225 views 4 2
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you