Commando’s om Selenium Init CLI 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 shikhar.seleniuminit -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id shikhar.seleniuminit -e --silentwinget uninstall --id shikhar.seleniuminit -e --silentPer installer
64-bits · EXE
Stille installatie
selenium-init-installer.exe /SPowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-selenium-init-cli.ps1
$url = 'https://github.com/shikhar-batham/selenium-init-cli/releases/download/v1.0.0/selenium-init-installer.exe'
$sha256 = '61A8F7E6618974E6099E0520CCCFE787410769E777DD5AC3CADF67FFA393DCF8'
$file = Join-Path $env:TEMP 'selenium-init-installer.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