Sourcetree silent install and uninstall

Sourcetree simplifies how you interact with your Git repositories so you can focus on coding. Visualize and manage your repositories through Sourcetree's simple Git GUI.

MSI x86x64 Updated 19 Oct 2026
Vendor
Atlassian
Category
Developer Tools
Installer
Windows Installer (MSI, built with WiX)
Architecture
x86, x64
Checked version
3.4.32
winget ID
Atlassian.Sourcetree
Product code
{FDD2D8AF-17CD-4B6A-8AF3-D1E8092F19BF}
License
Proprietary
Download
Official download

Silent install

msiexec /i SourcetreeEnterpriseSetup_3.4.32.msi /qn /norestart ACCEPTEULA=1
  1. Download the installer from the direct download link.
  2. Open an elevated Command Prompt: right-click Command Prompt and select Run as administrator.
  3. Change to the folder with the installer, for example cd C:\Temp.
  4. Run the command above. Adjust the file name if you downloaded a different version.

Or install with winget

winget install --id Atlassian.Sourcetree --exact --silent --scope machine --accept-package-agreements --accept-source-agreements

Silent uninstall

MSI
msiexec /x {FDD2D8AF-17CD-4B6A-8AF3-D1E8092F19BF} /qn /norestart
winget
winget uninstall --id Atlassian.Sourcetree --exact --silent --accept-source-agreements

Run the command from an elevated Command Prompt.

About the Windows Installer (MSI, built with WiX) installer

An MSI built with the WiX Toolset. It is installed with msiexec and accepts the standard MSI switches.

SwitchWhat it does
/qnNo user interface.
/norestartNever restart, even if the installation needs it.
/l*v "C:\Temp\install.log"Verbose log file.

Deploy Sourcetree with Microsoft Intune

Package the installer as a Win32 app (.intunewin) and use these settings:

Install commandmsiexec /i SourcetreeEnterpriseSetup_3.4.32.msi /qn /norestart ACCEPTEULA=1
Uninstall command msiexec /x {FDD2D8AF-17CD-4B6A-8AF3-D1E8092F19BF} /qn /norestart
Install behaviorSystem
Detection ruleMSI product code {FDD2D8AF-17CD-4B6A-8AF3-D1E8092F19BF}

More developer tools apps