Příkazy pro instalaci programu ChatLab bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes 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 --silentPodle instalátoru
64bit · EXE (NSIS) · Aktuální uživatel
Tichá instalace
ChatLab-0.37.8-setup.exe /SVlastní složka
ChatLab-0.37.8-setup.exe /S /D=C:\Apps\chatlab- Klíč odinstalace v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\5c93c6d5-cfd9-53ea-a37a-26c1e3d35c8d
64bit · EXE (NSIS) · Všichni uživatelé
Tichá instalace
ChatLab-0.37.8-setup.exe /SVlastní složka
ChatLab-0.37.8-setup.exe /S /D=C:\Apps\chatlab- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\5c93c6d5-cfd9-53ea-a37a-26c1e3d35c8d
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-chatlab.ps1
$url = 'https://github.com/ChatLab/ChatLab/releases/download/v0.37.8/ChatLab-0.37.8-setup.exe'
$sha256 = '9BD286B0BF38601D7818CB7F44870E5B9688002C578AB19028410CFBFF975A8A'
$file = Join-Path $env:TEMP 'ChatLab-0.37.8-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.8/ChatLab-0.37.8-setup.exe'
$sha256 = '9BD286B0BF38601D7818CB7F44870E5B9688002C578AB19028410CFBFF975A8A'
$file = Join-Path $env:TEMP 'ChatLab-0.37.8-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