คำสั่งสำหรับติดตั้ง Syncthing โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id BillStewart.SyncthingWindowsSetup -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BillStewart.SyncthingWindowsSetup -e --silentwinget uninstall --id BillStewart.SyncthingWindowsSetup -e --silentแยกตามตัวติดตั้ง
32 บิต · EXE (Inno Setup) · ผู้ใช้ปัจจุบัน · en-US
ติดตั้งแบบเงียบ
syncthing-windows-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-กำหนดโฟลเดอร์เอง
syncthing-windows-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\syncthing-syncthing-foundation"- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1EEA2B6F-FD76-47D7-B74C-03E14CF043F9}_is1
32 บิต · EXE (Inno Setup) · ผู้ใช้ทุกคน · en-US
ติดตั้งแบบเงียบ
syncthing-windows-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-กำหนดโฟลเดอร์เอง
syncthing-windows-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\syncthing-syncthing-foundation"- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1EEA2B6F-FD76-47D7-B74C-03E14CF043F9}_is1
- โฟลเดอร์ที่ติดตั้ง
- %ProgramFiles%\Syncthing
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-syncthing-syncthing-foundation.ps1
$url = 'https://github.com/Bill-Stewart/SyncthingWindowsSetup/releases/download/v2.0.2/syncthing-windows-setup.exe'
$sha256 = '05C6DCA01469634D340E77865FBE6158BD1C50F4A1A47A7F8834571B6EF83D7B'
$file = Join-Path $env:TEMP 'syncthing-windows-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-syncthing-syncthing-foundation.ps1
$url = 'https://github.com/Bill-Stewart/SyncthingWindowsSetup/releases/download/v2.0.2/syncthing-windows-setup.exe'
$sha256 = '05C6DCA01469634D340E77865FBE6158BD1C50F4A1A47A7F8834571B6EF83D7B'
$file = Join-Path $env:TEMP 'syncthing-windows-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