Kommandon för att installera Sling 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 HendrikVrey.Sling -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id HendrikVrey.Sling -e --silentwinget uninstall --id HendrikVrey.Sling -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Aktuell användare
Tyst installation
Sling-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
Sling-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\sling"- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7C4E1B2A-9F63-4D18-A5E7-2B90C6F4A831}_is1
ARM64 · EXE (Inno Setup) · Aktuell användare
Tyst installation
Sling-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
Sling-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\sling"- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7C4E1B2A-9F63-4D18-A5E7-2B90C6F4A831}_is1
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-sling.ps1
$url = 'https://github.com/HendrikVrey/Sling/releases/download/v1.1.0/Sling-Setup.exe'
$sha256 = '29B8F052A29174C1D8D96EBAC6418DF9B002A57B1653BB0D4215BAEB9467528C'
$file = Join-Path $env:TEMP 'Sling-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 install-sling.ps1
$url = 'https://github.com/HendrikVrey/Sling/releases/download/v1.1.0/Sling-Setup.exe'
$sha256 = '29B8F052A29174C1D8D96EBAC6418DF9B002A57B1653BB0D4215BAEB9467528C'
$file = Join-Path $env:TEMP 'Sling-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