MDX Notes ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id maqibin.MDXNotes -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id maqibin.MDXNotes -e --silentwinget uninstall --id maqibin.MDXNotes -e --silentInstaller အလိုက်
64-bit · EXE (NSIS) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
MDX.Notes_1.0.3_x64-setup.exe /Sစိတ်ကြိုက် ဖိုင်တွဲ
MDX.Notes_1.0.3_x64-setup.exe /S /D=C:\Apps\mdx-notes- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MDX Notes
64-bit · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i MDX.Notes_1.0.3_x64_en-US.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i MDX.Notes_1.0.3_x64_en-US.msi /qn /norestart /l*v "%TEMP%\mdx-notes-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {65EE8BB4-199F-4264-AC00-6E874FBDB794} /qn /norestart- MSI product code
- {65EE8BB4-199F-4264-AC00-6E874FBDB794}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{65EE8BB4-199F-4264-AC00-6E874FBDB794}
- UpgradeCode
- {9D0AB30F-CEF5-5F4B-B7CE-44F054729F8F}
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-mdx-notes.ps1
$url = 'https://github.com/maqi1520/mdx-notes/releases/download/v1.0.3/MDX.Notes_1.0.3_x64-setup.exe'
$sha256 = 'BD465F96744EE466D9D94D856D1FEAE4AFB3E23F9071743229772B1DB9D9A9B9'
$file = Join-Path $env:TEMP 'MDX.Notes_1.0.3_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 '/S' -Wait install-mdx-notes.ps1
$url = 'https://github.com/maqi1520/mdx-notes/releases/download/v1.0.3/MDX.Notes_1.0.3_x64_en-US.msi'
$sha256 = 'AE9C111762AD09BAB4EDBC1406D7D5A5F913025C72ACB8F5DCD0CC6A3085BC92'
$file = Join-Path $env:TEMP 'MDX.Notes_1.0.3_x64_en-US.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