Canva ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id Canva.Canva -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Canva.Canva -e --silentwinget uninstall --id Canva.Canva -e --silentInstaller အလိုက်
64-bit · EXE (NSIS) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
"Canva Setup 1.129.0.exe" /Sစိတ်ကြိုက် ဖိုင်တွဲ
"Canva Setup 1.129.0.exe" /S /D=C:\Apps\canva- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\3d0ba22d-e02b-5c6d-93a1-4e2a9af9c1f2
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %LOCALAPPDATA%\Programs\Canva
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-canva.ps1
$url = 'https://desktop-release.canva.com/Canva%20Setup%201.129.0.exe'
$sha256 = '536C29DD56670C8328CF14192103498C664E769721D8F10449978985700F6F84'
$file = Join-Path $env:TEMP 'Canva Setup 1.129.0.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 '/S' -Wait