Spotify is one of the best audio streaming platforms available right now. Although not available in all countries, its user base is incredibly high. The desktop version of Spotify is known for its sleek design and easy-to-use environment.. One of them is the error code 13 that appears when you install the application on your system. For most users, the error appeared after starting an update which in the process messed up the installation and they were forced to reinstall the app.
The error code is accompanied by an error message that says $ 0027 The installer cannot install Spotify because the necessary files could not be created $ 0027. This can be due to a variety of things, including a compatibility mode issue or third-party app interference. We will look at it in detail in this article and also provide solutions that have worked for other users.
What causes the error code 13 during Spotify installation?
As we know, the error code 13 appears when trying to install the Spotify application therefore this may be due to the following reasons:
-
Third party apps: the problem may be due to third-party service interference in the installation process. This includes your antivirus software or anything else that is interfering with the software and preventing it from installing properly..
-
Compatibility issues: in some cases, the problem may be due to certain compatibility issues in the setup file you downloaded. In this case, you will need to change the compatibility mode to a different one.
-
Old Spotify folders: sometimes, the problem may also be due to old Spotify folders left after uninstalling the app. These files are stored in the AppData folder and you will need to delete them manually.
With that out of the way, Let's see the solutions you can implement to solve your problem. Remember, some of them may not work for you, so be sure to try them all; they're worth it.
Solution 1: disable third-party antivirus
Your system's antivirus software scans all processes on your system to make sure it is safe from adware and malware. However, in the process, sometimes it can interfere with some processes that have nothing to do with malware. Such is the case of the Spotify installer, your antivirus may try to interrupt the installation process for security reasons and end up messing it up. Therefore, We recommend that you turn off your antivirus after receiving the error message before running the installer again. Some users have reported that Avast antivirus software has caused them the problem and that the installation was completed successfully after they temporarily disabled it.
Solution 2: change compatibility mode
In some cases, the installer you downloaded may have compatibility issues due to the installation not completing. In that case, you will need to change the compatibility mode of the installer before running it again. Here's how to do it:
-
Navigate to the directory where you downloaded the Spotify installer.
-
Right-click on the .exe file and then click Properties.
-
Then switch to the Compatibility tab.
-
If you are using Windows 10, click on $ 0027 Run the compatibility troubleshooter $ 0027.
-
If you don't see this option in the compatibility tab, just check the option $ 0027 Run this program in compatibility mode by $ 0027 and then choose Windows XP (Service Pack 3) of the list.
-
Finally, close the properties window and run the installer again.
Solution 3: delete old Spotify folders
When an application is uninstalled from your system, some files and folders remain even after uninstall is complete. These folders are located in the AppData directory, which is hidden by default in Windows. You will have to access the folders manually and then delete them. Here's how to do it:
-
Open File Explorer.
-
Make sure you know how to access the AppData folder found on the system partition. If you are not sure, refer to this guide to access the folder.
-
Later, you just have to navigate to the following directories one by one:
-
C:N-UsersN[Username]N-Data Application / LocalN-Spotify
-
C:N-UsersN[Username]NAppDataNRoamingN-Spotify
-
Delete the Spotify folders in both directories and then try running the installer.
Solution 4: start Windows in safe mode
If none of the above solutions works for you, there is a possibility that a background service is involved in the installation process, in addition to your antivirus software. In that case, you will need to start the system in safe mode. This will start only the essential services needed to start the system. The rest will stop. Once you boot into Safe Mode, run the installer again and see if the problem is resolved.
See this guide posted on our website that explains how to start Windows 10 in safe mode in quite a bit of detail. If you are using Windows 8, refer to this guide instead.