Commands for installing alter 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 thechandanbhagat.alter -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id thechandanbhagat.alter -e --silentwinget uninstall --id thechandanbhagat.alter -e --silentBy installer
64-bit · EXE (Inno Setup) · All users
Silent install
alter-1.3.2-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
alter-1.3.2-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\alter"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B7C4D3E2-F1A0-4B5C-9D8E-2F3A1B4C5D6E}_is1
- DisplayVersion
- 1.3.2
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-alter.ps1
$url = 'https://github.com/thechandanbhagat/alter-pm/releases/download/v1.3.2/alter-1.3.2-windows-x64-setup.exe'
$sha256 = '23849AF754D796DC323FE2EF034031E0A36B0A70E9B9A5D8F7F9336A3742AEBA'
$file = Join-Path $env:TEMP 'alter-1.3.2-windows-x64-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait