Kommandon för att installera iSpotify 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 ISpotify.ISpotify -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ISpotify.ISpotify -e --silentwinget uninstall --id ISpotify.ISpotify -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Aktuell användare
Tyst installation
ISpotify-Setup-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
ISpotify-Setup-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ispotify"- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5C75B2C8-5E96-49A1-BD27-554098E48075}_is1
- DisplayVersion
- 18.0.0
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-ispotify.ps1
$url = 'https://github.com/itzlalpekhlua/ISpotify-Releases/releases/download/v18.0.0/ISpotify-Setup-x86_64.exe'
$sha256 = '3459CFF109C9556E152BFA81E86F8E32C39C83ECF45CEEDF7927CADD22E7E1E2'
$file = Join-Path $env:TEMP 'ISpotify-Setup-x86_64.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