Sourcetree Enterprise and MSI installation

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

You can use the MSI installer to create programatic installations across your teams.

Solution

Download

Administrators should download the latest official MSI installer.

If you need to reinstall a previous version you can find all previous releases in ourDownload Archives.

You will need Sourcetree 2.5 or later to use the MSI installer and these instructions.

Installer differences

When using the MSI installer, Sourcetree:

  • does not automatically launch when complete

  • does not provide the ability to download and install Git, Mercurial, etc.

  • does not support choosing custom Git, Mercurial, etc.

  • does not prompt to install global ignore files

  • disables update notifications for the app

  • provides additional registration option

Installation

To install Sourcetree you can:

  • Install using the installation wizard included in Sourcetree.

  • Create a programatic installation using 'msiexec' or other management software.

Supported options:

  • ACCEPTEULA - to enable the checkbox automatically

    • value: 1 (required to be this for successful install)

  • INSTALLDIR - to configure where the executable lives

    • value: path (may require admin level permissions depending on location)

Sourcetree looks for and will configure itself automatically to use the versions installed at:

  • C:\Program Files (x86)\Git

  • C:\Program Files (x86)\Mercurial

  • custom location (note: you'll need to manually add this to the PATH environment variable)

Registration

Each user still has to register Sourcetree, when it first launches, using one of the following options:

  • your company's Bitbucket Server instance (through user's default browser)

  • the Atlassian account service (requires Internet Explorer 11 or higher)

That's the only step an end-user should have to perform to start using Sourcetree in your enterprise environment.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.