د 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-bit · 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"- د Uninstall ریجسټري کیلي
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1EEA2B6F-FD76-47D7-B74C-03E14CF043F9}_is1
32-bit · 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"- د Uninstall ریجسټري کیلي
- 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