คำสั่งสำหรับติดตั้ง MarkText โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id MarkText.MarkText -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MarkText.MarkText -e --silentwinget uninstall --id MarkText.MarkText -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ปัจจุบัน
ติดตั้งแบบเงียบ
marktext-win-x64-0.23.0-setup.exe /Sกำหนดโฟลเดอร์เอง
marktext-win-x64-0.23.0-setup.exe /S /D=C:\Apps\marktext- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\80b8d59a-8e25-5f52-8f55-48f4c6ccbd23
64 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
marktext-win-x64-0.23.0-setup.exe /Sกำหนดโฟลเดอร์เอง
marktext-win-x64-0.23.0-setup.exe /S /D=C:\Apps\marktext- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\80b8d59a-8e25-5f52-8f55-48f4c6ccbd23
ARM64 · EXE (NSIS) · ผู้ใช้ปัจจุบัน
ติดตั้งแบบเงียบ
marktext-win-arm64-0.23.0-setup.exe /Sกำหนดโฟลเดอร์เอง
marktext-win-arm64-0.23.0-setup.exe /S /D=C:\Apps\marktext- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\80b8d59a-8e25-5f52-8f55-48f4c6ccbd23
ARM64 · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
marktext-win-arm64-0.23.0-setup.exe /Sกำหนดโฟลเดอร์เอง
marktext-win-arm64-0.23.0-setup.exe /S /D=C:\Apps\marktext- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\80b8d59a-8e25-5f52-8f55-48f4c6ccbd23
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-marktext.ps1
$url = 'https://github.com/marktext/marktext/releases/download/v0.23.0/marktext-win-x64-0.23.0-setup.exe'
$sha256 = '49BF66035F92072CE7DD8FA2F88B91F7036D674C05F872355A2D6E366FC53964'
$file = Join-Path $env:TEMP 'marktext-win-x64-0.23.0-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-marktext.ps1
$url = 'https://github.com/marktext/marktext/releases/download/v0.23.0/marktext-win-x64-0.23.0-setup.exe'
$sha256 = '49BF66035F92072CE7DD8FA2F88B91F7036D674C05F872355A2D6E366FC53964'
$file = Join-Path $env:TEMP 'marktext-win-x64-0.23.0-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-marktext.ps1
$url = 'https://github.com/marktext/marktext/releases/download/v0.23.0/marktext-win-arm64-0.23.0-setup.exe'
$sha256 = '215FE896F23498A6C4E1E1E159D825D69582BA31288FEAA64067A26E4C787509'
$file = Join-Path $env:TEMP 'marktext-win-arm64-0.23.0-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-marktext.ps1
$url = 'https://github.com/marktext/marktext/releases/download/v0.23.0/marktext-win-arm64-0.23.0-setup.exe'
$sha256 = '215FE896F23498A6C4E1E1E159D825D69582BA31288FEAA64067A26E4C787509'
$file = Join-Path $env:TEMP 'marktext-win-arm64-0.23.0-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