Kommandon för att installera Logitech Options utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id Logitech.Options -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Logitech.Options -e --silentwinget uninstall --id Logitech.Options -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Alla användare · en-US
Tyst installation
options_installer.exe /quietEgen mapp
options_installer.exe /quiet /D=C:\Apps\logitech-optionsPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-logitech-options.ps1
$url = 'https://download01.logi.com/web/ftp/pub/techsupport/options/options_installer.exe'
$sha256 = '37265AE012E9A58B3F2EE426FF33F258551948C97210A9E6738849B737D17AC5'
$file = Join-Path $env:TEMP 'options_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 '/quiet' -Wait