Befehle, um Sync ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
winget install --id Sync.Sync -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Sync.Sync -e --silentwinget uninstall --id Sync.Sync -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
msiexec /i latest.msi /qn /norestartmsiexec /i latest.msi /qn /norestart /l*v "%TEMP%\sync-install.log"msiexec /x {96855E80-23DA-11E2-BDFB-09006188709B} /qn /norestart- MSI-Produktcode
- {96855E80-23DA-11E2-BDFB-09006188709B}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{96855E80-23DA-11E2-BDFB-09006188709B}
- UpgradeCode
- {3A5C34FE-6CDE-48D4-A41D-8D57F6B78427}
- DisplayVersion
- 5.0.40.30
32-Bit · MSI · Alle Benutzer
msiexec /i latest-x86.msi /qn /norestartmsiexec /i latest-x86.msi /qn /norestart /l*v "%TEMP%\sync-install.log"msiexec /x {96855E80-23DA-11E2-BDFB-09006188709B} /qn /norestart- MSI-Produktcode
- {96855E80-23DA-11E2-BDFB-09006188709B}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{96855E80-23DA-11E2-BDFB-09006188709B}
- UpgradeCode
- {3A5C34FE-6CDE-48D4-A41D-8D57F6B78427}
- DisplayVersion
- 5.0.40.29
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
$url = 'https://www10.sync.com/download/sync-packages/win/5.0.40/cur/latest.msi'
$sha256 = 'C4338AF3357D737B306CE076C05FCD99154AF09AA0E6C9CA21A55D224EE75E14'
$file = Join-Path $env:TEMP 'latest.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait $url = 'https://www10.sync.com/download/sync-packages/win/5.0.40/cur/latest-x86.msi'
$sha256 = '7B9013AA5E2CA6475FF7A03177D8C08A8E4E992402C7197475A6B2E6DED64BA3'
$file = Join-Path $env:TEMP 'latest-x86.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait