Kommandoer til at installere MTPuTTY 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 TTYPlus.MTPuTTY -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TTYPlus.MTPuTTY -e --silentwinget uninstall --id TTYPlus.MTPuTTY -e --silentPr. installationsfil
32-bit · EXE (Inno Setup) · Aktuel bruger
Lydløs installation
mtputty_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
mtputty_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\mtputty"- Afinstallationsnøgle i registreringsdatabasen
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\MTPuTTY_is1
32-bit · EXE (Inno Setup) · Alle brugere
Lydløs installation
mtputty_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
mtputty_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\mtputty"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\MTPuTTY_is1
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-mtputty.ps1
$url = 'https://ttyplus.com/download/mtputty_setup.exe'
$sha256 = 'C5B9AFAD75DDD8C527503AC3B4D7A97920081C254C54044DF421BD05145AE163'
$file = Join-Path $env:TEMP 'mtputty_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 install-mtputty.ps1
$url = 'https://ttyplus.com/download/mtputty_setup.exe'
$sha256 = 'C5B9AFAD75DDD8C527503AC3B4D7A97920081C254C54044DF421BD05145AE163'
$file = Join-Path $env:TEMP 'mtputty_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