Ordres per instal·lar google-chat-linux sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 --silentPer instal·lador
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
google-chat-linux_Setup_5.39.29-2.exe /SUna altra carpeta
google-chat-linux_Setup_5.39.29-2.exe /S /D=C:\Apps\google-chat-linux- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\f04f5cdd-5839-593a-915a-05394e69e2b7
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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