健康,快乐,勇敢的宁帅!!

努力、努力、再努力! 没有什么能阻止我对知识的渴望。

 

You receive a "Setup has detected that another program requires the computer to reboot" error message when you try to install Visual Studio .NET or Visual Studio 2005

SYMPTOMS
When you try to install Microsoft Visual Studio .NET or Microsoft Visual Studio 2005, you may receive the following error message:
Setup has detected that another program requires the computer to reboot. You must reboot the computer before installing Visual Studio .NET Prerequisites. Once the system reboots, you need to restart setup. Click OK to reboot. Click Cancel to exit setup and install later.
CAUSE
When you run a Setup program to install any application, Setup may try to update some files that your operating system is currently using. For example, Setup may try to rename or to delete these files. If Setup cannot update these files, Setup sets the PendingFileRenameOperations registry entry to a non-empty value. You must manually restart your computer to update the files that your operating system was using during the installation process.
If you do not restart your computer, these files are not updated. If you then try to install another application (such as Visual Studio .NET), Microsoft Windows Installer determines that the PendingFileRenameOperations registry entry is not empty. Therefore, you receive the error message that appears in the "Symptoms" section of this article.
RESOLUTION
To resolve this problem, use any one of the following methods:
Restart your computer, and then run the Visual Studio .NET or Visual Studio 2005 Setup program.
• Run the Setup program that is included on the Windows Component Update CD instead of the Setup program that is included on Visual Studio .NET CD1 or Visual Studio 2005 CD1. After Windows Component Update has completed, run the Visual Studio .NET or Visual Studio 2005 Setup program that is included on CD1.
• Prevent your computer from restarting by removing registry information about packages that require your computer to restart. To do this, follow these steps.
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.
1. Manually rename the PendingFileRenameOperations registry entry. To do this, follow these steps:
a.  Click Start, and then click Run.
b.  In the Open box, type regedit, and then click OK to start Registry Editor.
c.  In Registry Editor, locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager
d.  Under Name in the right pane of Registry Editor, rename the PendingFileRenameOperations registry entry.
2. Verify that the following registry subkey is empty:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
3. Verify that the following registry subkey is empty:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
4. Quit Registry Editor, and then run the Visual Studio .NET or Visual Studio 2005 Setup program

posted on 2007-08-01 18:21 ningfangli 阅读(849) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理


导航

统计

公告

Dict.CN 在线词典, 英语学习, 在线翻译

常用链接

留言簿(4)

随笔档案

文章分类

文章档案

搜索

最新评论

阅读排行榜

评论排行榜