คำสั่งสำหรับติดตั้ง DOSBox Staging โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id DOSBoxStaging.DOSBoxStaging -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DOSBoxStaging.DOSBoxStaging -e --silentwinget uninstall --id DOSBoxStaging.DOSBoxStaging -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (Inno Setup) · ผู้ใช้ปัจจุบัน
ติดตั้งแบบเงียบ
dosbox-staging-windows-x64-v0.83.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-กำหนดโฟลเดอร์เอง
dosbox-staging-windows-x64-v0.83.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\dosbox-staging"- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{587471B7-02F6-4F25-8D00-70006790653C}_is1
64 บิต · EXE (Inno Setup) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
dosbox-staging-windows-x64-v0.83.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-กำหนดโฟลเดอร์เอง
dosbox-staging-windows-x64-v0.83.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\dosbox-staging"- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{587471B7-02F6-4F25-8D00-70006790653C}_is1
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-dosbox-staging.ps1
$url = 'https://github.com/dosbox-staging/dosbox-staging/releases/download/v0.83.0/dosbox-staging-windows-x64-v0.83.0-setup.exe'
$sha256 = 'A3F30B34870C1A3845258BEE92F325D0EFE22761ADCE9827820FB86EDEAC651D'
$file = Join-Path $env:TEMP 'dosbox-staging-windows-x64-v0.83.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-dosbox-staging.ps1
$url = 'https://github.com/dosbox-staging/dosbox-staging/releases/download/v0.83.0/dosbox-staging-windows-x64-v0.83.0-setup.exe'
$sha256 = 'A3F30B34870C1A3845258BEE92F325D0EFE22761ADCE9827820FB86EDEAC651D'
$file = Join-Path $env:TEMP 'dosbox-staging-windows-x64-v0.83.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait