Skip to content

EventSource element (Util extension)

Creates an event source.

Attributes

CategoryCount

wxs: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 required

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.

KeyPath

wxs:YesNoTypeUnion

Marks the EventSource registry as the key path of the component it belongs to.

Log

string required

Name of the event source’s log. The “Security” log is not support.

Name

string required

Name of the event source.

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

wxs:YesNoTypeUnion

Equivalent to EVENTLOG_ERROR_TYPE.

SupportsFailureAudits

wxs:YesNoTypeUnion

Equivalent to EVENTLOG_AUDIT_FAILURE.

SupportsInformationals

wxs:YesNoTypeUnion

Equivalent to EVENTLOG_INFORMATION_TYPE.

SupportsSuccessAudits

wxs:YesNoTypeUnion

Equivalent to EVENTLOG_AUDIT_SUCCESS.

SupportsWarnings

wxs:YesNoTypeUnion

Equivalent to EVENTLOG_WARNING_TYPE.

Parents