Ge van Geldorp wrote:
[snip]
That means we'll need an .inf file to describe
which DLLs need to be
registered. Windows has a syssetup.inf file for this, with a
[OleControlDlls] section listing the DLLs to register/install. We can of
course manually maintain a syssetup.inf file in bootdata, but this means one
more file to keep up to date when you add a module.
We already have syssetup.inf in media/inf and it's processed during
second stage setup (not sure if we run the SPINST_REGSVR action tho).
So I was thinking, maybe
we could add an 'autoregister="R"' (indicating setup should call
DllRegisterServer(), "I" to indicate it should call DllInstall() and
"B" to
indicate it should call both) attribute to <module> in the .xml file. Then
rbuild should be able to automatically generate a syssetup.inf file. We
could go one step further and also generate the
bootdata/packages/reactos.dff file in a similar way.
Surely it would be interesting to autogenerate it (but not into
syssetup.inf directly).
- Filip