Commands for installing LiveAgent 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 Stack-Cairn.LiveAgent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Stack-Cairn.LiveAgent -e --silentwinget uninstall --id Stack-Cairn.LiveAgent -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
LiveAgent-v2.0.37-Windows-x64-Setup.exe /SCustom folder
LiveAgent-v2.0.37-Windows-x64-Setup.exe /S /D=C:\Apps\liveagent- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\LiveAgent
- Install folder
- %LocalAppData%\LiveAgent
64-bit · MSI · All users
Silent install
msiexec /i LiveAgent-v2.0.37-Windows-x64.msi /qn /norestartWrite a log
msiexec /i LiveAgent-v2.0.37-Windows-x64.msi /qn /norestart /l*v "%TEMP%\liveagent-install.log"Uninstall
msiexec /x {6DBB9DC3-12E4-4F43-B6F4-2ACC7396623D} /qn /norestart- MSI product code
- {6DBB9DC3-12E4-4F43-B6F4-2ACC7396623D}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6DBB9DC3-12E4-4F43-B6F4-2ACC7396623D}
- UpgradeCode
- {5D56E0D3-9926-5493-A176-8C01F12BA19A}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-liveagent.ps1
$url = 'https://github.com/Stack-Cairn/LiveAgent/releases/download/v2.0.37/LiveAgent-v2.0.37-Windows-x64-Setup.exe'
$sha256 = '2FAF77EAB5BCBC9FB0DA1BCDD5214585F033DB4DF43C675969B0C729567B1691'
$file = Join-Path $env:TEMP 'LiveAgent-v2.0.37-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 '/S' -Wait install-liveagent.ps1
$url = 'https://github.com/Stack-Cairn/LiveAgent/releases/download/v2.0.37/LiveAgent-v2.0.37-Windows-x64.msi'
$sha256 = '27B8B0915CCE9F1BD2B97FBB844930F421E8D80CF27FF6F8291A8EAC6161D4AF'
$file = Join-Path $env:TEMP 'LiveAgent-v2.0.37-Windows-x64.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