Commands for installing Coderex 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 Coderex.Coderex -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Coderex.Coderex -e --silentwinget uninstall --id Coderex.Coderex -e --silentBy installer
64-bit · EXE (Inno Setup) · Current user
Silent install
Coderex-0.3.48-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
Coderex-0.3.48-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\coderex"PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-coderex.ps1
$url = 'https://releases.coderex.com/0.3.48/Coderex-0.3.48-Setup.exe'
$sha256 = '3BEF4D1454680CAE52252A36625ED05D514C94F32AC6A3A4F05808B14A822B06'
$file = Join-Path $env:TEMP 'Coderex-0.3.48-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