Hi @Aurélien Tollard ,
Thanks for your detailed layout!
After digging around, I don't think there is a supported way to register an out-of-process WinRT component system-wide using only an INF installer alone now. The required registry keys for WinRT activation are protected by TrustedInstaller, and Microsoft does not provide any INF directive or API for this just like you said.
The only supported options I managed to find are:
MSIX/Desktop Bridge packaging:
Declare the out-of-proc server in the package manifest, and Windows handles registration during deployment.
Reference:
Registration-Free WinRT (RegFreeWinRT):
Works for non-packaged apps without registry writes, but it’s per-process, not system-wide.
Reference:
If system-wide activation without MSIX is required, you should consider classic COM, which supports out-of-proc servers and can be registered by INF: Registering COM Servers
I hope this answer your question! If you have any questions, please comment below. I'll be happy to help!