Commands for installing agentty 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 agentty.agentty -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id agentty.agentty -e --silentwinget uninstall --id agentty.agentty -e --silentBy installer
64-bit · MSI · Current user · en-US
Silent install
msiexec /i agentty-windows-x86_64.msi /qn /norestartWrite a log
msiexec /i agentty-windows-x86_64.msi /qn /norestart /l*v "%TEMP%\agentty-install.log"Uninstall
msiexec /x {55F0B6C5-8A3D-405D-99D9-2056FC4742D3} /qn /norestart- MSI product code
- {55F0B6C5-8A3D-405D-99D9-2056FC4742D3}
- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{55F0B6C5-8A3D-405D-99D9-2056FC4742D3}
- UpgradeCode
- {6F3A2C18-9E4B-4D27-8A1E-7C5B2D0F9A41}
- Install folder
- %LocalAppData%/Programs/agentty
- DisplayVersion
- 0.9.35
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-agentty.ps1
$url = 'https://github.com/agentty-org/agentty/releases/download/v0.9.35/agentty-windows-x86_64.msi'
$sha256 = '984F8C3157FC2C8416FD8CB19B8E5BF89B1CF252770D965485A9FE5434753728'
$file = Join-Path $env:TEMP 'agentty-windows-x86_64.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