Development
Squirrel
Verified recipe
GitHub Desktop Silent Install Switches (Intune & SCCM)
Silent install switches
--silent
Silent uninstall switches: --uninstall
Intune Win32 app settings
Paste these into the Program and Detection rules steps when you add GitHub Desktop as a Win32 app.
Install command
GitHubDesktopSetup-x64.exe --silentUninstall command
"%LOCALAPPDATA%\GitHubDesktop\Update.exe" --uninstallDetection rule (File)
%LOCALAPPDATA%\GitHubDesktop\GitHubDesktop.exe- Device restart behavior: no restart required.
SCCM / ConfigMgr deployment type
Installation program
GitHubDesktopSetup-x64.exe --silentUninstall program
"%LOCALAPPDATA%\GitHubDesktop\Update.exe" --uninstallDeployment notes
Squirrel-based. Per-user installation only.
Squirrel installers install per-user into %LocalAppData% by default, which matters for Intune: deploy in user context, or use the vendor's machine-wide MSI if one exists.
FAQ
- What are the silent install switches for GitHub Desktop?
- GitHub Desktop installs silently with --silent (it uses a Squirrel installer). Full command: GitHubDesktopSetup-x64.exe --silent
- How do I silently uninstall GitHub Desktop?
- Run: "%LOCALAPPDATA%\GitHubDesktop\Update.exe" --uninstall
- What detection rule should I use for GitHub Desktop in Intune?
- Use a file detection rule. File exists: %LOCALAPPDATA%\GitHubDesktop\GitHubDesktop.exe.
- How do I deploy GitHub Desktop with Intune?
- Wrap the installer as a Win32 app (.intunewin), set the install and uninstall commands above, and add the detection rule. InstallMage can build the .intunewin and generate these commands from the GitHub Desktop installer in under three minutes.