Commands for installing dda 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 Datadog.dda -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Datadog.dda -e --silentwinget uninstall --id Datadog.dda -e --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i dda-x64.msi /qn /norestartWrite a log
msiexec /i dda-x64.msi /qn /norestart /l*v "%TEMP%\dda-install.log"Uninstall
msiexec /x {AA65697F-AC19-4F61-83E6-26D2D05AFBDF} /qn /norestart- MSI product code
- {AA65697F-AC19-4F61-83E6-26D2D05AFBDF}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AA65697F-AC19-4F61-83E6-26D2D05AFBDF}
- UpgradeCode
- {D4AF50ED-25B5-595D-9F4B-CE0766479150}
- Install folder
- %ProgramFiles%\dda
64-bit · ZIP
No installation needed (portable)
32-bit · MSI · All users
Silent install
msiexec /i dda-x86.msi /qn /norestartWrite a log
msiexec /i dda-x86.msi /qn /norestart /l*v "%TEMP%\dda-install.log"Uninstall
msiexec /x {B2963A8E-5D3B-4948-8E20-2FA44E2EB9D5} /qn /norestart- MSI product code
- {B2963A8E-5D3B-4948-8E20-2FA44E2EB9D5}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{B2963A8E-5D3B-4948-8E20-2FA44E2EB9D5}
- UpgradeCode
- {D4AF50ED-25B5-595D-9F4B-CE0766479150}
- Install folder
- %ProgramFiles(x86)%\dda
32-bit · ZIP
No installation needed (portable)
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-dda.ps1
$url = 'https://github.com/DataDog/datadog-agent-dev/releases/download/v0.40.1/dda-x64.msi'
$sha256 = 'FB62EFAAD540B9ACDAE8A37FC1F586197CF2ADD9E7A9B28BAAAAC362652A9800'
$file = Join-Path $env:TEMP 'dda-x64.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 install-dda.ps1
$url = 'https://github.com/DataDog/datadog-agent-dev/releases/download/v0.40.1/dda-x86.msi'
$sha256 = 'C519DEF324075534CAA66572A763395FE977C0616D1293863E8FE331BC80798C'
$file = Join-Path $env:TEMP 'dda-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