Commando’s om ThinLinc client zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met winget
PowerShell
winget install --id Cendio.ThinLincClient -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Cendio.ThinLincClient -e --silentwinget uninstall --id Cendio.ThinLincClient -e --silentPer installer
64-bits · EXE (NSIS) · Alle gebruikers
Stille installatie
tl-4.21.0-client-windows.exe /SAndere map
tl-4.21.0-client-windows.exe /S /D=C:\Apps\thinlinc-client- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\tlclient
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-thinlinc-client.ps1
$url = 'https://www.cendio.com/downloads/clients/tl-4.21.0-client-windows.exe'
$sha256 = 'BA9D91068988C1C3547E1DBCD5C5E5218D524193161EB66629283D65BC724308'
$file = Join-Path $env:TEMP 'tl-4.21.0-client-windows.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