Polecenia do instalacji programu HyperChat bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez winget
PowerShell
winget install --id BigSweetPotatoStudio.HyperChat -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BigSweetPotatoStudio.HyperChat -e --silentwinget uninstall --id BigSweetPotatoStudio.HyperChat -e --silentWedług instalatora
64-bit · EXE (NSIS) · Wszyscy użytkownicy
Cicha instalacja
HyperChat-1.8.4-win-x64.exe /SWłasny folder
HyperChat-1.8.4-win-x64.exe /S /D=C:\Apps\hyperchat- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\9014033f-f8f9-5a96-9d4d-94dba10a5423
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-hyperchat.ps1
$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