Markdown Studio ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id TheSaltyKorean.MarkdownStudio -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TheSaltyKorean.MarkdownStudio -e --silentwinget uninstall --id TheSaltyKorean.MarkdownStudio -e --silentInstaller အလိုက်
64-bit · MSI · လက်ရှိအသုံးပြုသူ · en-US
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i markdown-studio-windows-x64.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i markdown-studio-windows-x64.msi /qn /norestart /l*v "%TEMP%\markdown-studio-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {7E5CFBD3-EB61-438D-B5DD-1125D7359B87} /qn /norestart- MSI product code
- {7E5CFBD3-EB61-438D-B5DD-1125D7359B87}
- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7E5CFBD3-EB61-438D-B5DD-1125D7359B87}
- UpgradeCode
- {D4A5C1F2-7B3E-4A86-9D2C-1E8F0B6A7C53}
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %LocalAppData%\Programs\Markdown Studio
- DisplayVersion
- 1.0.26
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-markdown-studio.ps1
$url = 'https://github.com/TheSaltyKorean/md/releases/download/v1.0.26/markdown-studio-windows-x64.msi'
$sha256 = 'CD9440AA50E49AC83E59C04BE03E0F596BA48D4C79FEAE5AD5C7559F47C91121'
$file = Join-Path $env:TEMP 'markdown-studio-windows-x64.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