How to Enable Windows Installer Logging in Windows XP

Traduzione articoli Traduzione articoli
Identificativo articolo: 314852 - Visualizza i prodotti a cui si riferisce l?articolo.
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
Espandi tutto | Chiudi tutto

In questa pagina

Sommario

This article describes the registry-activated logging service that Windows includes for diagnosis of issues that involve Windows Installer.

The registry entry in this article is valid for all Windows platforms.

Informazioni

Windows Installer uses logging to help you troubleshoot issues that may arise when you install software packages. After you enable logging, you can try the unsuccessful installation again. Windows Installer tracks the progress and posts the data to the Temp folder.

The file name of the new log varies, but the file name begins with the letters "Msi" and ends with a .log extension.

To find the location of the new log in the Temp folder, type cd %temp% at a command prompt, and then press ENTER.

Enable Windows Installer Logging by Adding Registry Entries

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Start Registry Editor (Regedt32.exe), and then create the following path and keys in the registry:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer

Reg_SZ: Logging
Value: voicewarmup
The letters in the value field are the options that are available to use with Windows Installer logging. You can use the options in any order. Each option turns on a specific logging mode. For MSI version 1.1, the function of each option is as follows :
v - Verbose output
o - Out-of-disk-space messages
i - Status messages
c - Initial UI parameters
e - All error messages
w - Non-fatal warnings
a - Start up of actions
r - Action-specific records
m - Out-of-memory or fatal exit information
u - User requests
p - Terminal properties
+ - Append to existing file
! - Flush each line to the log

* - Wildcard, to log all information except for the v option. To include the v option, specify /l*v.
It is recommended that you use this service only for troubleshooting. Leaving the service turned on creates a new Msi*.log file every time you use the Add/Remove Programs tool in Control Panel. This activity adversely affects system performance and disk space.

Enable Windows Installer Logging by Modifying Group Policy

You can use Group Policy to enable logging by modifying the appropriate organizational unit (OU) or Active Directory Group Policy:
  1. Click Start, and then click Run.
  2. In the Open box, type gpedit.msc to start the Group Policy Editor.
  3. Expand Computer Configuration, expand Administrative Templates, expand Windows Components, and then click Windows Installer.
  4. Double-click Logging, and then click Enabled.
  5. In the Logging box, specify the options for what you want to log. The log file, Msi.log, appears in the Temp folder of the system volume.
For more information about MSI logging, refer to Windows Help. Search Help by using the phrase "msi logging," and then click the "Managing options for computers through Group Policy" topic.

Proprietà

Identificativo articolo: 314852 - Ultima modifica: sabato 1 dicembre 2007 - Revisione: 1.1
Le informazioni in questo articolo si applicano a
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Professional x64 Edition
Chiavi: 
kbinfo kbenv KB314852
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.

Invia suggerimenti

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com