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