Příkazy pro instalaci programu GitButler 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 GitButler.GitButler -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GitButler.GitButler -e --silentwinget uninstall --id GitButler.GitButler -e --silentPodle instalátoru
64bit · MSI · Všichni uživatelé · en-US
Tichá instalace
msiexec /i GitButler_0.22.3_x64_en-US.msi /qn /norestartZapsat protokol
msiexec /i GitButler_0.22.3_x64_en-US.msi /qn /norestart /l*v "%TEMP%\gitbutler-install.log"Odinstalace
msiexec /x {E19A8009-3C18-49F6-9D65-66EBDC6846F8} /qn /norestart- Kód produktu MSI
- {E19A8009-3C18-49F6-9D65-66EBDC6846F8}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E19A8009-3C18-49F6-9D65-66EBDC6846F8}
- UpgradeCode
- {6BA03334-13E8-5712-80AD-F373B5415A08}
- Instalační složka
- %ProgramFiles%\GitButler
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-gitbutler.ps1
$url = 'https://releases.gitbutler.com/releases/release/0.22.3-3234/windows/x86_64/GitButler_0.22.3_x64_en-US.msi'
$sha256 = '2152C30D907B3BCC2CC7F470ECCB342C0903A5902340F4D7DCB4D8A96A22A68E'
$file = Join-Path $env:TEMP 'GitButler_0.22.3_x64_en-US.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