alter ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id thechandanbhagat.alter -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id thechandanbhagat.alter -e --silentwinget uninstall --id thechandanbhagat.alter -e --silentInstaller အလိုက်
64-bit · EXE (Inno Setup) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
alter-1.4.0-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-စိတ်ကြိုက် ဖိုင်တွဲ
alter-1.4.0-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\alter"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B7C4D3E2-F1A0-4B5C-9D8E-2F3A1B4C5D6E}_is1
- DisplayVersion
- 1.4.0
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-alter.ps1
$url = 'https://github.com/thechandanbhagat/alter-pm/releases/download/v1.4.0/alter-1.4.0-windows-x64-setup.exe'
$sha256 = 'AE7A0074D19FD59654B6AB3CD4557A3CC8546C43909281A91462BB4047E3E58F'
$file = Join-Path $env:TEMP 'alter-1.4.0-windows-x64-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