Commands for installing AutoIt 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 AutoIt.AutoIt -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AutoIt.AutoIt -e --silentwinget uninstall --id AutoIt.AutoIt -e --silentBy installer
64-bit · ZIP · All users · en-US
Silent install
autoit-v3.3.18.0-setup.zip /S- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AutoItv3
32-bit · ZIP · All users · en-US
Silent install
autoit-v3.3.18.0-setup.zip /S- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\AutoItv3
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-autoit.ps1
$url = 'https://www.autoitscript.com/autoit3/files/archive/autoit/autoit-v3.3.18.0-setup.zip'
$sha256 = 'A95FE7903C3005707AECD09ABA808BACDC4F70805F5D5C414EE5AF2F639FC340'
$file = Join-Path $env:TEMP 'autoit-v3.3.18.0-setup.zip'
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 install-autoit.ps1
$url = 'https://www.autoitscript.com/autoit3/files/archive/autoit/autoit-v3.3.18.0-setup.zip'
$sha256 = 'A95FE7903C3005707AECD09ABA808BACDC4F70805F5D5C414EE5AF2F639FC340'
$file = Join-Path $env:TEMP 'autoit-v3.3.18.0-setup.zip'
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