Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry
When you try to install Microsoft Visual Studio 2005, Microsoft Visual Studio .NET 2003, Visual Studio .NET 2002, Microsoft Visual FoxPro 9.0, Visual FoxPro 8.0, or Visual FoxPro for Windows 7.0, an installation program for a different product starts unexpectedly when you choose Step 1 or Step 2 of the installation process.
This problem occurs because an earlier installation of Microsoft Windows XP Service Pack 2 (SP2) has left an inappropriate registry entry in the following registry key:
To work around this problem, use one of the following methods.
Locate and then rename the installation program that starts instead of the installation program for the prerequisite product. Then, try to install the prerequisite product again.
Note You can use a utility such as Sysinternals FileMon (Filemon.exe) to detect the location of the Setup.exe file for the installation program that starts instead of the installation program for the prerequisite product. To obtain FileMon, visit the following Sysinternals Freeware Web site:
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
Delete the default data for the following registry key:
In the right pane, right-click (Default), and then click Modify.
If there is a value in the Value data box, delete the contents of the Value data box, and then click OK.
On the File menu, click Exit to quit Registry Editor.
Then, try to install the prerequisite product again.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
319714 How to troubleshoot Visual Studio .NET installation
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.