Kommandon för att installera OverlayApp 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 RibomX.OverlayApp -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RibomX.OverlayApp -e --silentwinget uninstall --id RibomX.OverlayApp -e --silentPer installationsfil
64-bitars · EXE (NSIS)
Tyst installation
OverlayApp-Setup.exe /SEgen mapp
OverlayApp-Setup.exe /S /D=C:\Apps\overlayappPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-overlayapp.ps1
$url = 'https://github.com/RibomX/overlay-app/releases/download/v1.0.1/OverlayApp-Setup.exe'
$sha256 = '99E0411D167E9D19A46C01E5C8C6484FC1DC722C0436376085209AD9EDC8E3E4'
$file = Join-Path $env:TEMP 'OverlayApp-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 '/S' -Wait