Skip to main content
Version: v3

EventSource Element (Util Extension)

Description
Creates an event source.
Windows Installer references
None
Parents
Component
Inner Text
None
Children
None
Attributes
NameTypeDescriptionRequired
CategoryCountInteger The number of categories in CategoryMessageFile. CategoryMessageFile must be specified too.  
CategoryMessageFileString 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.  
EventMessageFileString 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
KeyPathYesNoType Marks the EventSource registry as the key path of the component it belongs to.  
LogStringName of the event source's log.Yes
NameStringName of the event source.Yes
ParameterMessageFileString 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.  
SupportsErrorsYesNoType Equivalent to EVENTLOG_ERROR_TYPE.  
SupportsFailureAuditsYesNoType Equivalent to EVENTLOG_AUDIT_FAILURE.  
SupportsInformationalsYesNoType Equivalent to EVENTLOG_INFORMATION_TYPE.  
SupportsSuccessAuditsYesNoType Equivalent to EVENTLOG_AUDIT_SUCCESS.  
SupportsWarningsYesNoType Equivalent to EVENTLOG_WARNING_TYPE.  
See Also
Util Schema