Příkazy pro instalaci programu GitHub Desktop bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id GitHub.GitHubDesktop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GitHub.GitHubDesktop -e --silentwinget uninstall --id GitHub.GitHubDesktop -e --silentPodle instalátoru
64bit · EXE · Aktuální uživatel
Tichá instalace
GitHubDesktopSetup-x64.exe --silent- Klíč odinstalace v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GitHubDesktop
64bit · MSI · Všichni uživatelé
Tichá instalace
msiexec /i GitHubDesktopSetup-x64.msi /qn /norestartZapsat protokol
msiexec /i GitHubDesktopSetup-x64.msi /qn /norestart /l*v "%TEMP%\github-desktop-install.log"Odinstalace
msiexec /x {2F0CF00E-EDA2-49AF-9704-37657EEF1ACE} /qn /norestart- Kód produktu MSI
- {2F0CF00E-EDA2-49AF-9704-37657EEF1ACE}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2F0CF00E-EDA2-49AF-9704-37657EEF1ACE}
- UpgradeCode
- {00D8E2EE-13EA-5BEB-87F0-70EFC46A7D4A}
ARM64 · EXE · Aktuální uživatel
Tichá instalace
GitHubDesktopSetup-arm64.exe --silent- Klíč odinstalace v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GitHubDesktop
ARM64 · MSI · Všichni uživatelé
Tichá instalace
msiexec /i GitHubDesktopSetup-arm64.msi /qn /norestartZapsat protokol
msiexec /i GitHubDesktopSetup-arm64.msi /qn /norestart /l*v "%TEMP%\github-desktop-install.log"Odinstalace
msiexec /x {71084E7A-D86A-41A8-999C-28BE30F390F7} /qn /norestart- Kód produktu MSI
- {71084E7A-D86A-41A8-999C-28BE30F390F7}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{71084E7A-D86A-41A8-999C-28BE30F390F7}
- UpgradeCode
- {00D8E2EE-13EA-5BEB-87F0-70EFC46A7D4A}
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-github-desktop.ps1
$url = 'https://desktop.githubusercontent.com/releases/3.6.10-ffeefe5d/GitHubDesktopSetup-x64.exe'
$sha256 = '36CAE76228A32CFABCF2BF3E17E6BB3F4E294B70692CA88A163595E6603DD835'
$file = Join-Path $env:TEMP 'GitHubDesktopSetup-x64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '--silent' -Wait install-github-desktop.ps1
$url = 'https://desktop.githubusercontent.com/releases/3.6.10-ffeefe5d/GitHubDesktopSetup-x64.msi'
$sha256 = '7878E103E3C7870A7DF98CF06550EBE04ADED6BDE5997CB3564F09800122C829'
$file = Join-Path $env:TEMP 'GitHubDesktopSetup-x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-github-desktop.ps1
$url = 'https://desktop.githubusercontent.com/releases/3.6.10-ffeefe5d/GitHubDesktopSetup-arm64.exe'
$sha256 = '1F83A4C4623B9E7CD4634FEE4BE47684D7CE67C66B7FCA36293EAC6F74BD4EAA'
$file = Join-Path $env:TEMP 'GitHubDesktopSetup-arm64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '--silent' -Wait install-github-desktop.ps1
$url = 'https://desktop.githubusercontent.com/releases/3.6.10-ffeefe5d/GitHubDesktopSetup-arm64.msi'
$sha256 = '5DC2EEE67CF4CD7DF3FA52B5616A9E2CAF57A625F0298310419C8B21DED39C64'
$file = Join-Path $env:TEMP 'GitHubDesktopSetup-arm64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait