Microsoft KB Archive/324516

= &quot;The Windows Installer service could not be accessed&quot; error message when you try to install Office =

Article ID: 324516

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Office Professional 2007
 * Microsoft Office Ultimate 2007
 * Microsoft Office Basic 2007
 * Microsoft Office Standard 2007
 * Microsoft Office Enterprise 2007
 * Microsoft Office Professional Plus 2007
 * Microsoft Office Professional Edition 2003
 * Microsoft Office Basic Edition 2003
 * Microsoft Office Standard Edition 2003
 * Microsoft Office Student and Teacher Edition 2003
 * Microsoft Office Small Business Edition 2003
 * Microsoft Office XP Developer 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 2000 Developer Edition
 * Microsoft Office 2000 Premium Edition
 * Microsoft Office 2000 Professional Edition
 * Microsoft Office 2000 Small Business Edition
 * Microsoft Office 2000 Standard Edition

-



This article was previously published under Q324516



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 Office, you may receive an error message that is similar to the following:

The Windows Installer Service could not be accessed.



CAUSE
This problem may occur if the Windows Installer files are damaged or missing.



RESOLUTION
To resolve this problem, use one of the following methods.

Method 1: Use the Msconfig tool to confirm that the installer service is running

 * 1) Click Start, and then click Run.




 * 1) In the Open box, type msconfig, and then click OK.




 * 1) On the Services tab, click to select the check box that is next to Windows Installer.




 * 1) Click OK, and then click Restart to restart the computer.




 * 1) Install Office again. When you are prompted to enter the product key, type the product key, and then click Next.

Office will be installed, and you will not be prompted for the product key when the programs start.

Method 2: Re-register Windows Installer
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.

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.

To re-register Windows Installer, follow these steps.

Note If you cannot complete the following steps, go to method 3.  Click Start, and then click Search.



 Click All files and folders.



 In the File name box, type Msiexec.exe, and then click Search.



 After the search is complete, make a note of the location of the Msiexec.exe file. The location of the file should be similar to the following example:

C:\Windows\System32



 On the File menu, click Close to close the Search dialog box.



 Click Start, and then click Run.



</li> In the Open box, type regedit, and then click OK.



</li> Locate and then click the following registry key:

 



</li> In the right pane of the Registry Editor window, double-click ImagePath.



</li> In the Edit String dialog box that appears, make sure that the string in the Value data box contains the correct path for the Msiexec.exe file that you determined in step 4.

Note The following is an example of the correct path, where  is the drive where Windows is installed:



If the Value data box does not contain the correct path, make changes to correct the path, and then click OK to close the Edit String dialog box.



</li> On the File menu, click Exit to quit Registry Editor.



</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;"> Shut down your computer, and then restart your computer.</li> Restart your computer and press the F8 key on your keyboard. On a computer that is configured for booting to multiple operating systems, press the F8 key when you see the Boot menu.</li> Use the ARROW keys to select Safe Mode, and then press ENTER.</li> If the Boot menu appears again, and the words &quot;Safe Mode&quot; appear in blue at the bottom, select the installation that you want to start, and then press ENTER.</li> Log on to the computer.</li> Click Start, click Run, type msiexec /regserver in the Open box, and then click OK.



</li></ol> </li> Shut down your computer, and then restart your computer normally.</li></ol>

If you still cannot install Microsoft Office successfully and you receive an error message that is similar to the message listed in the &quot;Symptoms&quot; section, go to Method 3.

Method 3: Try the methods that are listed in Microsoft Knowledge Base Article 319624
Try the methods that are listed in the following Microsoft Knowledge Base article:

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

Method 4: Reinstall Windows Installer
Note This method applies to Microsoft Windows 95, Microsoft Windows 98, Microsoft Windows Millennium Edition (Me), and Microsoft Windows NT 4.0. For Microsoft Windows 2000, Microsoft Windows XP, and Microsoft Windows Server 2003, either reapply the latest service pack or repair the operating system.

To reinstall the Windows Installer, follow these steps.

<ol> Click Start, and then click Run.



</li> In the Open box, type cmd, and then click OK.



</li> <li>At the command prompt, type the following lines. Press ENTER after you type each line.

cd %windir%\system32



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.</li> <li>Update the Windows Installer files to the latest version. To do so, visit one of the following Microsoft Web sites, and then download and install Windows Installer 2.0.

Note Windows Installer 2.0 is included with Microsoft Windows XP. You do not have to perform this step if you are using Windows XP. <ul> <li>For Windows 98, Windows 98 Second Edition, and Windows Millennium Edition:

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

</li> <li>For Microsoft Windows NT 4.0 and Microsoft Windows 2000:

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

</li></ul> </li> <li>After the installation of the Windows Installer is complete, shut down and restart your computer normally before you install Microsoft Office.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For more information about how to restart Windows in Safe mode, click the following article numbers to view the articles in the Microsoft Knowledge Base:

315222 A description of the Safe Mode Boot options in Windows XP

281770 How to perform clean-boot troubleshooting for Windows 2000

273738 How to troubleshoot Windows Millennium Edition startup problems

180902 How to start a Windows 98-based computer in Safe mode

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

292539 How to obtain the Windows Installer engine

Additional query words: prb OFFXP OFF office12 off2007

Keywords: kberrmsg kbtshoot kbgraphxlink kbprb kbpubtypekc kbscreenshot kbnomt KB324516

-

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

© Microsoft Corporation. All rights reserved.