Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade SourceTree to 3.4.13 using MSI Installer

Shiva Batta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 12, 2023

We are trying to update our SourceTree users from 2.5 to 3.4.13. I have MSI Installer for new version which works fine. But, it is not updating on the Older Version, the older version still available for the users to use. Is there a way to remove older version while installing the newer version? I am looking something from the command line or batch script that will remove older version. Thank you!

1 answer

0 votes
Martin Runge
Community Champion
August 11, 2026

Hi @Shiva Batta

Welcome to the Atlassian community! Are you still working on this rollout, or is it already sorted?

If it is still relevant, the reason the new MSI does not replace 2.5 is that the two installers do not share the same Windows Installer UpgradeCode, so Windows treats 3.4.13 as a separate product instead of a major upgrade. That is why both stay side by side.

What I would do is uninstall the old version first in the same batch, then install the new one:

  • Find the old product code with wmic product where "name like 'SourceTree%%'" get name,identifyingnumber
  • Remove it with msiexec /x {ProductCode} /qn
  • Then install with msiexec /i SourceTreeEnterpriseSetup.msi /qn

One thing worth checking on your side: was the old 2.5 installed per user or per machine? SourceTree historically installed into the user profile, so a machine-wide MSI removal may not catch a per-user copy, which can explain why it lingers.

Cheers, Martin

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events