Missing Windows Installer cache requires a computer rebuild
This article discusses how to restore missing Windows Installer cache files.
Original product version: Windows 10 - all editions, Windows 7 Service Pack 1, Windows Server 2012 R2
Original KB number: 2667628
The Windows Installer Cache is used to store important files for applications that are installed by using Windows Installer. By default, this cache is located in the c:\windows\installer folder, and it should not be deleted. If the installer cache is compromised, you may not immediately see problems until you take an action such as uninstalling, repairing, or updating a product.
When a product is installed by using the Windows Installer, important files are stored in the Windows Installer cache that are required for uninstalling and updating applications. Missing files cannot be copied between computers because the files are unique.
Determine whether you are missing files
The Windows Installer Cache Verifier Package troubleshooter is integrated with the Microsoft Support Diagnostics service. This service can run an automated diagnostic analysis to determine solutions.
To run the troubleshooter, follow these steps:
Open the link to the Microsoft Support Diagnostics tool.
If you are prompted, sign in by using your Windows Live ID.
To create a new diagnostic session, select Windows Installer Cache Diagnostic from the list.
Enter a descriptive session name, then click Create.
You will use the name that you enter to view the analysis results later.
Follow the instructions to download and run the analysis package.
To view the analysis results, select Recent Sessions near the top of the page.
Click the Session Name that you created to view the results. A report is also available locally. (See the More information section.)
If application files are missing from the Windows Installer Cache, ask the vendor or support team for the application about the missing files. You must follow the procedures or steps recommended by the application vendor to restore the files. In some cases, you may have to rebuild the operating system and reinstall the application to fix the problem.
Windows support engineers cannot help you recover missing application files from the Windows Installer cache.
If the missing installer cache files are SQL Server files, see How to restore the missing Windows Installer cache files and resolve problems that occur during a SQL Server update.
If the missing installer cache files are Microsoft Office or SharePoint files, follow the instructions in the following topics on the Microsoft website:
Third-party recovery tools
Some third-party entities claim to be able to rebuild or repair the Windows Installer cache. For legal and supportability reasons, we cannot recommend or endorse any of these entities. If you use such third-party products and recommendations, you do this at your own risk. If you have backups for your system that were made before the file deletions, consider the following options:
- System Restore points (available only on client operating systems)
- Restoreable system state backup
- Failure recovery methods that can restore the full system state backup
- Reinstallation of the operating system and all applications
To restore the missing files, a full system state restoration is required. It is not possible to replace only the missing files from a previous backup.
Other error messages
Other error messages might be triggered by missing Windows Installer Cache files. Many of the following messages are SQL-specific and are not limited to this issue. These entries are logged in either the Setup or MSI Verbose log.
1612: The installation source for this product is not available. Verify that the source exists and that you can access it.
1620: This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.
1635: Unable to install Windows Installer MSP file
This update package could not be opened. Verify that the update package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer update package.
1636: Unable to install Windows Installer MSP file
1642: The upgrade cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade.
1706: The endpoint format is invalid.
1714: The older version of Microsoft SQL Server Native Client cannot be removed.
We strongly encourage you to download this package from the portal instead of reusing a portable copy. If you submit the results, the latest diagnostic rules will be used. This package is frequently updated.
The report is available immediately after you run this tool without submitting the results to Microsoft. The report is an XML file. It will be located in the user profile Temp folder in a path that resembles the following: