Commands for installing eBuddy 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 HMS.eBuddy -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id HMS.eBuddy -e --silentwinget uninstall --id HMS.eBuddy -e --silentBy installer
32-bit · MSI · All users
Silent install
msiexec /i ebuddy-12-5-0.msi /qn /norestartWrite a log
msiexec /i ebuddy-12-5-0.msi /qn /norestart /l*v "%TEMP%\ebuddy-install.log"Uninstall
msiexec /x {A430A608-6BAA-45F3-A126-21DC120C1C72} /qn /norestart- MSI product code
- {A430A608-6BAA-45F3-A126-21DC120C1C72}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{A430A608-6BAA-45F3-A126-21DC120C1C72}
- UpgradeCode
- {F31BFB77-5523-4741-8B76-06DF663122D2}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-ebuddy.ps1
$url = 'https://hmsnetworks.blob.core.windows.net/nlw/docs/default-source/products/ewon/monitored/software/ebuddy-12-5-0.msi'
$sha256 = 'A11E006A7A94360F89CAB11C3E31A898F04DA0B9E337C08DA57990F28A6E6444'
$file = Join-Path $env:TEMP 'ebuddy-12-5-0.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