Commands for installing HLAE 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 advancedfx.HLAE -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id advancedfx.HLAE -e --silentwinget uninstall --id advancedfx.HLAE -e --silentBy installer
32-bit · EXE (WiX Burn) · All users
Silent install
HLAE_Setup.exe /quiet /norestartUninstall
msiexec /x {3143F7AE-A114-4A20-938E-1762A1CF6E8A} /qn /norestart- MSI product code
- {3143F7AE-A114-4A20-938E-1762A1CF6E8A}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{3143F7AE-A114-4A20-938E-1762A1CF6E8A}
- UpgradeCode
- {35C8D990-6C4F-4639-ADF7-D259B06E070B}
- Install folder
- %ProgramFiles(x86)%\HLAE
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-hlae.ps1
$url = 'https://github.com/advancedfx/advancedfx/releases/download/v2.193.0/HLAE_Setup.exe'
$sha256 = 'C4D1D2F9CF6FFDC1DAD8FCDF5F4185D7AEA059C7174C0FB9EADD8C4179AB6EAA'
$file = Join-Path $env:TEMP 'HLAE_Setup.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 '/quiet /norestart' -Wait