https://bugs.winehq.org/show_bug.cgi?id=44005
--- Comment #5 from Zebediah Figura z.figura12@gmail.com --- Sorry, that got cut off.
What seems to make the most sense to me is that dlls which are overridden as native-only shouldn't have their resources registered by setupapi.
In particular I think it makes sense that setupapi should use DllRegisterServer() to register DLLs, instead of accessing the WINE_REGISTRY resource directly. This would mean firstly that the correct version of the DLL would be loaded, and secondly that we could get rid of the magic list of DLLs which do unusual things in their DllRegisterServer entry (RegisterDllsSection).