Commands for installing odrive 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 OxygenCloud.odrive -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OxygenCloud.odrive -e --silentwinget uninstall --id OxygenCloud.odrive -e --silentBy installer
32-bit · EXE (WiX Burn) · All users
Silent install
downloaddesktop /quiet /norestartPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-odrive.ps1
$url = 'https://www.odrive.com/downloaddesktop?platform=win'
$sha256 = '4798D453EFB1CF5E2D850311E8DB315094994457178E8C232900D661CE447D53'
$file = Join-Path $env:TEMP 'downloaddesktop'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait