คำสั่งสำหรับติดตั้ง SMPlayer โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id SMPlayer.SMPlayer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SMPlayer.SMPlayer -e --silentwinget uninstall --id SMPlayer.SMPlayer -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
smplayer-26.8.29-x64-unsigned.exe /Sกำหนดโฟลเดอร์เอง
smplayer-26.8.29-x64-unsigned.exe /S /D=C:\Apps\smplayer- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SMPlayer
- โฟลเดอร์ที่ติดตั้ง
- %ProgramFiles%\SMPlayer
32 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
smplayer-26.8.29-win32-qt5.6-unsigned.exe /Sกำหนดโฟลเดอร์เอง
smplayer-26.8.29-win32-qt5.6-unsigned.exe /S /D=C:\Apps\smplayer- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\SMPlayer
- โฟลเดอร์ที่ติดตั้ง
- %ProgramFiles(x86)%\SMPlayer
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-smplayer.ps1
$url = 'https://github.com/smplayer-dev/smplayer/releases/download/v26.8.29/smplayer-26.8.29-x64-unsigned.exe'
$sha256 = '5483B28A35AD5A1FB7EB657816F25D5BEDF436EA4CF11C3E4D4D826705270944'
$file = Join-Path $env:TEMP 'smplayer-26.8.29-x64-unsigned.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-smplayer.ps1
$url = 'https://github.com/smplayer-dev/smplayer/releases/download/v26.8.29/smplayer-26.8.29-win32-qt5.6-unsigned.exe'
$sha256 = '62C860799E87D7565FC365565AE76C4C5852CF935ADDE2D92806819936AD6436'
$file = Join-Path $env:TEMP 'smplayer-26.8.29-win32-qt5.6-unsigned.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