Commands for installing ERCHA 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 Ezoa.ERCHA -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Ezoa.ERCHA -e --silentwinget uninstall --id Ezoa.ERCHA -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i ERCHA.msi /qn /norestartWrite a log
msiexec /i ERCHA.msi /qn /norestart /l*v "%TEMP%\ercha-install.log"Uninstall
msiexec /x {A359E335-A3EC-4085-95A0-0DAB9E7AB9FA} /qn /norestart- MSI product code
- {A359E335-A3EC-4085-95A0-0DAB9E7AB9FA}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A359E335-A3EC-4085-95A0-0DAB9E7AB9FA}
- UpgradeCode
- {68ECBFC8-E7E5-4197-9580-E896D481A3ED}
- Install folder
- %ProgramFiles%\ERCHA
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-ercha.ps1
$url = 'https://github.com/ezoa-page/ERCHA/releases/download/0.1.1/ERCHA.msi'
$sha256 = '8BA31AC892AF897EDF70FBBAD3FFFE368006AA57CA49C0FCD01774EA1F426BDF'
$file = Join-Path $env:TEMP 'ERCHA.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait