GitHub Desktop Silent Install (How-To Guide)

GitHub Desktop is a tool that allows you to interact with GitHub from the desktop. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of GitHub Desktop from the command line using both the EXE & MSI installers.

How to Install GitHub Desktop Silently

GitHub Desktop Silent Install (EXE)

  1. Navigate to: https://central.github.com/deployments/desktop/desktop/latest/win32
  2. Download the GitHubDesktopSetup-x64.exe to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: GitHubDesktopSetup-x64.exe -s
  6. Press Enter

After a few moments you should see the GitHub Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:GitHub Desktop
Vendor:GitHub, Inc.
Architecture:x64
Installer Type:EXE
Silent Install Switch:GitHubDesktopSetup-x64.exe -s
Silent Uninstall Switch:"%LocalAppData%\GitHubDesktop\Update.exe" --uninstall -s
Download Link:https://central.github.com/deployments/desktop/desktop/latest/win32
PowerShell Script:https://silentinstallhq.com/github-desktop-install-and-uninstall-powershell/
Detection Script:https://silentinstallhq.com/create-a-custom-detection-script-for-github-desktop-powershell/

GitHub Desktop Silent Install (MSI)

  1. Navigate to: https://central.github.com/deployments/desktop/desktop/latest/win32?format=msi
  2. Download the GitHubDesktopSetup-x64.msi to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following commands:
MsiExec.exe /i GitHubDesktopSetup-x64.msi /qn
"%ProgramFiles(x86)%\GitHub Desktop Deployment\GitHubDesktopDeploymentTool.exe" -s

After a few moments you should see the GitHub Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:GitHub Desktop Deployment Tool
Vendor:GitHub, Inc.
Architecture:x64
Installer Type:MSI
Silent Install Switch (Step1)MsiExec.exe /i GitHubDesktopSetup-x64.msi /qn
Silent Install Switch (Step2)"%ProgramFiles(x86)%\GitHub Desktop Deployment\GitHubDesktopDeploymentTool.exe" -s
Silent Uninstall Switch (Step1)"%LocalAppData%\GitHubDesktop\Update.exe" --uninstall -s
Silent Uninstall Switch (Step2)MsiExec.exe /x GitHubDesktopSetup-x64.msi /qn
Download Link:https://central.github.com/deployments/desktop/desktop/latest/win32?format=msi
PowerShell Script:https://silentinstallhq.com/github-desktop-install-and-uninstall-powershell/
Detection Script:https://silentinstallhq.com/create-a-custom-detection-script-for-github-desktop-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.


How to Uninstall GitHub Desktop Silently

Check out the following posts for a scripted solution:

GitHub Desktop Install and Uninstall (PowerShell)
GitHub Desktop Silent Uninstall (PowerShell)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:

GitHub Desktop Silent Uninstall (EXE)

"%LocalAppData%\GitHubDesktop\Update.exe" --uninstall -s

GitHub Desktop Silent Uninstall (MSI)

"%LocalAppData%\GitHubDesktop\Update.exe" --uninstall -s
MsiExec.exe /x GitHubDesktopSetup-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.