Kommandon för att installera input-overlay 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 univrsal.input-overlay -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id univrsal.input-overlay -e --silentwinget uninstall --id univrsal.input-overlay -e --silentPer installationsfil
64-bitars · EXE (Inno Setup)
Tyst installation
input-overlay-5.0.6-windows-x64-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
input-overlay-5.0.6-windows-x64-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\input-overlay"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-input-overlay.ps1
$url = 'https://github.com/univrsal/input-overlay/releases/download/5.0.6/input-overlay-5.0.6-windows-x64-Installer.exe'
$sha256 = '4440662160379AF26623798A493A167276CAA9703EB3B12041699D6B7D3DF28D'
$file = Join-Path $env:TEMP 'input-overlay-5.0.6-windows-x64-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait