Commands for installing TestMace 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 testmace.testmace -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id testmace.testmace -e --silentwinget uninstall --id testmace.testmace -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
TestMace.exe /SCustom folder
TestMace.exe /S /D=C:\Apps\testmace- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\4a5cc1f4-fed9-516d-b055-083161b16ac0
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-testmace.ps1
$url = 'https://download.testmace.com/TestMace.exe'
$sha256 = '012009199F6FABA58AC6C2A6D73BEDA5A9E693E8E98C8B9660D64357DE64AA86'
$file = Join-Path $env:TEMP 'TestMace.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 '/S' -Wait