Commands for installing Syncany without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id Syncany.Syncany -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Syncany.Syncany -e --silentwinget uninstall --id Syncany.Syncany -e --silentBy installer
64-bit · EXE (Inno Setup)
Silent install
syncany-0.4.9-alpha~x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
syncany-0.4.9-alpha~x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\syncany"32-bit · EXE (Inno Setup)
Silent install
syncany-0.4.9-alpha~x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
syncany-0.4.9-alpha~x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\syncany"PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-syncany.ps1
$url = 'https://get.syncany.org/dist/releases/syncany-0.4.9-alpha~x86_64.exe'
$sha256 = '327AE91473D361109BC822F994161FD01F21B1A0AA48B14F4D01BB241529D920'
$file = Join-Path $env:TEMP 'syncany-0.4.9-alpha~x86_64.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-syncany.ps1
$url = 'https://get.syncany.org/dist/releases/syncany-0.4.9-alpha~x86.exe'
$sha256 = '962B9516DFA8E4CE2CC9B9CB971EBF2180EFA95AE686E59A5D6B2B69C1576F1E'
$file = Join-Path $env:TEMP 'syncany-0.4.9-alpha~x86.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