Kommandon för att installera Pixel Shell 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 ShineeKun.PixelShell -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ShineeKun.PixelShell -e --silentwinget uninstall --id ShineeKun.PixelShell -e --silentPer installationsfil
64-bitars · EXE (Inno Setup)
Tyst installation
pixel-shell-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
pixel-shell-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\pixel-shell"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-pixel-shell.ps1
$url = 'https://github.com/Khoa-Trinh/PixelShell/releases/download/1.1.0/pixel-shell-setup.exe'
$sha256 = '98FA57739D41BA1A752DAC7238CE47DBAC6F7BD25ECA2C7F3F852CC659AC172D'
$file = Join-Path $env:TEMP 'pixel-shell-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