Kommandon för att installera ChatLab 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
PowerShell
winget install --id hellodigua.ChatLab -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id hellodigua.ChatLab -e --silentwinget uninstall --id hellodigua.ChatLab -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
ChatLab-0.37.6-setup.exe /SEgen mapp
ChatLab-0.37.6-setup.exe /S /D=C:\Apps\chatlab- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\5c93c6d5-cfd9-53ea-a37a-26c1e3d35c8d
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
ChatLab-0.37.6-setup.exe /SEgen mapp
ChatLab-0.37.6-setup.exe /S /D=C:\Apps\chatlab- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\5c93c6d5-cfd9-53ea-a37a-26c1e3d35c8d
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-chatlab.ps1
$url = 'https://github.com/ChatLab/ChatLab/releases/download/v0.37.6/ChatLab-0.37.6-setup.exe'
$sha256 = '887707D144C3EFC70C99F0AC81367951A292186394FCCB2A1CCDBA1DFC2D46E1'
$file = Join-Path $env:TEMP 'ChatLab-0.37.6-setup.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 install-chatlab.ps1
$url = 'https://github.com/ChatLab/ChatLab/releases/download/v0.37.6/ChatLab-0.37.6-setup.exe'
$sha256 = '887707D144C3EFC70C99F0AC81367951A292186394FCCB2A1CCDBA1DFC2D46E1'
$file = Join-Path $env:TEMP 'ChatLab-0.37.6-setup.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