Commando’s om LibSync 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 BoekSolutions.LibSync -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BoekSolutions.LibSync -e --silentwinget uninstall --id BoekSolutions.LibSync -e --silentPer installer
64-bits · EXE (Inno Setup) · Alle gebruikers
Stille installatie
LibSync-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Andere map
LibSync-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\libsync"- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6219A392-16B3-415A-AE12-A33BB0465824}_is1
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-libsync.ps1
$url = 'https://github.com/JohnBoek/boeksolutions.libsync-releases/releases/download/v1.3.0/LibSync-Setup.exe'
$sha256 = '4EFC97EA91B80BC52B9114327FAFA3A63AF514E0ECCB16404D594FB83B2167D6'
$file = Join-Path $env:TEMP 'LibSync-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait