Commands for installing google-chat-linux 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 squalou.google-chat-linux -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id squalou.google-chat-linux -e --silentwinget uninstall --id squalou.google-chat-linux -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
google-chat-linux_Setup_5.39.29-2.exe /SCustom folder
google-chat-linux_Setup_5.39.29-2.exe /S /D=C:\Apps\google-chat-linux- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\f04f5cdd-5839-593a-915a-05394e69e2b7
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-google-chat-linux.ps1
$url = 'https://github.com/squalou/google-chat-linux/releases/download/5.39.29-2/google-chat-linux_Setup_5.39.29-2.exe'
$sha256 = '4B624E3DF26C69B379AD6DF2385223CF7239667D5F9B08F43ABC448C886CD08A'
$file = Join-Path $env:TEMP 'google-chat-linux_Setup_5.39.29-2.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