Ordres per instal·lar iSpotify sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 instal·lador
64 bits · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
ISpotify-Setup-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
ISpotify-Setup-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ispotify"- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5C75B2C8-5E96-49A1-BD27-554098E48075}_is1
- DisplayVersion
- 18.0.0
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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