Microsoft KB Archive/907749

From BetaArchive Wiki

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
    • Microsoft Windows XP Home Edition
    • Microsoft Windows 2000 Service Pack 3
    • Microsoft Windows 2000 Service Pack 3
    • Microsoft Windows 2000 Service Pack 4
    • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows Installer 3.0, when used with:
    • Microsoft Windows Server 2003, Web Edition
    • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
    • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
    • Microsoft Windows XP Professional
    • Microsoft Windows XP Home Edition
    • Microsoft Windows 2000 Professional Edition
    • Microsoft Windows 2000 Service Pack 4
    • Microsoft Windows 2000 Service Pack 3
    • Microsoft Windows 2000 Service Pack 3
  • Microsoft Windows Installer 2.0, when used with:
    • Microsoft Windows 2000 Server
    • Microsoft Windows 2000 Professional Edition
    • Microsoft Windows NT 4.0 Service Pack 6
    • Microsoft Windows NT Workstation 4.0 Developer Edition
    • Microsoft Windows Millennium Edition
    • Microsoft Windows 98 Second Edition
    • Microsoft Windows 95
  • Microsoft Windows Installer 1.2, when used with:
    • Microsoft Windows Millennium Edition
    • Microsoft Windows 98 Second Edition
    • Microsoft Windows 95
    • Microsoft Windows NT Workstation 4.0 Developer Edition
    • Microsoft Windows NT Workstation 4.0 Developer Edition
    • Microsoft Windows NT Workstation 4.0
    • Microsoft Windows NT Workstation 4.0 Developer Edition
    • Microsoft Windows NT 4.0 Service Pack 3
    • Microsoft Windows NT 4.0 Service Pack 4
    • Microsoft Windows NT 4.0 Service Pack 5
    • Microsoft Windows NT 4.0 Service Pack 6
  • Microsoft Windows Installer 1.1, when used with:
    • Microsoft Windows 2000 Server
    • Microsoft Windows 2000 Professional Edition
    • Microsoft Windows 98 Second Edition
    • Microsoft Windows 95
    • Microsoft Windows NT Workstation 4.0 Developer Edition
    • Microsoft Windows NT Workstation 4.0 Developer Edition
    • Microsoft Windows NT Workstation 4.0
    • Microsoft Windows NT Workstation 4.0 Developer Edition
    • Microsoft Windows NT 4.0 Service Pack 3
    • Microsoft Windows NT 4.0 Service Pack 4
    • Microsoft Windows NT 4.0 Service Pack 5
    • Microsoft Windows NT 4.0 Service Pack 6
  • Microsoft Windows Installer 1.0, when used with:
    • Microsoft Windows 98 Second Edition
    • Microsoft Windows 95
    • Microsoft Windows NT Workstation 4.0 Developer Edition
    • Microsoft Windows NT Workstation 4.0 Developer Edition
    • Microsoft Windows NT Workstation 4.0
    • Microsoft Windows NT Workstation 4.0 Developer Edition
    • Microsoft Windows NT 4.0 Service Pack 3
    • Microsoft Windows NT 4.0 Service Pack 4
    • Microsoft Windows NT 4.0 Service Pack 5
    • Microsoft Windows NT 4.0 Service Pack 6




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


SUMMARY

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


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:

  • 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:

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

  • 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:
  • 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:

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

    Note Do not use these packages to install or to upgrade Windows Installer 2.0 in Windows Server 2003 or in Windows XP.
  • 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.
  • 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:

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

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

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.


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 "Windows Installer Service could not be accessed" 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.

  1. Verify the location of the Msiexec.exe file on the hard disk. To do this, follow these steps:
    1. Click Start, point to Search, and then click For Files or Folders.
    2. Click All files and folders.
    3. In the All or part of the file name box, type Msiexec.exe, and then click Search.
    4. 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.
    5. On the File menu, click Close.
  2. Verify the location of the Msiexec.exe file in the Windows registry. To do this, follow these steps:
    1. Click Start, click Run, type Regedit, and then click OK.
    2. Locate and then click the following registry key:

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer

    3. In the right pane, double-click ImagePath.
    4. 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 Drive:\Windows\System32 folder on the hard disk, the correct path of the Msiexec.exe file in the Value data box is Drive:\Windows\System32\Msiexec.exe /V. In this example, Drive is the drive where Windows is installed.

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

      Note The /V switch enables verbose logging.
    5. If the Value data box does not contain the correct path, make the appropriate changes to correct the path, and then click OK.
    6. Quit Registry Editor.
  3. Start your computer in Safe Mode, and then register the Msiexec.exe file. To do this, follow these steps:
    1. Restart your computer.
    2. Press F8 after you receive the following message:

      Please select the operating system to start

    3. On the Windows Advanced Option menu, use the arrow keys to select Safe Mode, and then press ENTER.
    4. 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.
    5. Log on to the computer.
    6. Click Start, click Run, type Msiexec /regserver, and then click OK.
  4. Restart your computer in standard mode.

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

Method 2: Reinstall Windows Installer

To reinstall Windows Installer, follow these steps:

  1. Start your computer in Safe Mode. To do this, follow these steps:
    1. Restart your computer.
    2. Press F8 after you receive the following message:

      Please select the operating system to start

    3. On the Windows Advanced Option menu, use the arrow keys to select Safe Mode, and then press ENTER.
    4. 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.
    5. Log on to the computer.
  2. Click Start, click Run, type cmd, and then click OK.
  3. 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.
  4. At the command prompt, type CD %Windir%\System32, and then press ENTER.
  5. 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

  6. At the command prompt, type exit, and then press ENTER.
  7. Restart your computer in Safe Mode.
  8. 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:
    • Msi.dll
    • Msiexec.exe
    • Msihnd.dll
  9. Restart your computer in standard mode.


REFERENCES

For more information about Windows Installer 3.1 v2, click the following article number to view the article in the Microsoft Knowledge Base:

893803 Windows Installer 3.1 v2 (3.1.4000.2435) is available


For more information about Windows Installer technology, click the following article number to view the article in the Microsoft Knowledge Base:

310598 Overview of the Windows Installer technology


For more information about how to use the Windows Installer CleanUp Utility to troubleshoot installation problems, click the following article number to view the article in the Microsoft Knowledge Base:

290301 Description of the Windows Installer CleanUp utility




For more information about Windows Installer error messages, visit the following Microsoft Developer Network (MSDN) Web site:

Keywords: kbhowto kbinfo kbtshoot KB907749