Spotify ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id Spotify.Spotify -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Spotify.Spotify -e --silentwinget uninstall --id Spotify.Spotify -e --silentInstaller အလိုက်
64-bit · EXE · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
SpotifyFullSetupX64.exe /silent /skip-app-launch- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Spotify
ARM64 · EXE · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
SpotifyFullSetupARM64.exe /silent /skip-app-launch- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Spotify
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-spotify.ps1
$url = 'https://download.scdn.co/SpotifyFullSetupX64.exe'
$sha256 = '0F206D72C93D3758C181293E81BE27B9D5069E11FE24F47DF1620C09C889B10A'
$file = Join-Path $env:TEMP 'SpotifyFullSetupX64.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 '/silent /skip-app-launch' -Wait install-spotify.ps1
$url = 'https://download.scdn.co/SpotifyFullSetupARM64.exe'
$sha256 = 'FF4A47CC9F5135FB17D8A0723EA32EE7B713E2B4B4D65DAEC211C5523EFBC609'
$file = Join-Path $env:TEMP 'SpotifyFullSetupARM64.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 '/silent /skip-app-launch' -Wait