I was getting the following installation errors while attempting to install Java on a client’s laptop.
Error 1334. The file ‘patchjre.exe’ cannot be installed because the file cannot be found in cabinet file ‘Data1.cab’.
Error 1723. There is a problem with this Windows installer package.
Both errors can occur while installing Java and similar errors can occur while installing or uninstalling any other software. This is caused by an error during the uninstall process which corrupts the registry.
Microsoft has a very nice tool for fixing installation problems which is part of its Fix it Center Online (currently in Beta).
To fix this error go to http://support.microsoft.com/mats/Program_Install_and_Uninstall
- Run the application
- Select option “Recommended (find and fix)”
- Select Uninstall Program
- Select program from list and click next
If you have more than one programme giving you trouble, run this same procedure for each one of them.