codeusagemonit ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id fanchengliu.codeusagemonit -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id fanchengliu.codeusagemonit -e --silentwinget uninstall --id fanchengliu.codeusagemonit -e --silentInstaller အလိုက်
64-bit · EXE (Inno Setup) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
codeusagemonit-setup-1.0.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-စိတ်ကြိုက် ဖိုင်တွဲ
codeusagemonit-setup-1.0.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codeusagemonit"- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A4E8C1D7-6F2B-4C9A-8E15-3B7D9F0A2C64}_is1
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %LocalAppData%\Programs\codeusagemonit
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-codeusagemonit.ps1
$url = 'https://github.com/fanchengliu/codeusagemonit/releases/download/v1.0.2/codeusagemonit-setup-1.0.2.exe'
$sha256 = 'FF8283711A6A021015BBEE93D471549A707EBBB0E7D0704E8F283FCD054429F1'
$file = Join-Path $env:TEMP 'codeusagemonit-setup-1.0.2.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