API to install ETW manifest

Hello ! For testing I use wevtutil to install etw manifest. Is there some api to install it ?

I donā€™t think we can do it through API. Even i explored around sometime but couldnā€™t find any useful info.

Donā€™t you just set the Registry entires via your INF?

Peter

Unfortunately not Peter :frowning: I ended up calling wevtutil from installer as custom action. This utility modifies a LOT of registry entries during manifest registration.

Unfortunately not Peter :frowning:

Hmmmmā€¦ IIRC, thatā€™s how we do it. There arenā€™t THAT many entries. And, IIRC, even ā€œuniversal INFsā€ are allowed to do this (because there is not good way to do it otherwise).

Anyhowā€¦ glad you found a way to do it.

Peter

Peter could you please share such inf ? Or maybe at least ETW manifest registration portion of it ?

Better yetā€¦ hereā€™s a discussion we had a few years back on this topic.

Thereā€™s also the AddEventProvider directive that you can supposedly put in your INF file. But Iā€™ve personally never seen it used. Itā€™s relatively new.

Peter

Thank you Peter !