Commands for installing Ais Decoder 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 NealArundale.AisDecoder -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NealArundale.AisDecoder -e --silentwinget uninstall --id NealArundale.AisDecoder -e --silentBy installer
32-bit · EXE (Inno Setup)
Silent install
AisDecoder_setup_3.5.149.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
AisDecoder_setup_3.5.149.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ais-decoder"- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Ais Decoder_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-ais-decoder.ps1
$url = 'https://arundaleais.github.io/docs/ais/AisDecoder_setup_3.5.149.exe'
$sha256 = '0C68F1C0A9DB931E543A2C0DE525E0F0C8DF403F775E32DD9D5E3B2C3335262E'
$file = Join-Path $env:TEMP 'AisDecoder_setup_3.5.149.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait