When installing a new application, users may find an error message that says “1152: Error extracting to the temporary location”. This error prevents the installation of new applications and thus can become very annoying for the users. Here I will discuss how to solve the “1152: Error extracting to the temporary location” error.
Why Am I Seeing This Error?
During installation, some configuration files are copied to the temporary location called the Temp folder. These configuration files (.tmp extension) temporarily hold data on your computer while you are using specific software.
If the temp folder already holds some corrupt data, new data won’t be copied properly to your device. This is probably why you may be seeing the error. You are more likely to see this error file after a failed installation of the target application.
An incorrect download or corrupt download file may also lead to you facing this error on your system.
How To Fix “1152: Error Extracting To The Temporary Location”
There are potentially two things that you can do to solve this issue. You either need to change the installation file or clean the temp folder. Here I will discuss how to apply these fixes.
FIX 1: Change Installation File
The installer file, if corrupt, can lead to files not being parsed properly and hence you may be facing this error.
- Download the installer file for the application once again, from a different source if possible.
- Ask the person hosting the file to upload it once again, or send it to you again.
These are the two immediate fixes that you can apply to obtain clean installation files for your software. If changing the installer file does nothing, here is another method that you can deploy to clean the temporary files.
FIX 2: Clean Temporary Folder
If changing the installer file does not solve your issue, you can try cleaning the temporary folder that holds the temporary files during installation. To clean this folder, follow these steps:
- Open a Run dialog by pressing Win + R.
- Type %localappdata% and press Enter to open the C:\Users\<username>\AppData\Local folder
3. Here, create a new folder named Temp2.
4. Rename the Temp folder to Tempold. Create the new Temp2 folder in the same location.
5. Press Win + R to open the Run
6. Type control panel to open the Control panel.
7. Here, click on System => Advanced system settings.
8. Under the Advanced tab, click on Environment Variables.
9. Under User Variables for <username>, click on Edit to change the value for Temp and TMP to the following data:
%USERPROFILE%\AppData\Local\Temp2
10. Restart your device.
Cleaning the temp files will remove any bad/ corrupt installation files from your system and will let you install the app fresh again.
Fix 3: Run Disk Cleanup
If you don’t want the hassle of cleaning files manually, you can use the built-in tool provided by Microsoft to clean your system and get rid of unnecessary files.
To clear cache using disk clean up, follow these steps:
- In the search box on the taskbar, type disk cleanup, and select Disk Cleanup from the list of results.
- Select the drive you want to clean up, and then select OK.
Alternatively, you can open a Run dialog and type cleanmgr and press Enter to directly open Disk Cleanup.
3. Under Files to delete, select the file types to get rid of. To get a description of the file type, select it.
If you still need more space, you can select the box next to Clean up system files.
4. Select OK. Repeat this for all the drives that you want to clean.
Note: After running a disk cleanup, if you see the temp folder filling up quickly, follow this:
Select Start >Settings > Update & Security > Troubleshoot. Then scroll down and select Windows Store Apps from the list and select Run the troubleshooter.
Wrapping Up
The “1152: Error extracting to the temporary location” error prevents users from installing the desired application on their system. Using this post now you know how to solve it by following the methods given above. Comment below if you found this useful, and to discuss further the same.
Behailu says
Problem solved thanks