FIX: SQL Server Setup has encountered the error code: 1605

By on April 14, 2010 32

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

SQLServerSetupErrorCode1605

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).

DeletingRegistrySubkey

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

Applies To:

  • SQL Server 2008
  • SQL Server 2008 Express

Associated terms:
error code 1605 sql server setup, msigetproductinfo failed to retrieve productversion for package with product code error code 1605, error code 1605, sql error 1605, error code -2067922940 for this component is not recognized, SQL server error code 1605, error code 1605 sql server, Error code -2068578304 for this component is not recognized, sql server setup error code 1605, Error code: 1605, error 1605 sql server, 2064843076, sql server error 1605, sql server 2008 error code 1605, sql server setup has encountered an error when running a windows installer file, sql server 2008 error 1605, sql server setup failure error code 1605, SQL Server 2008 R2 Setup has encountered an error, MsiGetProductInfo failed to retrieve ProductVersion for package with Product Code = Error code: 1605, MsiGetProductInfo error code 1605

  • http://www.ebusinesssoft.net David Fawzi

    Sir That was very nice and tricky solution get the job done in one minute
    Thanks you

  • ilias

    thanks, it worked!!!

  • MSSQL Survivor

    Thanks a lot!

  • Angela

    You are awesome! I’m so glad you posted this! And I’m so glad to find your post!

  • http://www.whitestarcomputers.co.uk Clive

    Sir, you are a genius

  • DIRDNAV

    I can’t found the mention registry, How next ??

  • sudqi

    ho to reverse the code

  • aoey

    Thank you. You are my hero. :)

  • PaPu

    Thanks you!

  • @Yaooad

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