Commands for installing AntConc 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 AntLab.AntConc -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AntLab.AntConc -e --silentwinget uninstall --id AntLab.AntConc -e --silentBy installer
64-bit · EXE (Inno Setup) · Current user
Silent install
AntConc-4.4.2-windows-x64-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
AntConc-4.4.2-windows-x64-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\antconc"- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1FC711C0-DFA6-49BA-87C9-EC7C86DFE265}_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-antconc.ps1
$url = 'https://www.laurenceanthony.net/software/antconc/releases/AntConc442/win/AntConc-4.4.2-windows-x64-installer.exe'
$sha256 = '93D9DA0DCD77ADECE8BE1D594EEA8D600172222948370977EFF4C75B2F4E835A'
$file = Join-Path $env:TEMP 'AntConc-4.4.2-windows-x64-installer.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