SourceTree for Windows won't install

When I go to http://sourcetreeapp.com/ on a Windows 7 computer and download ST for Windows. The first time I ran the installer, I had to reboot. Every other time I run the installer, it gets about 40% through before it pops up an error saying something about corrupt files downloaded. When I click 'details' it gives me what I pasted below.

I'm on a Windows 7 Enterprise service pack 1 computer with Admin rights.

PLATFORM VERSION INFO

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)

SOURCES

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

Server: Apache/2.2.3 (Red Hat)

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

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

Server: Apache/2.2.3 (Red Hat)

IDENTITIES

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

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

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 http://downloads.atlassian.com/software/sourcetree/windows/SourceTree.application resulted in exception. Following failure messages were detected:

+ Exception occurred loading manifest from file SourceTree.resources.dll: the manifest may not be valid or the file could not be opened.

+ File SourceTree.resources.dll is not a valid Portable Executable (PE) file.

+ File {0} is not a valid Portable Executable (PE) file.

COMPONENT STORE TRANSACTION FAILURE SUMMARY

No transaction error was detected.

WARNINGS

There were no warnings during this operation.

OPERATION PROGRESS STATUS

* [3/19/2013 1:00:00 PM] : Activation of http://downloads.atlassian.com/software/sourcetree/windows/SourceTree.application has started.

* [3/19/2013 1:00:02 PM] : Processing of deployment manifest has successfully completed.

* [3/19/2013 1:00:02 PM] : Installation of the application has started.

* [3/19/2013 1:00:05 PM] : Processing of application manifest has successfully completed.

* [3/19/2013 1:00:06 PM] : Found compatible runtime version 4.0.30319.

* [3/19/2013 1:00:06 PM] : Request of trust and detection of platform is complete.

ERROR DETAILS

Following errors were detected during this operation.

* [3/19/2013 1:00:51 PM] System.Deployment.Application.InvalidDeploymentException (ManifestLoad)

- Exception occurred loading manifest from file SourceTree.resources.dll: the manifest may not be valid or the file could not be opened.

- Source: System.Deployment

- Stack trace:

at System.Deployment.Application.Manifest.AssemblyManifest.ManifestLoadExceptionHelper(Exception exception, String filePath)

at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath)

at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)

at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)

at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)

at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()

at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)

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)

--- Inner Exception ---

System.IO.IOException

- File SourceTree.resources.dll is not a valid Portable Executable (PE) file.

- Source: System.Deployment

- Stack trace:

at System.Deployment.Application.PEStream.ConstructFromFile(String filePath, Boolean partialConstruct)

at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath)

--- Inner Exception ---

System.ComponentModel.Win32Exception

- File {0} is not a valid Portable Executable (PE) file.

- Source: System.Deployment

- Stack trace:

at System.Deployment.Application.PEStream.DosHeader..ctor(FileStream file)

at System.Deployment.Application.PEStream.ConstructPEImage(FileStream file, Boolean partialConstruct)

at System.Deployment.Application.PEStream.ConstructFromFile(String filePath, Boolean partialConstruct)

COMPONENT STORE TRANSACTION DETAILS

No transaction information is available.

1 answer

1 accepted

This widget could not be displayed.

Please can you retry - unfortunately when a ClickOnce install gets interrupted somehow this kind of error can occur. In all cases I've seen so far, retrying resolved the issue.

I have tried three times so far. I can restart and try again, though. I'll let you know the results

I tried again today, and the install worked.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

709 views 1 3
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