Kommandoer til at installere GitHub Desktop Beta uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med winget
PowerShell
winget install --id GitHub.GitHubDesktop.Beta -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GitHub.GitHubDesktop.Beta -e --silentwinget uninstall --id GitHub.GitHubDesktop.Beta -e --silentPr. installationsfil
64-bit · EXE · Aktuel bruger
Lydløs installation
GitHubDesktopSetup-x64.exe /s64-bit · MSI · Alle brugere · en-US
Lydløs installation
msiexec /i GitHubDesktopSetup-x64.msi /qn /norestartSkriv en log
msiexec /i GitHubDesktopSetup-x64.msi /qn /norestart /l*v "%TEMP%\github-desktop-beta-install.log"Afinstallation
msiexec /x {42BE184E-9DEA-4FF1-8520-CAF033E9F2A1} /qn /norestart- MSI-produktkode
- {42BE184E-9DEA-4FF1-8520-CAF033E9F2A1}
- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{42BE184E-9DEA-4FF1-8520-CAF033E9F2A1}
- UpgradeCode
- {00D8E2EE-13EA-5BEB-87F0-70EFC46A7D4A}
- Installationsmappe
- %ProgramFiles(x86)%\GitHub Desktop Deployment
- DisplayVersion
- 3.5.5.0
ARM64 · EXE
Udgiveren har ikke dokumenteret en parameter til lydløs installation for denne installationsfil.ARM64 · MSI · Alle brugere · en-US
Lydløs installation
msiexec /i GitHubDesktopSetup-arm64.msi /qn /norestartSkriv en log
msiexec /i GitHubDesktopSetup-arm64.msi /qn /norestart /l*v "%TEMP%\github-desktop-beta-install.log"Afinstallation
msiexec /x {83989686-A7D4-4870-BFA0-F55D9358E0F9} /qn /norestart- MSI-produktkode
- {83989686-A7D4-4870-BFA0-F55D9358E0F9}
- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{83989686-A7D4-4870-BFA0-F55D9358E0F9}
- UpgradeCode
- {00D8E2EE-13EA-5BEB-87F0-70EFC46A7D4A}
- Installationsmappe
- %ProgramFiles(x86)%\GitHub Desktop Deployment
- DisplayVersion
- 3.5.5.0
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-github-desktop-beta.ps1
$url = 'https://github.com/desktop/desktop/releases/download/release-3.5.5-beta2/GitHubDesktopSetup-x64.exe'
$sha256 = '13B6AEF56979DDE28AC4FD88FC8F51E8DEBE5A3B2A8F4BA3F16BB6AD4557156C'
$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 '/s' -Wait install-github-desktop-beta.ps1
$url = 'https://github.com/desktop/desktop/releases/download/release-3.5.5-beta2/GitHubDesktopSetup-x64.msi'
$sha256 = '17255206638115552E6987649729A4A5A4ABD07C91AF32478945CDCED5EACA3B'
$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-beta.ps1
$url = 'https://github.com/desktop/desktop/releases/download/release-3.5.5-beta2/GitHubDesktopSetup-arm64.msi'
$sha256 = 'DF3C5270C0B02AEBE32817153D4BF05AD3C2C53D6D3343445D134D25D2A9995A'
$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