Thursday, August 20, 2009

Always Ask for Reboot when installing Visual Studio .NET

http://support.microsoft.com/kb/891402.

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


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 2005 or Visual Studio .NET again.

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

  1. Cancel the current installation.
  2. Insert the Visual Studio 2005 or 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 2005 or 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 2005 or Visual Studio .NET CD 1, and then install Visual Studio 2005 or Visual Studio .NET.

No comments: