Microsoft KB Archive/324638

= &quot;The MSIEXEC.EXE file is linked to a missing export MSI.DLL:222&quot; error message when you to install, update, or remove a Windows Installer-based program =

Article ID: 324638

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Office 2000 Standard Edition
 * Microsoft Access 2002 Standard Edition
 * Microsoft Access 2000 Standard Edition
 * Microsoft Excel 2002 Standard Edition
 * Microsoft Excel 2000 Standard Edition
 * Microsoft FrontPage 2002 Standard Edition
 * Microsoft FrontPage 2000 Standard Edition
 * Microsoft Outlook 2002 Standard Edition
 * Microsoft Outlook 2000 Standard Edition
 * Microsoft PowerPoint 2002 Standard Edition
 * Microsoft PowerPoint 2000 Standard Edition
 * Microsoft Publisher 2002 Standard Edition
 * Microsoft Publisher 2000 Standard Edition
 * Microsoft Word 2002 Standard Edition
 * Microsoft Word 2000 Standard Edition
 * Microsoft Office XP Professional Edition
 * Microsoft Office XP Small Business Edition
 * Microsoft Office XP Standard Edition
 * Microsoft Office XP Standard Edition for Students and Teachers
 * Microsoft Office XP Developer Edition

-



This article was previously published under Q324638



SYMPTOMS
When you try to install, update, or remove any Windows Installer-based program, you may receive an error message similar to the following:

The MSIEXEC.EXE file is linked to a missing export MSI.DLL:222.

After you click OK, you receive an error message similar to the following:

Cannot launch C:\Windows\System\MSIEXEC.EXE, a device attached to the system is not functioning.



CAUSE
This behavior occurs if the Windows Installer files are mismatched because of an attempted update of the Windows Installer.



RESOLUTION
IMPORTANT: Before you follow the steps later in this section to resolve the issue, restart your computer and then try to install, update, or remove your Office program again. If Windows Installer has recently received upgraded files, the files are copied to a temporary location and the files are not copied to the appropriate folder until you restart the computer.

To resolve this issue, follow the steps in this four-part procedure in the order in which they are presented.

Part 1: Download the Windows Installer Update
 Visit the following Microsoft Web site, as appropriate for your operating system:  Microsoft Windows 95, Microsoft Windows 98, and Microsoft Windows Millennium Edition (Me)

Windows Installer Redistributable for Windows 95, 98, and Me

http://www.microsoft.com/downloads/details.aspx?FamilyID=cebbacd8-c094-4255-b702-de3bb768148f%20&displaylang=en

 Microsoft Windows NT 4.0

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

 Microsoft Windows 2000 SP3 or later

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=889482FC-5F56-4A38-B838-DE776FD4138C

  Click the link under Download Now, and then click Save.</li> Save the file to the desktop.</li></ol>

Windows 95 and Windows 98
<ol> Click Start, and then click Shut Down.</li> Click Restart in MS-DOS mode, and then click OK.</li> At the command prompt, type the following (pressing ENTER after each line):

cd system

ren msi.dll msi.old

ren msihnd.dll msihnd.old

ren msiexec.exe msiexec.old

exit

Windows restarts.</li></ol>

Windows NT 4.0
<ol> Click Start, and then click Run.</li> In the Open box, type command, and then click OK.</li> At the command prompt, type the following (pressing ENTER after each line):

cd \winnt\system32

ren msi.dll msi.old

ren msihnd.dll msihnd.old

ren msiexec.exe msiexec.old

exit

</li> Restart the computer.</li></ol>

Windows Me
<ol> If you have a Windows Me Startup disk, go to step 7.</li> Click Start, point to Settings, and then click Control Panel.</li> Double-click Add/Remove Programs.</li> Click the Startup Disk tab.</li> Click Create Disk to create the Startup disk.

NOTE: In some circumstances, you may be prompted to insert the Windows Me CD when you click Create Disk. This occurs if the installation files that are necessary to create the Startup disk are not on the hard disk.</li> When you are prompted, insert a formatted floppy disk in the floppy disk drive, and then click OK to confirm that the contents of the floppy disk may be overwritten.</li> Insert the Startup disk (or leave the Startup disk) in the floppy disk drive.</li> Restart the computer. When you are prompted to select how to start, click Minimum Boot.</li> <li>At the command prompt, type the following (pressing ENTER after each line):

c:

cd \windows\system

ren msi.dll msi.old

ren msihnd.dll msihnd.old

ren msiexec.exe msiexec.old

</li> <li>Remove the Startup disk, and then restart the computer.</li></ol>

Windows 95 and Windows 98

 * 1) Click Start, and then click Shut Down.
 * 2) Click Restart, and then click OK.
 * 3) On a Windows 95-based computer, press F5 as soon as you see the &quot;Starting Windows 95&quot; message.

-or-

On a Windows 98-based computer, press and hold down the SHIFT key as soon as the Power on Self Test (POST) has completed.
 * 1) When Windows finishes loading, click OK to close the message about safe mode.

Windows NT 4.0
NOTE: The closest condition to safe mode in Windows NT 4.0 is if you quit all unnecessary programs or tasks.

Follow these steps to quit all unnecessary programs that run in the background:
 * 1) Press CTRL+ALT+DEL.
 * 2) Click a program that is unnecessary to run.
 * 3) Click End Task.
 * 4) Repeat steps 2 and 3 until all unnecessary programs have closed.

Windows Me

 * 1) Click Start, click Run, type msconfig in the Open box, and then click OK.
 * 2) On the General tab, click Selective startup.
 * 3) Click to clear all of the check boxes under Selective startup.
 * 4) On the Startup tab, click to select the *StateMgr check box.
 * 5) Click OK. When you are prompted to restart your computer, click Yes.

Part 4: Install the Windows Installer Update

 * 1) On the desktop, double-click Instmsiw.exe or Instmsia.exe.
 * 2) Follow the on-screen instructions to complete the installation.
 * 3) In Windows Me, use the MSCONFIG utility to select a normal startup.
 * 4) Restart the computer.

Additional query words: prb OFFXP OFF2000

Keywords: kbtshoot kberrmsg kbprb KB324638

-

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

© Microsoft Corporation. All rights reserved.