The EventLog Install section adds an event message file to the registry. You can also use an EventLog Install section to remove an event message file.
[install-section-name_EventLogInstallSection]
AddReg=add-registry-section
DelReg=del-registry-section
The following is an example of a typical EventLog Install section:
[sermouse_EventLog_Inst]
AddReg=sermouse_EventLog_AddReg
[sermouse_EventLog_AddReg]
HKR,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll\;%%SystemRoot%%\System32\drivers\sermouse.sys"
HKR,,TypesSupported,0x00010001,7
Overview, INF File Format Reference