Spotify installer - error 24

Reply
Highlighted

Spotify installer - error 24

Frask80
Casual Listener

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!

13 Replies
Highlighted

Re: Spotify installer - error 24

Rock Star 16
Rock Star 16

Hey @Frask80

 

Have you tried reinstalling Spotify? Maybe something simply went wrong with the updating process.

You can also try this offline installer: click here.

 

Since Spotify installs itself into appdata, are you sure you can access that with the domain user?

 

Let me know 🙂

SebastyRock Star 16
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.
Highlighted

Re: Spotify installer - error 24

Frask80
Casual Listener

Hi Sebasty,

thanks for the reply.

I tried to uninstall Spotify and clean the folders in AppData\Local and AppData\Roaming and then reinstall with the full installer but it still doesn't work.

 

What I know about the domain's policies is that I can't install from the temp folder in appData. I can only do it with a local admin.

 

 

Highlighted

Re: Spotify installer - error 24

Valyk
Casual Listener

Hello,

I have the same issue.

Our IT have a policy that no executable can be started from the AppData folder.

I used to manually copy the installed Spotify files from AppData to Program Files, but it's no longer working with the last version. I only get the Error 24 during the installation process and I can no longer start Spotify...

Spotify should let us choose the installation folder, running executables from AppData is a very bad practice...

Thanks

 

Highlighted

Re: Spotify installer - error 24

Frask80
Casual Listener

I solved the problem right now, I just copied the content of the folder

c:\users\<local.admin>\AppData\Roaming\Spotify

in

C:\Program Files (x86)\Spotify

 

Now it works!

Highlighted

Re: Spotify installer - error 24

Tullbooth
Casual Listener

It worked yesterday, but today it does not.  Error 24 is back! =(

Highlighted

Re: Spotify installer - error 24

Valyk
Casual Listener

Hi again,

 

This should do the trick:

  1. Go to the APPDATA\Local\Spotify folder
  2. There will be a folder named Update
  3. Copy it elsewhere
  4. Change the content of the .json file to set the new path. Don't forget to use "\\" instead of "\" to separate folders.

  5. Run the installer executable containg inside
  6. The new Spotify version will be installed (in APPDATA/roaming)
  7. Copy the new Spotify files to Program Files
  8. It should now work again...

Good luck!

Highlighted

Re: Spotify installer - error 24

Tullbooth
Casual Listener
Thank you for the tip. The good news is Error 24 is gone. Bad news is I
now have Error 13 and there is no Spotify in Appdata/Roaming. Other
suggestions? I do have admin access, although I did not run as
administrator (it didn't like that).
Highlighted

Re: Spotify installer - error 24

angust63
Music Fan

Same issues here on Win 7 Pro from within a work domain.

 

Group policy prevents .exe from launching from AppData folder so I run Spotify from a different folder under my User account.

 

I removed the Update folder and created Domain User security rights for the Spotify folder and the app launched OK. Went to About Spotify and it advised that an update was available. I should have left everything alone but I clicked on Update. Now I get the Spotify installer - error 24 after being asked to restart the application.

 

UPDATE:

 

The version I was running  was 1.0.93.244.g1e3a05e7

I logged in as an Admin and looked in my C:\Users\{USER}\AppData\Local\Spotify\Update\ folder and saw the update install file. I launched the Updater .exe and it completed without any problems.

 

I then went to C:\Users\{ADMIN}\AppData\Roaming\Spotify\ (while still logged in as an Administrator) and copied the content of this folder over to my Domain User install location (outside of AppData) so, in my case C:\Spotify\. I overwrote all necessary files and folders and logged back in as my Domain User account. Spotify lauched without a problem and I now I have updated Version 1.0.94.262.g3d5c231c running.

I'm not sure why the update went to the AppData\Local\ folder instead of AppData\Roaming folder unless it's because I launched the update from within the App while logged in as a Domain User.

 

 

 

 

Highlighted

Re: Spotify installer - error 24

angust63
Music Fan

Update 1.0.95.289.g342899da tried to install today and failed. "Spotify installer - error 24" showed up again.

 

I tried launching the Update .exe file from  C:\Users\{USER}\AppData\Local\Spotify\Update\ but the update would not launch.

 

I moved the Update folder to different locations outside of APPDATA folder and the it would not launch either.

 

I logged into my PC as an Admin and Spotify launched normally and showed it was running 1.0.95.289.g342899da

 

Regardless, I ran the Upgrade .exe as Admin and then copied over the files from C:\Users\{ADMIN}\AppData\Roaming\Spotify\ to my C:\Spotify\ folder and logged back in under my regular user account. Spotify launched successfully and shows Version 1.0.95.289.g342899da as the current build.

 

SUGGESTED POSTS