DBus in PATH in Windows

Thomas Sondergaard ts at medical-insight.com
Thu Jan 12 04:04:36 PST 2012


On 12-01-2012 11:45, Ogden, Nick wrote:
> Thanks Thomas,
>
> In that case, it seems that the only issue I face is where DBus attempts to read the bus configuration file from. Will the binary directory also be searched or must the path to the config file be provided explicitly?
>
> Regards,
> Nick

We install like this, so I know this works:

<install-root>\bin\<.exe and .dll>
<install-root>\etc\dbus-1\session.conf

 From this comment from dbus/dbus/dbus-sysdeps-win.c it appears you have 
a few options:

/**
   find config file either from installation or build root according to
   the following path layout
     install-root/
       bin/dbus-daemon[d].exe
       etc/<config-file>.conf *or* etc/dbus-1/<config-file>.conf
       (the former above is what dbus4win uses, the latter above is
       what a "normal" Unix-style "make install" uses)

     build-root/
       bin/dbus-daemon[d].exe
       bus/<config-file>.conf
*/

Thomas



More information about the dbus mailing list