Commands for installing SimpleTex 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 SimpleTex.SimpleTex -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SimpleTex.SimpleTex -e --silentwinget uninstall --id SimpleTex.SimpleTex -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
"SimpleTex Setup 0.2.12.exe" /SCustom folder
"SimpleTex Setup 0.2.12.exe" /S /D=C:\Apps\simpletex- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\f8367960-f4b5-512e-b54f-75b7c75137ad
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-simpletex.ps1
$url = 'https://update.simpletex.net/publish/electron/win32/SimpleTex%20Setup%200.2.12.exe'
$sha256 = '0B0CAA9339F976E36CC5A4FA24F1C7CE0883CF3830C586F2DA6D34C35E0BF770'
$file = Join-Path $env:TEMP 'SimpleTex Setup 0.2.12.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