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 !