MsiLogging Property
The MsiLogging property sets the default logging mode for the Windows Installer package. If this optional property is present in the Property table, the installer generates a log file named MSI*.LOG. The full path to the log file is given by the value of the MsiLogFileLocation property.
Value
The value of this property should be a string of the following characters that specify the default logging mode.
Value | Meaning |
---|---|
|
Status messages. |
|
Nonfatal warnings. |
|
All error messages. |
|
Start up of actions. |
|
Action-specific records. |
|
User requests. |
|
Initial UI parameters. |
|
Out-of-memory or fatal exit information. |
|
Out-of-disk-space messages. |
|
Terminal properties. |
|
Verbose output. |
|
Extra debugging information. Only available on Windows Server 2003. |
|
Flush each line to the log. |
Remarks
This property is available starting with Windows Installer 4.0.
You cannot use the "+" and "*" values of the /L option in the value of the MsiLogging property.
The logging mode can be set using policy, a command-line option, or programmatically. This overrides the default logging mode. For more information about all the methods that are available for setting the logging mode, see Normal Logging in the Windows Installer Logging section.
If the MsiLogging property is present in the Property table, the default logging mode of the package can be modified by changing the value of this property using a database transform. The default logging mode cannot be changed using a Patch Package (a .msp file.)
If the MsiLogging property has been set in the Property table, the default logging mode for all users of the computer can be specified by setting both the DisableLoggingFromPackage policy and Logging policy. Setting both the DisableLoggingFromPackage policy and Logging policy will override the MsiLogging property for all packages.
Requirements
Version | Windows Installer 5.0 on Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer 4.5 on Windows Server 2003 or Windows XP. See the Windows Installer Run-Time Requirements for information about the minimum Windows service pack that is required by a Windows Installer version. |
---|
See Also
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.