Yesterday I was installing newly released Visual Studio 2010 RTM on my Windows 7 running PC and Setup encountered the error while installing SQL Server 2008 Express Service Pack 1.

Actually I was using pre-release version of Visual Studio 2010 (RC) and uninstalled before prior to install retail release (RTM) of Visual Studio 2010 as instructed. Everything went fine except Visual Studio 2010 RTM Setup that logged the error in log file.

[04/13/10,10:00:09] Microsoft SQL Server 2008 Express Service Pack 1 (x64): [2] Error code 2064843076 for this component is not recognized.
[04/13/10,10:00:09] Microsoft SQL Server 2008 Express Service Pack 1 (x64): [2] Component Microsoft SQL Server 2008 Express Service Pack 1 (x64) returned an unexpected value.

Then I tried to install SQL Server 2008 Express manually (out of Visual Studio setup) to know the exact error message and it was-

MsiGetProductInfo failed to retireve ProductVersion for package with Product Code = ‘{AA4A4B2C-0465-3CF8-BA76-27A024D8ACAB}’. Error code: 1605

The GUID {AA4A4B2C-0465-3CF8-BA76-27A024D8ACAB} may different on different machines

SQL Server Setup Error Code 1605

After observing few aspects, I got the solution and would like to share it with you. To fix the error, you need to follow these simple steps.

How To:

1. Run Registry Editor (type regedit in Start Search or Run dialog box and press enter) and navigate to- HKEY_CLASSES_ROOT\Installer\UpgradeCodes

2. Take the first part of GUID and reverse it, in my case it is AA4A4B2C and its reverse string is C2B4A4AA. Now search for C2B4A4AA and you’ll get a match than delete the its parent subkey (it will be a kind of GUID without braces).

Deleting Registry Subkey

3. Now run the Setup again, it will go smoothly without any hassle.

Applies To:

  • SQL Server 2008
  • SQL Server 2008 Express

53 responses to “FIX: SQL Server Setup has encountered the error code: 1605”

  1. Sivakumar Avatar
    Sivakumar

    thank u so much!!!!!

  2. Ady Avatar
    Ady

    Thank you very much!!

  3. Vincent Avatar
    Vincent

    “you’ll get a match than delete the its parent subkey” Sorry, I’m confused with this statement

  4. 29 Balaji Avatar
    29 Balaji

    Hi, I tried with the above settings. But still am facing the same Issue. Can any one look into dis issue

  5. Hahci Avatar
    Hahci

    Thank you so much…You save my life from re-installing Windows (the worst case!)

  6. Cjameson74 Avatar
    Cjameson74

    Worked 4 me thanks bro!

  7. Sandeep Singh Avatar
    Sandeep Singh

    I didn’t get the match for my GUID…………………What to do……………….:(

    1. Joe Cisneros Avatar
      Joe Cisneros

      I had to do a Find (CTRL-F), because it’s not listed as a subkey of “UpgradeCodes,” but below one of those…

  8. aoey Avatar
    aoey

    Thank you. You are my hero. :)

  9. PaPu Avatar
    PaPu

    Thanks you!

  10. @Yaooad Avatar
    @Yaooad

    That’s all right, cool sir,
    thank a lot anyway.

Leave a Reply

Your email address will not be published. Required fields are marked *