PuTTY ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id PuTTY.PuTTY -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PuTTY.PuTTY -e --silentwinget uninstall --id PuTTY.PuTTY -e --silentInstaller အလိုက်
64-bit · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i putty-64bit-0.85-installer.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i putty-64bit-0.85-installer.msi /qn /norestart /l*v "%TEMP%\putty-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {3B0346D3-155D-43E5-9561-B9BE51CF2EB6} /qn /norestart- MSI product code
- {3B0346D3-155D-43E5-9561-B9BE51CF2EB6}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3B0346D3-155D-43E5-9561-B9BE51CF2EB6}
- UpgradeCode
- {C9EAA861-2B72-4FAF-9FEE-EEB1AD5FD15E}
64-bit · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
ARM64 · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i putty-arm64-0.85-installer.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i putty-arm64-0.85-installer.msi /qn /norestart /l*v "%TEMP%\putty-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {B9D99033-2B04-4C26-8751-DD51F2D9A2C1} /qn /norestart- MSI product code
- {B9D99033-2B04-4C26-8751-DD51F2D9A2C1}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B9D99033-2B04-4C26-8751-DD51F2D9A2C1}
- UpgradeCode
- {2125AD39-A960-4377-AD41-99E50D842AE5}
ARM64 · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
32-bit · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i putty-0.85-installer.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i putty-0.85-installer.msi /qn /norestart /l*v "%TEMP%\putty-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {057E0E80-E4D6-4541-9E00-5FE18954C4D5} /qn /norestart- MSI product code
- {057E0E80-E4D6-4541-9E00-5FE18954C4D5}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{057E0E80-E4D6-4541-9E00-5FE18954C4D5}
- UpgradeCode
- {DCE70C63-8808-4646-B16B-A677BD298385}
32-bit · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-putty.ps1
$url = 'https://the.earth.li/~sgtatham/putty/0.85/w64/putty-64bit-0.85-installer.msi'
$sha256 = '2213EBACF962B709411D654A40087508A694756BC4E41C5A1C24AD86596B2511'
$file = Join-Path $env:TEMP 'putty-64bit-0.85-installer.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-putty.ps1
$url = 'https://the.earth.li/~sgtatham/putty/0.85/wa64/putty-arm64-0.85-installer.msi'
$sha256 = 'F26059B6F6CFA7BADD59A1F133AF4338AD3EC68E8B0AEB0EC1DFD7D63E1C66D4'
$file = Join-Path $env:TEMP 'putty-arm64-0.85-installer.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-putty.ps1
$url = 'https://the.earth.li/~sgtatham/putty/0.85/w32/putty-0.85-installer.msi'
$sha256 = 'CBC48AF94F6462FA3C1859F4185A1FFDA360C3C760DEF9AD5B1E0EC1430B2E09'
$file = Join-Path $env:TEMP 'putty-0.85-installer.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