د MTPuTTY بې پوښتنې نصبولو، بیا لرې کولو او د ځای پر ځای کولو وسایلو له لارې د پېژندلو کمانډونه. کمانډ یوازې هغه وخت ښودل کېږي چې ډاډمن وي: له مانیفسټ څخه یا د نصبوونکي ټکنالوژۍ له لیکل شوي اصلي حالت څخه.
اړوند لارښود: د چوپه نصب سویچونه: MSI، NSIS، Inno Setup · پروګرام د ریجسټري یا PowerShell په مرسته لرې کړئ
د 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 --silentد نصبوونکي له مخې
32-bit · EXE (Inno Setup) · اوسنی کارن
چوپه نصب
mtputty_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-خپل فولډر
mtputty_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\mtputty"- د Uninstall ریجسټري کیلي
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\MTPuTTY_is1
32-bit · EXE (Inno Setup) · ټول کارنان
چوپه نصب
mtputty_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-خپل فولډر
mtputty_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\mtputty"- د Uninstall ریجسټري کیلي
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\MTPuTTY_is1
PowerShell: ډاونلوډ، تایید، نصب
رسمي فایل ډاونلوډوي، SHA256 یې ګوري او په چوپه توګه یې نصبوي.
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