Ordres per instal·lar HyperChat 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
winget install --id BigSweetPotatoStudio.HyperChat -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BigSweetPotatoStudio.HyperChat -e --silentwinget uninstall --id BigSweetPotatoStudio.HyperChat -e --silentPer instal·lador
64 bits · EXE (NSIS) · Tots els usuaris
HyperChat-1.8.4-win-x64.exe /SHyperChat-1.8.4-win-x64.exe /S /D=C:\Apps\hyperchat- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\9014033f-f8f9-5a96-9d4d-94dba10a5423
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
$url = 'https://github.com/BigSweetPotatoStudio/HyperChat/releases/download/v1.8.4/HyperChat-1.8.4-win-x64.exe'
$sha256 = 'F87F698FCCDD72B31CA7DD0EDE07B578A3118BB72482FAD250852AE855DE641F'
$file = Join-Path $env:TEMP 'HyperChat-1.8.4-win-x64.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