Commands for installing AndroidMessages 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 OrangeDrangon.AndroidMessages.Desktop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OrangeDrangon.AndroidMessages.Desktop -e --silentwinget uninstall --id OrangeDrangon.AndroidMessages.Desktop -e --silentBy installer
64-bit · EXE (NSIS)
Silent install
Android-Messages-v6.1.1-win-x64.exe /SCustom folder
Android-Messages-v6.1.1-win-x64.exe /S /D=C:\Apps\androidmessages- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\aaff2e52-c35f-5cf1-b390-84049ddf337f
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-androidmessages.ps1
$url = 'https://github.com/OrangeDrangon/android-messages-desktop/releases/download/v6.1.1/Android-Messages-v6.1.1-win-x64.exe'
$sha256 = '8C3A9DB04A3E84401ADCCD9D1EB522EF8AB5CC7E440F00C6290DC6E9AD21CB79'
$file = Join-Path $env:TEMP 'Android-Messages-v6.1.1-win-x64.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