Microsoft KB Archive/918357

= BUG: Error message when you try to install SQL Server 2005 Service Pack 1: &quot;Unable to install Windows Installer MSP file&quot; =

Article ID: 918357

Article Last Modified on 6/28/2006

-

APPLIES TO


 * Microsoft SQL Server 2005 Service Pack 1

-



Bug #: 450020 (SQLBUDT)

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you try to install Microsoft SQL Server 2005 Service Pack 1 (SP1), you receive the following error message:

The following unexpected error occurred:

Unable to install Windows Installer MSP file

Shortly after you receive this error message, you receive another error message as follows:

A recently applied update, KB 913090, failed to install.

In the Microsoft SQL Server 2005 Service Pack 1 Setup dialog box, you notice that the status for Setup Support Files is Failure.

This problem is likely to occur when one of the following products is already installed:
 * SQL Server 2005 Express Edition SP1 – Community Technology Preview (CTP) March 2006
 * SQL Server 2005 Express Edition with Advanced Services – CTP March 2006
 * SQL Server Express Edition SP1
 * SQL Server Express with Advanced Services



CAUSE
The problem occurs because of one or both of the following reasons:  The SQL Server Setup Support files that are installed on the computer by one of the previously listed products are not compatible with the SQL Server Setup Support files that are included in SQL Server 2005 SP1. Therefore, SQL Server 2005 SP1 does not upgrade the SQL Server Setup Support files. You do not have the Full Control permission on the following folder and on all the files in this folder:

%ProgramFiles%\Microsoft SQL Server\ \MSSQL\Data

Note  is a placeholder for the corresponding value for the system. You can locate  from the value of the MSSQLSERVER registry entry in the following registry subkey:





WORKAROUND
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To work around this problem, use one of the following methods, depending on the cause of the problem that is described in the &quot;Cause&quot; section.

Method 1: Grant the Full Control permission on the Data folder and on all the files in the Data folder
To do this, follow these steps:  Open the following folder:

%ProgramFiles%\Microsoft SQL Server\ \MSSQL

 Right-click the Data folder, and then click Sharing and Security. In the Properties dialog box, click the Security tab.</li> Under Group or user names, click Administrators.</li> Under Permissions for Administrators, click to select the Allow check box for the Full Control permission.</li> Click OK.</li> Open the Data folder.</li> On the Edit menu, click Select All.</li> On the File menu, click Properties.</li> In the Properties dialog box, click the Security tab.</li> Repeat steps 4 through 6.</li> Reinstall SQL Server 2005 SP1.</li></ol>

Method 2: Install the correct version of the SQL Server Setup Support files
To do this, follow these steps: <ol> Export the  registry entry. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type Regedit, and then click OK to open Registry Editor.</li> In Registry Editor, locate the following registry subkey:

</li> In the right panel, click the Uninstall registry entry.</li> On the File menu, click Export.</li> Specify a location and a file name, and then click Save.</li></ol>

Notice that the value of the  registry entry contains references to all the components that are dependant on the SQL Server Setup Support files.</li> Uninstall the existing SQL Server Setup Support files by using Add or Remove Programs in Control Panel.

Note When you try to uninstall the SQL Server Setup Support files, you receive a warning message that resembles the following:

Warning 26002. The following products(s) is dependent on Microsoft SQL Server Setup Support Files (English). If you uninstall Microsoft SQL Server Setup Support Files (English), they will be broken. Please uninstall those product(s) first. Do you want to go ahead to uninstall Microsoft SQL Server Setup Support Files (English) anyway?

When you receive this warning message, click Yes.</li> <li>Reinstall the 9.00.1399.06 version of the SQL Server Setup Support files. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Open the Servers\Setup folder from the SQL Server 2005 installation media.

Note If you use the SQL Server 2005 installation CDs, not the DVD, to install SQL Server 2005, the Setup folder that you must access is on the Servers CD.</li> <li>Double-click the SqlSupport.msi file to install the 9.00.1399.06 version of the SQL Server Setup Support files.</li> <li>Follow the installation wizard through the rest of the installation processes.</li></ol> </li> <li>Import the registry setting through the registry file that you saved in step 1.</li> <li>Reinstall SQL Server 2005 SP1.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbbug kbexpertiseadvanced KB918357

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.