Failed SourceTree installation on Windows 7

I got an error while trying to install SourceTree on a 64-bit Windows 7 machine: "Application cannot be started. Contact the application vendor." .NET framework 4.5 is already installed. I've also tried using the offline installer as suggested here https://answers.atlassian.com/questions/149591/is-there-an-offline-installer-for-windows-version-of-sourcetree but got the same error below. Thanks!

--------------------

PLATFORM VERSION INFO

Windows: 6.1.7601.65536 (Win32NT)

Common Language Runtime: 4.0.30319.18034

System.Deployment.dll: 4.0.30319.17929 built by: FX45RTMREL

clr.dll: 4.0.30319.18034 built by: FX45RTMGDR

dfdll.dll: 4.0.30319.17929 built by: FX45RTMREL

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

SOURCES

Deployment url: file:///C:/Users/zgu/AppData/Local/Temp/Temp1_SourceTree_ManualInstall_0.9.0.4.zip/SourceTree.application

Deployment Provider url: http://downloads.atlassian.com/software/sourcetree/windows/SourceTree.application

Server: Apache/2.2.3 (Red Hat)

Application url: http://downloads.atlassian.com/software/sourcetree/windows/Application%20Files/SourceTree_0_9_0_5/SourceTree.exe.manifest

Server: Apache/2.2.3 (Red Hat)

IDENTITIES

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

APPLICATION SUMMARY

* Installable application.

ERROR SUMMARY

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

* Activation of C:\Users\zgu\AppData\Local\Temp\Temp1_SourceTree_ManualInstall_0.9.0.4.zip\SourceTree.application resulted in exception. Following failure messages were detected:

+ Specified cast is not valid.

COMPONENT STORE TRANSACTION FAILURE SUMMARY

No transaction error was detected.

WARNINGS

There were no warnings during this operation.

OPERATION PROGRESS STATUS

* [3/28/2013 8:30:27 AM] : Activation of C:\Users\zgu\AppData\Local\Temp\Temp1_SourceTree_ManualInstall_0.9.0.4.zip\SourceTree.application has started.

* [3/28/2013 8:30:27 AM] : Processing of deployment manifest has successfully completed.

* [3/28/2013 8:30:27 AM] : Installation of the application has started.

ERROR DETAILS

Following errors were detected during this operation.

* [3/28/2013 8:30:28 AM] System.InvalidCastException

- Specified cast is not valid.

- Source: System.Deployment

- Stack trace:

at System.Deployment.Application.DownloadManager.VerifyRequestedPrivilegesSupport(String requestedExecutionLevel)

at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)

at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath)

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)

COMPONENT STORE TRANSACTION DETAILS

No transaction information is available.

1 answer

Did you try extracting the zip file instead of running it while compressed? IE: right click zip file and click "Extract all..."?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

798 views 0 4
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