Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Installer
Properties
Property Reference
 MsiLogging Property
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

I

Status messages.

w

Nonfatal warnings.

e

All error messages.

a

Start up of actions.

r

Action-specific records.

u

User requests.

c

Initial UI parameters.

m

Out-of-memory or fatal exit information.

o

Out-of-disk-space messages.

p

Terminal properties.

v

Verbose output.

x

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

Client Requires Windows Vista.
Server Requires Windows Server 2008.
Version Requires Windows Installer 4.0 or later.

See Also

Properties


Send comments about this topic to Microsoft

Build date: 6/5/2008

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker