Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Spotify installer - error code: 24

Spotify installer - error code: 24

Plan

Premium

Country

Italy 

Device

PC

Operating System

Windows 7 Pro

 

My Question or Issue

My computer is in a work domain and my domain user can't install from the temp directory so I updated Spotify with a local administator to version 1.0.94.262 (until now it has always worked).

With this user everything seems to works fine, I can open the app and listen to the music.

Then I logged in with my domain user and everytime I launch Spotify i get the error "24 - Installer encountered an unknown error"".

What can I do to resolve the problem?

Thanks!

Reply
44 Replies

I ran a registry cleaner and it fixed my problems.

As with so many Spotify issues, the community solutions are half baked, tecchie suggestions that cause more poblems than they resolve. The 'error 24 problem is a case in point. Fortunatly, the flaw in the software hasn't caused too many problems...YET. Poor support, spotify, be more like Sonos.

For the record, I am still getting this error message when I try to update. I have to go into Appdata/Local/Spotify and kill the Update folder. Did not pursue it further. Not sure if it is permissions, bug, etc. Seems to be an ongoing problem for some of us.

I know this is a really old post but I think many people likely run into this problem.  As long as you've already got Spotify working in a different folder from users\user_name\Appdata\roaming, the updates always fail.  The fix outline in here works, but it breaks the Spotify buttons for me (they appear as rectangles). 

 

A slightly easier fix is to do the following (assuming you've already installed Spotify somehwere else on your machine):

1. When Spotify tries to update and gives the Error 24 message, go to C:\Users\User_Name\AppData\Local\Spotify\Update

2. You will see a folder call Spotify-update followed by a version number and some random characters.  Go in this folder.  It actuall contains the updated install of Spotify.  Copy all the contents

3. Paste the contents into the folder where you have Spotify installed.  For me, it's c:\users\user_name\Spotify.  You might have it elsewhere.  Let Windows overwrite all existing files

 

This works for me, no editing any files required, and it fixed my missing button graphics issue.

I was having the same problem, but I think I fixed it.

 

Try going to the Spotify website and simply download the program again. My system filled in the gaps for the update and it is now working properly. 

Just wanted to add that I'm still having this problem between windows and spotify. I've succumbed to simply using the webplayer in it's place.

ohhh you made my day thank you so much !

If you move the Spotify folder anywhere other than %APPDATA%, Spotify installer will give you an error after each update on Windows startup. Each time you have to reinstall the program and then move the folder again. 

 

I simply need Spotify folder out of my main drive because it is a small SSD and I use it for Windows only, everything else goes onto a large HDD. It is incredibly pointless that Spotify doesn't allow us to choose an installation directory. I expect more from a big professional software company. 

I was able to resolve using the great instructions provided earlier, so thank you Tumleren for those.

 

However @spotify please can you do a proper fix for this? I have to do that workaround on one of my machines, manually, every single time you update the client. It's getting old now.

 

Wow. "Reinstall" Spotify? You think that no one tries that? Also, you have missed out on all the posts, before yours, on admin access and the "Appdata" folder. I have admin access to my machine and I still get the same error codes.. The default to "Roaming/Appdata" is an issue. You can copy and paste the "Spotify" folder to other parts of the directory and get it to run. Spotify works for a while and then suddenly uninstalls itself and then the error codes reappear. Repeatedly, I have to use the "fullsetup.exe" and then go through the motions of relocating the "Spotify" folder." Have Spotify work and then uninstall and then error codes, wash, rinse, repeat. It's maddening. Spotify simply doesn't care about the desktop app for PC's. The optimal solution, for me, has been to download it from the Microsoft store. It stays installed but you get that box that says something like, "not all application data" backed up or loaded. So, when Spotify runs, it runs well, generally, but with odd little things (like an imperfect sync between what's playing and what's showing in the desktop app).

The most convenient solution for me was to manually execute the spotify-installer contained in the update folder, which installed the update.

 

So far It works, lets wait for the next update and see if it breaks again... fingers crossed!

....the method did not survive a reboot.

I have tried posting this three times now, and each time the system tells me there was an error. So let's do this another way.

 

I have posted a batch file that will allow you to update spotify relatively easily here:

https://pastebin.com/nVbQB6Hu

 

To use:

Edit the localspotifyrundir assignment to your desired directory. I just use c:\users\myusername\Spotify.

 

Save the file as updatespotify.bat and run it. When the Error 53 pops up, hit cancel. When you get "Spotify could not be started", hit OK.

 

When the batch file completes, there will be an installation of Spotify in the directory you have designated, and you can run it from there.

 

It's idiotic that Spotify installs anywhere but under one of the Program Files directories, but this at least helps you get around it fairly easily.

Thanks!!!!!!!!!!!!!!!!!!!!!!

Good grief why is it that when I try to post ANYTHING here I get these stupid errors . . .

 

Anyway. Today I found out that if you change the parameter for the priority switch on the bitsadmin line in that batch file to "high" rather than "normal" it runs a LOT faster.

 

I posted on this at the link below. I made a batch file that makes these updates much easier.

 

https://community.spotify.com/t5/Desktop-Windows/Error-24-when-installing-update/m-p/5072642/highlig...

Boy these forums are bad. Second try . . .

 

This morning I had to update my UpdateSpotify batch file to explicitly delete the installer that Spotify downloads, or it would continue to try to execute it. The updated batch file can be found here:

 

https://pastebin.com/rwJs1sQu

 

You can "fix" this each time you encounter this error by deleting (or renaming) the "Spotify" folder in "C:\Users\rdwen\AppData\Local\"

I have fixed it! what you need to do is run the Spotify installer once again!

 

Screenshot 2021-10-04 105248.png
Screenshot 2021-10-04 105321.png
Screenshot 2021-10-04 105321-1.png

SpotifySetup.exe doesn't come up as an app when I try that, and in any event I doubt that re-running it would fix the issue that this thread is talking about, which is that Spotify installs in a location that many people have blocked for program execution. My batch file handles it properly.

I would love to use it but unfortunately I don't understand a thing... Besides, I'm on my work laptop so for example I can't even use bitsadmin.

Suggested posts

Type a product name

Did you find this article helpful?