Today I am going to address a common issue i’ve seen people having trouble resolving on various computer repair related forums. Everytime you try to install Java you get a message that says “Java Installation Failed The wizard was interrupted before Java 7 Update ## could be completely installed. To complete installation at another time, please run setup again.”
When you see this message it’s because some left over traces of a java installation are still in the system. It may not actually be a java element but could be a windows installer element as well. So if you already tried a java uninstallation through add/remote programs as well as http://sourceforge.net/projects/javara/ then the next step to take is to check for an issue with the windows installer.
I don’t usually have a lot of success with microsofts fixit for windows installer (honestly what exactly do we even call it these days, the thingy that replaced windows installer cleanup utility!) but in this particular case I successfully used it to resolve the java installation issue and was able to install java immediately after. The location of this microsoft fixit can be found at: http://support.microsoft.com/mats/Program_Install_and_Uninstall.
So once you launch the software accept the terms and then click “Detect problems and let me select the fixes to apply” on the next prompt it will ask you “Are you having a problem installing or uninstalling a program?” select Installing. Later it will prompt you to select which program you are having trouble attempting to install at that point try to find java in the list. If you can not find java in the list you may want to try cancelling out and selecting the detect problems automatically option.