Have a look at mkhive in the reactos /tools folder. This does exactly what you need, reading inf files and building a resulting hive.
The only problem to this being usable for you right away, is the fact that the resulting hive can't be read by the NT kernel. However, as Filip stated, adding security attributes should fix this.
Ged.
-----Original Message----- From: ros-dev-bounces@reactos.org [mailto:ros-dev-bounces@reactos.org] On Behalf Of Martin v. Wittich Sent: 20 November 2008 13:04 To: ReactOS Development List Subject: Re: [ros-dev] Job offer: Linux tool to create a valid Windows Registry hive file
Christoph told me that they already tried to use cmlib to generate the
hives
and it didn't work, but I have no detailed information.
Not exactly cmlib, because we're not very experienced with C. We have tinkered a bit with pyhive and got it running on x86 with help from IRC, but as we essentially don't know anything about Windows internals, we gave up on figuring out why the resulting hives wouldn't load in Windows.