天生舞男

我喜欢谦虚的学习各种...,希望自己能坚持一辈子,因为即使一张卫生巾也是有它的作用.
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

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

SYMPTOMS

When you install Microsoft Visual Studio .NET, you may receive a message that is similar to the following message during the installation of the Prerequisites components:
Setup has detected that another program requires the computer to reboot.
You may receive this message even after you restart your computer one or more times.
 

CAUSE

You receive this message if the current configuration causes Microsoft Windows to determine that a restart is required.
 

RESOLUTION

To resolve this issue, use one of the following methods.
 

Method 1: Modify the Windows Registry

1. Click Start, click Run, type regedit, and then click OK.
2. Locate and then click the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager
3. In the right pane, right-click PendingFileRenameOperations, and then click Delete.

Note If the PendingFileRenameOperations value does not exist, exit Registry Editor, and then use method 2.
4. Exit Registry Editor. Then, try to install Visual Studio .NET again.
 

Method 2: Install the Prerequisites components from the Visual Studio .NET CD

1. Cancel the current installation.
2. Insert the Visual Studio .NET Prerequisites CD into your CD drive.
3. Click Start, click Run, type drive:\setup.exe, and then click OK.

In this step, drive is the letter of your CD drive.
4. Click No when you receive the following message:
Visual Studio .NET Prerequisites Warning - Setup on CD1 should be used to launch Visual Studio .NET Prerequisites setup so that only the necessary components are installed. Click Yes to exit and change CDs. Click No to install all available components.
5. After the installation of the Prerequisites components is complete, insert Visual Studio .NET CD 1, and then install Visual Studio .NET.