Disable logging via package settings

The MsiLogging property in an installation package can be used to enable automatic logging of all install operations for the package. This setting controls Windows Installer's processing of this property.

If you enable this setting, you can use the options in the Disable logging via package settings box to control automatic logging via package settings behavior.

-- The "Logging Via Package Settings On" option instructs Windows Installer to automatically generate log files for packages that include the MsiLogging property.

-- The "Logging Via Package Settings Off" option turns off the automatic logging behavior when specified via the MsiLogging policy. Log files can still be generated using the logging command line switch or the Logging policy.

If you do not configure this setting, Windows Installer will automatically generate log files for those packages that include the MsiLogging property.

Supported on: Windows Installer v4.0

Disable logging via package settings


  1. Disable logging via package settings off
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\Installer
    Value NameDisableLoggingFromPackage
    Value TypeREG_DWORD
    Value1
  2. Disable logging via package settings on
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\Installer
    Value NameDisableLoggingFromPackage
    Value TypeREG_DWORD
    Value0


msi.admx

Administrative Templates (Computers)

Administrative Templates (Users)