Příkazy pro instalaci programu ZestSSH 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 AffluentLabs.ZestSSH -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AffluentLabs.ZestSSH -e --silentwinget uninstall --id AffluentLabs.ZestSSH -e --silentPodle instalátoru
64bit · EXE (Inno Setup) · Aktuální uživatel · en-US
Tichá instalace
ZestSSH-4.2.0-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastní složka
ZestSSH-4.2.0-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\zestssh"- Klíč odinstalace v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F47AC10B-58CC-4372-A567-0E02B2C3D479}_is1
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-zestssh.ps1
$url = 'https://zestssh.com/downloads/ZestSSH-4.2.0-Setup.exe'
$sha256 = 'F5152CD6D64158A616D06733E5AADFC79B3E32D39651C317CC02EC3682668F78'
$file = Join-Path $env:TEMP 'ZestSSH-4.2.0-Setup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait