Windows Vista - http://www.vistaarticles.com
Repair Windows XP with Internet Explorer 7
http://www.vistaarticles.com/articles/100/1/Repair-Windows-XP-with-Internet-Explorer-7
By 
Published on 11/23/2006
 
Explains how to correct an issue that occurs if you run a repair installation of Windows XP before you first uninstall Internet Explorer 7. In this scenario, Internet Explorer 7 no longer works.

Repair Windows XP with Internet Explorer 7

Verify the version of Windows XP that is installed on the computer
1. Click Start, click Run, type Winver.exe in the Open box, and then click OK. 
2. In the About Windows dialog box, verify the version of Windows XP that is installed on the computer.

If Windows XP Service Pack 2 (SP2) is installed on the computer
If Windows XP SP2 is installed on the computer, uninstall Internet Explorer 7. To do this, follow these steps: 1. Click Start, click Run, type appwiz.cpl in the Open box, and then click OK.
2. In the Currently installed programs list, click Internet Explorer 7, and then click Remove.
If Internet Explorer is not listed in the Currently installed programs list, follow these steps: 1. Restart the computer in the Recovery Console. For more information about how to use the Recovery Console, click the following article number to view the article in the Microsoft Knowledge Base:
307654 (http://support.microsoft.com/kb/307654/) How to install and use the Recovery Console in Windows XP 
2. Type the following commands.

Note Press ENTER after each command.
CD ie7\spuninst
batch Spuninst.txt

If Windows XP SP2 is not installed on the computer
If Windows XP SP2 is not installed on the computer, uninstall Internet Explorer 7. To do this, follow these steps: 1. Click Start, click Run, type appwiz.cpl in the Open box, and then click OK.
2. In the Currently installed programs list, click Internet Explorer 7, and then click Remove.
If Internet Explorer is not listed in the Currently installed programs list, follow these steps: 1. Open a command prompt.
2. Type the following commands.

Note Press ENTER after each command.
cd \Windows\ie7\Spuninst
batch Spuninst.txt
Note ie7 is a hidden folder.
If Internet Explorer 7 cannot be uninstalled, but if the Windows\ie7\Spuninst folder exists, uninstall Internet Explorer 7 in the Recovery Console. To do this, follow these steps: 1. Restart the computer in the Recovery Console. For more information about how to use the Recovery Console, click the following article number to view the article in the Microsoft Knowledge Base:
307654 (http://support.microsoft.com/kb/307654/) How to install and use the Recovery Console in Windows XP 
2. Type the following commands.

Note Press ENTER after each command.
CD ie7\spuninst
batch Spuninst.txt

Reinstall Internet Explorer 7
When Windows XP has been repaired and is running correctly, reinstall Internet Explorer 7. To reinstall Internet Explorer 7, you must have the Internet Explorer 7 installation package. This installation package may still be on the computer from the first time that you installed Internet Explorer 7. Locate the installation package in the folder in which you saved the files.