SourceGear DiffMerge is an application used to visually compare and merge files. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of SourceGear DiffMerge from the command line using the MSI installer.
How to Install SourceGear DiffMerge Silently
SourceGear DiffMerge 32-bit Silent Install (MSI)
- Navigate to: https://sourcegear.com/diffmerge/downloaded.php
- Select Windows Installer (32-bit)
- Download the DiffMerge_w.x.y.z.stable_x86.msi to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: MsiExec.exe /i DiffMerge_w.x.y.z.stable_x86.msi /qn
- Press Enter
After a few moments you should see the DiffMerge Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | SourceGear DiffMerge |
Vendor: | SourceGear, LLC |
Architecture: | x86 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i DiffMerge_w.x.y.z.stable_x86.msi /qn |
Silent Uninstall Switch: | MsiExec.exe /x DiffMerge_w.x.y.z.stable_x86.msi /qn |
Repair Command: | MsiExec.exe /fa DiffMerge_w.x.y.z.stable_x86.msi /qn |
Download Link: | https://sourcegear.com/diffmerge/downloaded.php |
PowerShell Script: | https://silentinstallhq.com/sourcegear-diffmerge-install-and-uninstall-powershell/ |
SourceGear DiffMerge 64-bit Silent Install (MSI)
- Navigate to: https://sourcegear.com/diffmerge/downloaded.php
- Select Windows Installer (64-bit)
- Download the DiffMerge_w.x.y.z.stable_x64.msi to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: MsiExec.exe /i DiffMerge_w.x.y.z.stable_x64.msi /qn
- Press Enter
After a few moments you should see the DiffMerge Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | SourceGear DiffMerge |
Vendor: | SourceGear, LLC |
Architecture: | x64 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i DiffMerge_w.x.y.z.stable_x64.msi /qn |
Silent Uninstall Switch: | MsiExec.exe /x DiffMerge_w.x.y.z.stable_x64.msi /qn |
Repair Command: | MsiExec.exe /fa DiffMerge_w.x.y.z.stable_x64.msi /qn |
Download Link: | https://sourcegear.com/diffmerge/downloaded.php |
PowerShell Script: | https://silentinstallhq.com/sourcegear-diffmerge-install-and-uninstall-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create an Installation Log File
The SourceGear DiffMerge installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.
SourceGear DiffMerge 32-bit Silent Install with Logging (MSI)
MsiExec.exe /i DiffMerge_w.x.y.z.stable_x86.msi /qn /L*v "%WINDIR%\Temp\DiffMerge32-Install.log" |
SourceGear DiffMerge 64-bit Silent Install with Logging (MSI)
MsiExec.exe /i DiffMerge_w.x.y.z.stable_x64.msi /qn /L*v "%WINDIR%\Temp\DiffMerge64-Install.log" |
How to Uninstall SourceGear DiffMerge Silently
Check out the SourceGear DiffMerge Install and Uninstall (PowerShell) post for a scripted solution.
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
SourceGear DiffMerge 32-bit Silent Install (MSI)
MsiExec.exe /x DiffMerge_w.x.y.z.stable_x86.msi /qn |
SourceGear DiffMerge 64-bit Silent Install (MSI)
MsiExec.exe /x DiffMerge_w.x.y.z.stable_x64.msi /qn |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.