Vs2003使用时出现这个问题,正在郁闷中,网上找了好久,居然看到同样问题,马上拷贝来:)开心中

出处:http://aowind.cnblogs.com/archive/2005/05/18/157913.html
偶的VS.net原来用的好好的,现在不知怎么搞的,打开使用时出现如下错误:“找不到一个或多个组件。请重新安装该应用程序。”

偶从控制面板维护时选择“添加或移除功能”时又提示出现:对安装文件进行安装时遇到问题。取消安装。
查看错误日志为:
[04/27/04,07:34:02] setup.exe: [0] CreateDirectoryLayout problems creating sub directory: Logs
[04/27/04,07:34:02] setup.exe: [2] InstallSetupFiles : CreateDirectoryLayout failed
[04/27/04,07:35:07] setup.exe: [2] ISetupManager::InstallSetupFiles() failed in ISetupManager::RunInstallLists
[04/27/04,07:35:07] setup.exe: [2] ISetupManager::RunInstallFromThread() failed in ISetupManager::RunInstall()

点击“修复/重新安装”时,又出现错误:错误 1606\2052。未能访问网络位置,重试几次都不行,查看日志为如下:
[04/27/04,07:14:05] Visual Studio .NET Enterprise Architect 2003 - CHS: [2] ERROR: 错误 1606。未能访问网络位置 \2052。
[04/27/04,07:14:06] Visual Studio .NET Enterprise Architect 2003 - CHS: [2] ERROR: 错误 1606。未能访问网络位置 \2052。
[04/27/04,07:14:07] Visual Studio .NET Enterprise Architect 2003 - CHS: [2] ERROR: 错误 1606。未能访问网络位置 \2052。
[04/27/04,07:14:09] Visual Studio .NET Enterprise Architect 2003 - CHS: [2] ERROR: 错误 1606。未能访问网络位置 \2052。
[04/27/04,07:14:10] Visual Studio .NET Enterprise Architect 2003 - CHS: [2] ERROR: 错误 1606。未能访问网络位置 \2052。
[04/27/04,07:14:12] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper()
[04/27/04,07:14:12] setup.exe: [2] Component error string not specified in ISetupManager::AddToActionResultCollection()

点取消后出现

安装失败

安装过程中有错误。

查看错误日志
查看安装日志
查看自述文件


请问大家遇到过这个问题没


回答:
使用regedit32.exe打开系统注册表,查找项目:
HKEY_CLASSES_ROOT\Installer\Products
一项一项的选中其下的所有子项目,查看右边的“Product Name”,找到Product Name为“Visual Studio .NET Enterprise Architect 2003 ……”的项目。
(在俺的机器上是:HKEY_CLASSES_ROOT\Installer\Products\4080F50F71584654188F76230D82B175)
删除,重新安装。
如果还不行,就删除HKEY_CLASSES_ROOT\Installer\Products下所有Product Name跟.net有关的项,然后重装。 
  
原文地址:https://www.cnblogs.com/liangqihui/p/370879.html