Kommandon för att installera WindowTop 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
winget install --id gileli121.windowtop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id gileli121.windowtop -e --silentwinget uninstall --id gileli121.windowtop -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare · en-US
WindowTop.5.31.2.-.setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-WindowTop.5.31.2.-.setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\windowtop"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CE6D6727-0A03-46C0-8C23-C997906F0A1E}_is1
- Installationsmapp
- %ProgramFiles%\WindowTop
64-bitars · ZIP
Kräver ingen installation (portabel)
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
$url = 'https://github.com/WindowTop/WindowTop-App/releases/download/5.31/WindowTop.5.31.2.-.setup.exe'
$sha256 = 'D307E37A9151D9E4F3A7C8DD93247BC836985F06E71B9EEA6E9E85399E412CED'
$file = Join-Path $env:TEMP 'WindowTop.5.31.2.-.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