EventSource element (Util extension)
Creates an event source.
Attributes
CategoryCount
wxs:IntegerThe number of categories in CategoryMessageFile. CategoryMessageFile must be specified too.
CategoryMessageFile
stringName 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 requiredName 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.
KeyPath
wxs:YesNoTypeUnionMarks the EventSource registry as the key path of the component it belongs to.
Log
string requiredName of the event source’s log. The “Security” log is not support.
Name
string requiredName of the event source.
ParameterMessageFile
stringName 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
wxs:YesNoTypeUnionEquivalent to EVENTLOG_ERROR_TYPE.
SupportsFailureAudits
wxs:YesNoTypeUnionEquivalent to EVENTLOG_AUDIT_FAILURE.
SupportsInformationals
wxs:YesNoTypeUnionEquivalent to EVENTLOG_INFORMATION_TYPE.
SupportsSuccessAudits
wxs:YesNoTypeUnionEquivalent to EVENTLOG_AUDIT_SUCCESS.
SupportsWarnings
wxs:YesNoTypeUnionEquivalent to EVENTLOG_WARNING_TYPE.