Commands for installing SugarSync 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 IPVanish.SugarSync -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id IPVanish.SugarSync -e --silentwinget uninstall --id IPVanish.SugarSync -e --silentBy installer
32-bit · EXE (NSIS) · All users
Silent install
SugarSyncSetup.exe /SCustom folder
SugarSyncSetup.exe /S /D=C:\Apps\sugarsync- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\SugarSync
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-sugarsync.ps1
$url = 'https://www.sugarsync.com/downloads/2022-05-11-efc46bf/SugarSyncSetup.exe'
$sha256 = '19921CBD2E6FD2A56A599FED91773EEE1A5B45128DCD125E6DC63DE68D8E12C3'
$file = Join-Path $env:TEMP 'SugarSyncSetup.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