Questo articolo è stato precedentemente pubblicato con il codice di riferimento I315346
If you are a Small Business customer, find additional troubleshooting and learning resources at the Support for Small Business
(http://smallbusiness.support.microsoft.com)
site.
To continue receiving security updates for Windows, make sure that you're running Windows XP with Service Pack 3 (SP3). For more information, refer to this Microsoft webpage: Support is ending for some versions of Windows
Important This article is intended for advanced computer users. If you are not comfortable with advanced troubleshooting, you may want to ask someone for help. Or, to get help from Microsoft Customer Support, go to the Contact Us
When you try to install a software application on Windows XP or Windows Server 2003, you receive the following error message:
The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if the Windows Installer is not correctly installed. Contact your support personnel for assistance.
Riduci l'immagineEspandi l'immagine
Note This problem can also occur when you try to uninstall a software application.
This problem can occur if one of the following conditions is true:
The Windows Installer files that are on your computer are damaged or are missing.
You install or remove a program that uses the Windows Installer Microsoft Software Installation (MSI) package file (.msi). For example, this can occur when you try to install Microsoft Office on your computer.
To resolve this problem, use the following methods.
Method 1: Reregister the Windows Installer
To reregister the Windows Installer, verify the location of the Msiexec.exe file on your computer and in the Windows Registry, and then reregister the Windows Installer. To do this, click here to expand this section.
and then follow these steps.
Riduci l'immagineEspandi l'immagine
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.
Determine the location of the Msiexec.exe file on your computer. To do this, follow these steps:
Click Start, click Run, type %windir%\system32, and then click OK.
Riduci l'immagineEspandi l'immagine
Note This step opens the folder where the Msiexec.exe file is located.
Note the location of the Msiexec.exe file. The location of the Msiexec.exe file is a combination of the value in the Address box and the Msiexec.exe file name itself.
For example, if the Address box contains a value of C:\Windows\system32, the location of the Msiexec.exe file is C:\Windows\system32\Msiexec.exe.
Riduci l'immagineEspandi l'immagine
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
How to back up and restore the registry in Windows
Make sure that the location of the Msiexec.exe file in Registry Editor is correct. To do this, follow these steps:
Click Start, click Run, type regedit in the Open box, and then click OK.
Expand HKEY_LOCAL_MACHINE, expand SYSTEM, expand CurrentControlSet, expand Services, and then click MSIServer.
In the right-pane, right-click ImagePath, and then click Modify.
In the Value data box, type the location of the Msiexec.exe file that you determined in step 1, followed by the value of /V, and then click OK.
For example, if the location of the Msiexec.exe file is C:\Windows\system32\Msiexec.exe, type the following text in the Value data text box:
C:\WINDOWS\System32\msiexec.exe /V
Click OK to close the Edit String dialog box.
On the File menu, click Exit to close Registry Editor.
Start your computer in safe mode, and then register the
Msiexec.exe file. To do this, follow these steps:
Click Start, and then click Turn off computer or Shut Down.
Select the Restart option, and then click OK, or click Restart.
Press F8 before the Windows screen appears.
On the Windows Advanced Option menu, use the arrow keys to select the Safe Mode option, and then press Enter.
If you use a dual-boot or multiple-boot computer, select the appropriate operating system from the list that is displayed, and then press Enter.
Log on to the computer.
Click Start, click Run, type msiexec /regserver in the Open box, and then click OK.
Riduci l'immagineEspandi l'immagine
Note For 64-bit operating systems, you also have to reregister the 64-bit MSI installer. To do this, click Start, click Run, type %windir%\Syswow64\Msiexec /regserver in the Open box, and then click OK.
On 64-bit editions of the Windows operating system, 32-bit binaries are located in %systemroot%\SysWow64 folder. The 64-bit binaries are located in the %systemroot%\System32 folder.
Click Start, and then click Turn off computer or Shut Down.
Select the Restart option, and then click OK, or click Restart.
If the issue still occurs, and you still receive the error message that is mentioned in the "Symptoms" section, follow the steps in Method 2.
Method 2: Reinstall the Windows Installer
To reinstall the Windows Installer, rename the damaged Windows Installer files, and then reinstall the Windows Installer. To do this, click here to expand this section.
and then follow these steps:
Click Start, click Run, type cmd in the Open box, and then click OK.
Type cd %windir%\system32, and then press Enter.
Type attrib -r -s -h dllcache, and then press Enter.
Type ren msi.dll msi.old, and then press Enter.
Type ren msiexec.exe msiexec.old, and then press Enter.
Type ren msihnd.dll msihnd.old, and then press Enter.
Type exit, and then press Enter.
At the command prompt, type exit, and then press Enter.
Click Start, and then click Turn off computer or Shut Down.
Select the Restart option, and then click OK, or click Restart.
Log on to the computer.
Download and install the latest version of the Windows Installer.
For more information about how to obtain the Windows Installer, click the following article number to view the article in the Microsoft Knowledge Base:
The Windows Installer 4.0 is not available as a redistributable for Windows Vista. The Windows Installer 4.0 is included with the Windows Vista operating system.
If the methods described in this article do not resolve the problem, contact Microsoft Customer Support Services for more help.
This problem can also occur if the Startup Type property for the Windows Installer service is set to a value of Disable. To check whether the Windows Installer service is set to a value of Disable, follow these steps:
Click Start, click Run, type services.msc in the Open box, and then click OK.
In the Services (Local) list, right-click Windows Installer, and then click Properties.
If the Startup type drop-down list is set to a value of Disable, select the Manual option from the Startup type drop-down list, and then click OK.
on the Microsoft Developer Network (MSDN) website. For more information about
how to obtain the Windows Installer engine, click the following article number
to view the article in the Microsoft Knowledge Base:
Identificativo articolo: 315346 - Ultima modifica: venerdì 19 aprile 2013 - Revisione: 19.1
Le informazioni in questo articolo si applicano a:
Microsoft Windows Server 2003, Standard x64 Edition
Microsoft Windows Server 2003, Enterprise x64 Edition
Microsoft Windows Server 2003, Datacenter x64 Edition
Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
Microsoft Windows XP Home Edition
Microsoft Windows XP Professional
Microsoft Windows XP Professional x64 Edition
Chiavi:
kbresolve kberrmsg kbprb KB315346
LE INFORMAZIONI CONTENUTE NELLA MICROSOFT KNOWLEDGE BASE SONO FORNITE SENZA GARANZIA DI ALCUN TIPO, IMPLICITA OD ESPLICITA, COMPRESA QUELLA RIGUARDO ALLA COMMERCIALIZZAZIONE E/O COMPATIBILITA' IN IMPIEGHI PARTICOLARI. L'UTENTE SI ASSUME L'INTERA RESPONSABILITA' PER L'UTILIZZO DI QUESTE INFORMAZIONI. IN NESSUN CASO MICROSOFT CORPORATION E I SUOI FORNITORI SI RENDONO RESPONSABILI PER DANNI DIRETTI, INDIRETTI O ACCIDENTALI CHE POSSANO PROVOCARE PERDITA DI DENARO O DI DATI, ANCHE SE MICROSOFT O I SUOI FORNITORI FOSSERO STATI AVVISATI. IL DOCUMENTO PUO' ESSERE COPIATO E DISTRIBUITO ALLE SEGUENTI CONDIZIONI: 1) IL TESTO DEVE ESSERE COPIATO INTEGRALMENTE E TUTTE LE PAGINE DEVONO ESSERE INCLUSE. 2) I PROGRAMMI SE PRESENTI, DEVONO ESSERE COPIATI SENZA MODIFICHE, 3) IL DOCUMENTO DEVE ESSERE DISTRIBUITO INTERAMENTE IN OGNI SUA PARTE. 4) IL DOCUMENTO NON PUO' ESSERE DISTRIBUITO A SCOPO DI LUCRO.
Grazie. I commenti e suggerimenti forniti verranno utilizzati per migliorare la qualità dei contenuti di supporto tecnico. Per ulteriori opzioni di assistenza, visitare la home page del Supporto Tecnico Microsoft.