Visual Studio 2010 Service Pack 1 installing for over 2 hours could be a sign of a problem
On average customers are experience ~45 minute installs for Visual Studio 2010 SP1. Based on machine performance, even seeing install times of a little over an hour isn’t unexpected. But if VS2010 SP1 is taking more than a couple hours to install, there could be a problem and in the case described below requires user action.
Description of the issue
If Visual Studio 2010 SP1 is taking more than a couple of hours to install, it may be stuck in a loop waiting for the user to cancel the current operation. To determine if this is the case,
- Click on the Start menu and click Run.
- Type “cmd.exe” (without quotes) and click OK.
- In the command prompt, type “cd %TEMP%” and press Enter.
- Type “dir HFI*.tmp.html” and press Enter.
- If a file was found, type “start filename” with the file name from step 4 and press Enter.
- Search the file for the text, “WM_ACTIVATEAPP: Focus stealer’s windows WAS visible, NOT taking back focus”.
If you find that text in the temporary log file, please see the workaround below.
If the temporary log file was not found or you do not see this text, perhaps wait a while longer or reply below with the last few lines of the log file.
How to work around this issue
If you find the text in the steps above,
- Click the Cancel button. This may take a short time and then SP1 will rollback.
- After rollback completes, reboot your machine.
- After logging in, install Visual Studio 2010 SP1 again.
If the workaround does not work, please comment below or through various other support options described here.