Ali
Ali

Reputation: 3469

How to uninstall old version of Sourcetree

I install Sourcetree since v1.52 and update that from auto update. today I downloaded last version (2.0.1) from website and install it. When I open sourcetree see

this error.

I try to find that folder but it not exist in Program file folder! or there is one application with name sourcetree in Add/Remove program.. Could any one help how I uninstall older version? Thanks

Upvotes: 13

Views: 5062

Answers (3)

Juan
Juan

Reputation: 840

In my case there was an entry in my registry that prevented me from uninstalling the older version, so I installed it again, and uninstalled from the control panel. It worked!

Then I installed the new version, hope this helps

Upvotes: 1

CJ Dennis
CJ Dennis

Reputation: 4346

Go into your Control Panel and the section for managing installed programs (they seem to rename it in every version of Windows). You should see some entries like below:

Different SourceTree versions installed at the same time

The version number is in the last column.

  1. Select any old version one at a time
  2. Right click on it
    enter image description here
  3. Click Uninstall and follow the instructions
  4. If you get a message like this:
    enter image description here
    just click Yes
  5. Otherwise, you should see a message like this:
    enter image description here
  6. Repeat until only the most recent version remains

Upvotes: 9

Samuel Tan
Samuel Tan

Reputation: 1750

I encountered this exact same problem today, after installing SourceTree 2.0.20.1 in response to the critical security update released yesterday.

The installer, and the new SourceTree executable too, actually, can see the old executables under Program Files (x86), mine are under the Atlassian folder, too. The config files from previous versions are also under (C:\Users\<username>\AppData\Local\Atlassian). Or it could be looking at old registry keys.

The new SourceTree installs to C:\Users\<username>\AppData\Local\SourceTree\app-2.0.20.1, so I'm guessing deleting the old folders would be sufficient---there does not seem to be a straightforward way of uninstalling SourceTree cleanly, at least not from my Googling.

Or you can just ignore the warning. As the message says, future versions of the newer SourceTree would be easier to update, and shouldn't touch your old versions.

Upvotes: 1

Related Questions