Microsoft KB Archive/907749

= Basic troubleshooting steps for Windows Installer =

Article ID: 907749

Article Last Modified on 1/11/2007

-

APPLIES TO

 Microsoft Windows Installer 3.1, when used with:  Microsoft Windows Server 2003, Standard Edition (32-bit x86)

 Microsoft Windows Server 2003, Web Edition

 Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)

 Microsoft Windows XP Professional</li></ul>

 Microsoft Windows XP Home Edition</li></ul>

 Microsoft Windows 2000 Service Pack 3</li></ul>

 Microsoft Windows 2000 Service Pack 3</li></ul>

 Microsoft Windows 2000 Service Pack 4</li></ul>

 Microsoft Windows 2000 Professional Edition</li></ul> </li> Microsoft Windows Installer 3.0, when used with:  Microsoft Windows Server 2003, Web Edition</li></ul>

 Microsoft Windows Server 2003, Standard Edition (32-bit x86)</li></ul>

 <li>Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)</li></ul>

<ul> <li>Microsoft Windows XP Professional</li></ul>

<ul> <li>Microsoft Windows XP Home Edition</li></ul>

<ul> <li>Microsoft Windows 2000 Professional Edition</li></ul>

<ul> <li>Microsoft Windows 2000 Service Pack 4</li></ul>

<ul> <li>Microsoft Windows 2000 Service Pack 3</li></ul>

<ul> <li>Microsoft Windows 2000 Service Pack 3</li></ul> </li> <li>Microsoft Windows Installer 2.0, when used with: <ul> <li>Microsoft Windows 2000 Server</li></ul>

<ul> <li>Microsoft Windows 2000 Professional Edition</li></ul>

<ul> <li>Microsoft Windows NT 4.0 Service Pack 6</li></ul>

<ul> <li>Microsoft Windows NT Workstation 4.0 Developer Edition</li></ul>

<ul> <li>Microsoft Windows Millennium Edition</li></ul>

<ul> <li>Microsoft Windows 98 Second Edition</li></ul>

<ul> <li>Microsoft Windows 95</li></ul> </li> <li>Microsoft Windows Installer 1.2, when used with: <ul> <li>Microsoft Windows Millennium Edition</li></ul>

<ul> <li>Microsoft Windows 98 Second Edition</li></ul>

<ul> <li>Microsoft Windows 95</li></ul>

<ul> <li>Microsoft Windows NT Workstation 4.0 Developer Edition</li></ul>

<ul> <li>Microsoft Windows NT Workstation 4.0 Developer Edition</li></ul>

<ul> <li>Microsoft Windows NT Workstation 4.0</li></ul>

<ul> <li>Microsoft Windows NT Workstation 4.0 Developer Edition</li></ul>

<ul> <li>Microsoft Windows NT 4.0 Service Pack 3</li></ul>

<ul> <li>Microsoft Windows NT 4.0 Service Pack 4</li></ul>

<ul> <li>Microsoft Windows NT 4.0 Service Pack 5</li></ul>

<ul> <li>Microsoft Windows NT 4.0 Service Pack 6</li></ul> </li> <li>Microsoft Windows Installer 1.1, when used with: <ul> <li>Microsoft Windows 2000 Server</li></ul>

<ul> <li>Microsoft Windows 2000 Professional Edition</li></ul>

<ul> <li>Microsoft Windows 98 Second Edition</li></ul>

<ul> <li>Microsoft Windows 95</li></ul>

<ul> <li>Microsoft Windows NT Workstation 4.0 Developer Edition</li></ul>

<ul> <li>Microsoft Windows NT Workstation 4.0 Developer Edition</li></ul>

<ul> <li>Microsoft Windows NT Workstation 4.0</li></ul>

<ul> <li>Microsoft Windows NT Workstation 4.0 Developer Edition</li></ul>

<ul> <li>Microsoft Windows NT 4.0 Service Pack 3</li></ul>

<ul> <li>Microsoft Windows NT 4.0 Service Pack 4</li></ul>

<ul> <li>Microsoft Windows NT 4.0 Service Pack 5</li></ul>

<ul> <li>Microsoft Windows NT 4.0 Service Pack 6</li></ul> </li> <li>Microsoft Windows Installer 1.0, when used with: <ul> <li>Microsoft Windows 98 Second Edition</li></ul>

<ul> <li>Microsoft Windows 95</li></ul>

<ul> <li>Microsoft Windows NT Workstation 4.0 Developer Edition</li></ul>

<ul> <li>Microsoft Windows NT Workstation 4.0 Developer Edition</li></ul>

<ul> <li>Microsoft Windows NT Workstation 4.0</li></ul>

<ul> <li>Microsoft Windows NT Workstation 4.0 Developer Edition</li></ul>

<ul> <li>Microsoft Windows NT 4.0 Service Pack 3</li></ul>

<ul> <li>Microsoft Windows NT 4.0 Service Pack 4</li></ul>

<ul> <li>Microsoft Windows NT 4.0 Service Pack 5</li></ul>

<ul> <li>Microsoft Windows NT 4.0 Service Pack 6</li></ul> </li></ul>

-

<div class="notice_section">

<div class="notice_section">

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

<div class="summary_section">

SUMMARY
This article contains an overview of Microsoft Windows Installer and how to troubleshoot issues that may occur when Windows Installer is installed.

<div class="summary_section">

You can use Microsoft Windows Installer to install and to configure installation packages. An installation package contains all the information that Windows Installer requires to install or to remove an application or a product and to run the setup user interface. Each installation package includes an .msi file that contains an installation database, a summary information stream, and data streams for various parts of the installation. The .msi file can also contain one or more transforms, internal source files, and external source files or cabinet files that are required by the installation.

The following is a summary of the available versions of Windows Installer: <ul> <li>Windows Installer 3.1: Windows Installer 3.1 is included in Microsoft Windows Server 2003 Service Pack 1 (SP1). Windows Installer 3.1 is also available as a redistributable system component for Windows 2000 SP3, Windows 2000 SP4, Windows XP, Windows XP SP1, Windows XP SP2, and Windows Server 2003. For more information about Windows Installer 3.1, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=889482fc-5f56-4a38-b838-de776fd4138c

To install Windows Installer 3.1 as a critical update, visit the following Microsoft Web site:

http://windowsupdate.microsoft.com

</li> <li>Windows Installer 3.0: Windows Installer 3.0 is included in Windows XP SP2. Windows Installer 3.0 is also available as a redistributable system component for Windows 2000 SP3, Windows 2000 SP4, Windows XP, Windows XP SP1, and Windows Server 2003. For more information about Windows Installer 3.0, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=5fbc5470-b259-4733-a914-a956122e08e8

</li> <li>Windows Installer 2.0: Windows Installer 2.0 is included in Windows Server 2003, Windows XP, and Windows 2000 SP3. Windows Installer 2.0 is available as two packages. One package is used to install or to upgrade to Windows Installer 2.0 on Windows Millennium Edition, Windows 98, and Windows 95. The other package is used to install or to upgrade to Windows Installer 2.0 on Windows 2000 and Windows NT 4.0 SP6. For more information about Windows Installer 2.0 for Windows Millennium Edition, Windows 98, and Windows 95, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=cebbacd8-c094-4255-b702-de3bb768148f

For more information about Windows Installer 2.0 for Windows 2000 and Windows NT 4.0, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=4b6140f9-2d36-4977-8fa1-6f8a0f5dca8f

Note Do not use these packages to install or to upgrade Windows Installer 2.0 in Windows Server 2003 or in Windows XP.</li> <li>Windows Installer 1.2: Windows Installer 1.2 is included in Windows Millennium Edition. Windows Installer 1.2 is also supported on Windows 95, Windows 98, and Windows NT 4.0 SP3 or a later version of Windows NT 4.0.</li> <li>Windows Installer 1.1: Windows Installer 1.1 is included in Windows 2000. Windows Installer 1.1 is available as a redistributable system component for Windows 95, Windows 98, and Windows NT 4.0 SP3 or a later version of Windows NT 4.0. For more information about Windows Installer 1.1 for Windows 95 and Windows 98, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=f1b7a5b0-611b-45a7-a06d-cadff33e64da

For more information about Windows Installer 1.1 for Windows NT 4.0, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?familyid=F8CA7781-41DC-4A53-A574-82EB9CD85BBB

</li> <li>Windows Installer 1.0: Windows Installer 1.0 is included with Microsoft Office 2000. Windows Installer 1.1 is also supported on Windows 95, Windows 98, and Windows NT 4.0 SP3 or a later version of Windows NT 4.0.</li></ul>

To determine which version of Windows Installer is installed on a computer, follow these steps:
 * 1) Click Start, click Run, type %systemroot%\system32, and then click OK.
 * 2) Right-click Msi.dll, and then click Properties.
 * 3) Click the Version tab, and then note the File version number.

<div class="moreinformation_section">

MORE INFORMATION
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.

Important Before you use the following information to troubleshoot Windows Installer, we recommend that you first try the methods in the following Microsoft Knowledge Base article:

319624 &quot;Windows Installer Service could not be accessed&quot; error message when installing application

To troubleshoot issues that may occur when you use Windows Installer to install a program, use the following methods.

Method 1: Reregister Windows Installer
To reregister Windows Installer, follow these steps.

Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps. <ol> <li>Verify the location of the Msiexec.exe file on the hard disk. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, point to Search, and then click For Files or Folders.</li> <li>Click All files and folders.</li> <li>In the All or part of the file name box, type Msiexec.exe, and then click Search.</li> <li>In the search results, note the location of the Msiexec.exe file.

The file location of the Msiexec.exe file should be similar to C:\Windows\System32.

Note On Windows 98-based computers, the Msiexec.exe file is located in the %Windir%\System folder.</li> <li>On the File menu, click Close.</li></ol> </li> <li>Verify the location of the Msiexec.exe file in the Windows registry. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, click Run, type Regedit, and then click OK.</li> <li>Locate and then click the following registry key:

</li> <li>In the right pane, double-click ImagePath.</li> <li>In the Edit String dialog box, make sure that the string in the Value data box contains the correct path of the Msiexec.exe file on the hard disk that you located in step 1.

For example, if the Msiexec.exe file is located in the :\Windows\System32 folder on the hard disk, the correct path of the Msiexec.exe file in the Value data box is  :\Windows\System32\Msiexec.exe /V. In this example,  is the drive where Windows is installed.

Note On a Windows 98-based computer, the correct path of the Msiexec.exe file is :\Windows\System\Msiexec.exe /V.

Note The /V switch enables verbose logging.</li> <li>If the Value data box does not contain the correct path, make the appropriate changes to correct the path, and then click OK.</li> <li>Quit Registry Editor.</li></ol> </li> <li>Start your computer in Safe Mode, and then register the Msiexec.exe file. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Restart your computer.</li> <li>Press F8 after you receive the following message:

Please select the operating system to start

</li> <li>On the Windows Advanced Option menu, use the arrow keys to select Safe Mode, and then press ENTER.</li> <li>If you use a dual-boot computer or a multiple-boot computer, select the appropriate operating system from the list that is displayed, and then press ENTER.</li> <li>Log on to the computer.</li> <li>Click Start, click Run, type Msiexec /regserver, and then click OK.</li></ol> </li> <li>Restart your computer in standard mode.</li></ol>

If the issue persists, follow the steps in Method 2.

Method 2: Reinstall Windows Installer
To reinstall Windows Installer, follow these steps: <ol> <li>Start your computer in Safe Mode. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Restart your computer.</li> <li>Press F8 after you receive the following message:

Please select the operating system to start

</li> <li>On the Windows Advanced Option menu, use the arrow keys to select Safe Mode, and then press ENTER.</li> <li>If you use a dual-boot computer or a multiple-boot computer, select the appropriate operating system from the list that is displayed, and then press ENTER.</li> <li>Log on to the computer.</li></ol> </li> <li>Click Start, click Run, type cmd, and then click OK.</li> <li>At the command prompt, type attrib -r -s -h %Windir%\System32\dllcache.

Note On a Windows 98-based computer, type System instead of System32.

Note On a Windows Server 2003 SP1-based computer, skip this step. Instead, go to step 4.</li> <li>At the command prompt, type CD %Windir%\System32, and then press ENTER.</li> <li>At the command prompt, type the following lines, pressing ENTER after each line:

ren msi.dll msi.old

ren msiexec.exe msiexec.old

ren msihnd.dll msihnd.old

</li> <li>At the command prompt, type exit, and then press ENTER.</li> <li>Restart your computer in Safe Mode.</li> <li>Update the Windows Installer files on the hard disk to the latest version.

Note On a Windows Server 2003 SP1-based computer, extract the files in the Windows Installer 3.1 redistributable package, and then copy the following files to the %Windir%\System 32 folder on the computer: <ul> <li>Msi.dll</li> <li>Msiexec.exe</li> <li>Msihnd.dll</li></ul> </li> <li>Restart your computer in standard mode.</li></ol>

<div class="references_section">