Has anyone encountered the uninstall command switch for SpotifySetup.exe or any other method to unattendely uninstall Spotifiy?
When i use /uninstall the uninstallation starts, nevertheless a dialog asks the user "Are you sure you want to uninstall Spotify?"
Switches like "/qu" ; "/quninstall" ; "/uninstall /yes" don't work. Im trying to uninstall it silently, so the user doesn't even see a message.
So far, at least, I was able to copy the SpWebInst0.exe from %appdata%\Spotify although does not solve my problem yet.
Thank you for your appreciated help.
Answer Chosen by the Author
"C:\Users\Admin\AppData\Roaming\Spotify\Spotify.exe" /UNINSTALL /SILENT
If you want an easy installation/deinstallation, then use the Offline Installer with following parameters to install:
SpotifyFullSetup.exe /PROGRAM_FILES /SILENT
This install spotify in C:\Program Files(x86)\Spotify
Thats usually much better. Better to install/uninstall as local system in an evironment with e.g SCCM.
And then uninstall:
"C:\Program Files (x86)\Spotify\Spotify.exe" /UNINSTALL /SILENT
Community Chosen Answer
This is the best I could locate, a Powershell Script:
Very well documented.