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.
- 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 - Download the installer from the direct download link.
- Open an elevated Command Prompt: right-click Command Prompt and select Run as administrator.
- Change to the folder with the installer, for example
cd C:\Temp. - 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
msiexec /x {FDD2D8AF-17CD-4B6A-8AF3-D1E8092F19BF} /qn /norestart 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.
| Switch | What it does |
|---|---|
/qn | No user interface. |
/norestart | Never 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 command | msiexec /i SourcetreeEnterpriseSetup_3.4.32.msi /qn /norestart ACCEPTEULA=1 |
|---|---|
| Uninstall command | msiexec /x {FDD2D8AF-17CD-4B6A-8AF3-D1E8092F19BF} /qn /norestart |
| Install behavior | System |
| Detection rule | MSI product code {FDD2D8AF-17CD-4B6A-8AF3-D1E8092F19BF} |