Export (0) Print
Expand All
Expand Minimize
2 out of 4 rated this helpful - Rate this topic

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.

ValueMeaning
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

Version

Windows Installer 5.0 on Windows Server 2012, Windows 8, 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

Properties
Not Supported in Windows Installer 3.1 and earlier versions

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.