Commands for installing ControlUpAgent 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 ControlUp.ControlUpAgent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ControlUp.ControlUpAgent -e --silentwinget uninstall --id ControlUp.ControlUpAgent -e --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i ControlUpAgent-net48-x64-9.2.5.776-signed.msi /qn /norestartWrite a log
msiexec /i ControlUpAgent-net48-x64-9.2.5.776-signed.msi /qn /norestart /l*v "%TEMP%\controlupagent-install.log"Uninstall
msiexec /x {C93248DA-47BB-4B2F-82A4-23A1342E47BB} /qn /norestart- MSI product code
- {C93248DA-47BB-4B2F-82A4-23A1342E47BB}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C93248DA-47BB-4B2F-82A4-23A1342E47BB}
- UpgradeCode
- {42F448C8-835A-4EA0-BE1C-05136450B66B}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-controlupagent.ps1
$url = 'https://downloads.controlup.com/agent/9.2.5.776/ControlUpAgent-net48-x64-9.2.5.776-signed.msi'
$sha256 = 'CBBDD29DB682273CCF0D66E3505A378D5C9964CA02F452C91A7ED42327B0303F'
$file = Join-Path $env:TEMP 'ControlUpAgent-net48-x64-9.2.5.776-signed.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait