Kommandon för att installera HyperChat utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med 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 installationsfil
64-bitars · EXE (NSIS) · Alla användare
HyperChat-1.8.4-win-x64.exe /SHyperChat-1.8.4-win-x64.exe /S /D=C:\Apps\hyperchat- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\9014033f-f8f9-5a96-9d4d-94dba10a5423
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
$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