Flame ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id KeeyaiSoft.Flame -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KeeyaiSoft.Flame -e --silentwinget uninstall --id KeeyaiSoft.Flame -e --silentInstaller အလိုက်
32-bit · MSI · အသုံးပြုသူအားလုံး · en-US
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i download /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i download /qn /norestart /l*v "%TEMP%\flame-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {A412560A-D61C-432C-8C30-C5102B8AF831} /qn /norestart- MSI product code
- {A412560A-D61C-432C-8C30-C5102B8AF831}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{A412560A-D61C-432C-8C30-C5102B8AF831}
- UpgradeCode
- {A40F08A3-BE00-4F45-AA37-7B1A9996BAFE}
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles(x86)%\KeeyaiSoft\Flame
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-flame.ps1
$url = 'https://sourceforge.net/projects/keeyai-flame/files/keeyai-flame/Flame%201.2.0/Flame_1.2.0.msi/download'
$sha256 = 'E09855DC42286B92EF4B342D365BC273ADF684FB4809672B5E5C140E28070DC4'
$file = Join-Path $env:TEMP 'download'
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