master131 / BlockTheSpot

Video, audio & banner adblock/skip for Spotify. This project has been superceded by SpotX: https://github.com/SpotX-CLI/SpotX-Win
MIT License
1.33k stars 874 forks source link

Installation/updates force microsoft store version #18

Closed Cybercorvid closed 5 years ago

Cybercorvid commented 5 years ago

Unless doing something completely wrong, even when downloading the offline method for spotify, the user gets the microsoft store version. It being placed within WindowsApps does not allow anything to view or edit files within the folder. Allowing it to run untouched.

raven0034 commented 5 years ago

I can't say I ever seen this issue. I'm using Windows 10 and when using the normal desktop version (ie exe version not appx), any auto-updates come in .exe form, and Microsoft Store does not even recognise the exe version even being present, so I'm not entirely sure how you've come across this issue.

Cybercorvid commented 5 years ago

I'm not sure it's necessarily the microsoft version, but the installer believes it is because the spotify program is only downloaded in the windowsApps folder. If you have any ideas I am open to hearing.

master131 commented 5 years ago

Have you read through issue #6? Specifically the last 3 comments.

jakey1995abc commented 5 years ago

I have a feeling Microsoft sometimes installs Spotify (app store version) automatically when you fresh install Windows. And until you manually uninstall the app store version, the .exe version will not install correctly. This was the case for me a few days ago when I reinstalled Windows 10.

Cybercorvid commented 5 years ago

This seemed to solve the problem.
The download was always being placed into the WindowsApps folder not allowing the administrator to view or edit anything. Uninstalling spotify and trying to re-download the program never seemed to help, even when troubleshooting the program and then choosing the "Windows 7 version".

Previously I had uninstalled the microsoft store using powershell, although I do not know whether or not this actually helps.

If you do what is explained here for the folder named WindowsApps in the Program Files folder to give yourself access to everything inside, you will then be able to edit the files containing spotify.

After doing that (keeping spotify closed the entire time) I moved everything in there into a new folder that I named "spotify" in the Program Files folder, and deleted the entire folder within WindowsApps. Then manually adding the netutils.dll file into the spotify folder I created, and running spotify. This solved the problem and now master131's program now works.

Edit: I forgot to mention that I did delete the "migrator" file (I believe that is what it was called) before moving all the files over to the new folder.

Cybercorvid commented 5 years ago

Also, @master131, I did read through issue #6 but had a problem while booting in safe mode. My system is still on wifi, and safe mode only allowed Ethernet, so I was unable to re-download spotify.

master131 commented 5 years ago

@Cybercorvid I'm glad you managed to get it to work eventually. I created a downgrade script (on the main page) which may help out users facing the migration scenario from Spotify. If you could try it out and see if it works for you as well that would be great as I can't reproduce the issue on my end.

7evenlxrd commented 5 years ago

BlockTheSpot by master131 on Microsoft Store Edition? YES! I found this way alone. By 7evenlxrd ;)

Requiments:

  1. netutils.dll (this is BlockTheSpot)
  2. You need Ubuntu (installed on disk or live cd/usb doesn't matters). Steps:
  3. Run Ubuntu
  4. Run File Explorer (in ubuntu), click on Other Locations then click on your disk with Windows 10.
  5. Go to where is a BlockTheSpot (netutils.dll) and copy this
  6. Go to Program Files, double click WindowsApps.
  7. Find a Spotify folder (SpotifyAB.SpotifyMusic_ and something)
  8. Go to Properties, Permissons and give all permissions (create and delete files)
  9. Paste BlockTheSpot (netutils.dll) to Spotify folder.
  10. Restart to Windows 10. Enjoy ;)

Links: Ubuntu: https://www.ubuntu.com/download/desktop UUI (to make live usb): https://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/ BlockTheSpot: https://github.com/master131/BlockTheSpot