Wednesday, June 20, 2012

Visual Studio SDK--You must have Microsoft Visual Studio 2010 SP1 installed

If you are attempting to install Visual Studio 2010 SP1 SDK, you may encounter the following error message even after insalling SP1:

Error Type: Microsoft.VisualStudio.Sdk.Setup.MissingPrerequisiteException
Error Message: You must have Microsoft Visual Studio 2010 SP1 installed on your computer before proceeding.


Well, as it turns out, this is isolated to a single registry flag.  For some reason, Visual Studio 2010 SP1 does not always set this registry key on systems, which subsequently causes the Visual Studio 2010 SP1 SDK installation to fail.

Since I was installing Visual Studio 2010 on Windows Server 2008 R2 (a 64-bit OS), I had to examine the following registry key path:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DevDiv\vs\Servicing\10.0\SP

Before SP1 is installed, this key is set at the value of 0. 



After looking at another installation where the installation of Visual Studio SP1 SDK actually worked, I discovered that this registry key needs to be set to a value of 1.



After changing the registry key to a value of 1 (using the Decimal value selection in RegEdit), I was able to successfully install the Visual Studio 2010 SP1 SDK!!  Hooray!

7 comments:

  1. great stuff, thanks for the help.

    ReplyDelete
  2. Hi,nice idea for Visual Studio SDK.Its worked well.Thanks.....

    -Aparna
    Theosoft

    ReplyDelete
  3. Thank you for this. I found plenty of advice regarding trying to install the previous SDK on systems where you have VS SP1 installed (and have to set the key to 0), but yours was the first I found regarding the case where you are installing the SP1 SDK and are getting the error message.
    Much appreciated!

    ReplyDelete
  4. HEY, It work exactly i am looking for...No need to uninstall visual studio to installed SP1 when Visual studio is already installed on the machine.
    Thanks....

    ReplyDelete
  5. This works for me! Thank you for the help!

    ReplyDelete