Kommandoer til at installere ChatLab uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
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 --silentPr. installationsfil
64-bit · EXE (NSIS) · Aktuel bruger
Lydløs installation
ChatLab-0.37.6-setup.exe /SEgen mappe
ChatLab-0.37.6-setup.exe /S /D=C:\Apps\chatlab- Afinstallationsnøgle i registreringsdatabasen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\5c93c6d5-cfd9-53ea-a37a-26c1e3d35c8d
64-bit · EXE (NSIS) · Alle brugere
Lydløs installation
ChatLab-0.37.6-setup.exe /SEgen mappe
ChatLab-0.37.6-setup.exe /S /D=C:\Apps\chatlab- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\5c93c6d5-cfd9-53ea-a37a-26c1e3d35c8d
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
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