EventSource Element (Util Extension)

Windows Installer XML

EventSource Element (Util Extension)

Description
Creates an event source.
Windows Installer references
None
Parents
Component
Inner Text
None
Children
None
Attributes
Name Type Description Required
CategoryCount Integer The number of categories in CategoryMessageFile. CategoryMessageFile must be specified too.  
CategoryMessageFile String Name of the category message file. CategoryCount must be specified too. Note that this is a formatted field, so you can use [#fileId] syntax to refer to a file being installed. It is also written as a REG_EXPAND_SZ string, so you can use %environment_variable% syntax to refer to a file already present on the user's machine.  
EventMessageFile String Name of the event message file. Note that this is a formatted field, so you can use [#fileId] syntax to refer to a file being installed. It is also written as a REG_EXPAND_SZ string, so you can use %environment_variable% syntax to refer to a file already present on the user's machine. Yes
KeyPath YesNoType Marks the EventSource registry as the key path of the component it belongs to.  
Log String Name of the event source's log. Yes
Name String Name of the event source. Yes
ParameterMessageFile String Name of the parameter message file. Note that this is a formatted field, so you can use [#fileId] syntax to refer to a file being installed. It is also written as a REG_EXPAND_SZ string, so you can use %environment_variable% syntax to refer to a file already present on the user's machine.  
SupportsErrors YesNoType Equivalent to EVENTLOG_ERROR_TYPE.  
SupportsFailureAudits YesNoType Equivalent to EVENTLOG_AUDIT_FAILURE.  
SupportsInformationals YesNoType Equivalent to EVENTLOG_INFORMATION_TYPE.  
SupportsSuccessAudits YesNoType Equivalent to EVENTLOG_AUDIT_SUCCESS.  
SupportsWarnings YesNoType Equivalent to EVENTLOG_WARNING_TYPE.  
See Also
Util Schema