[clam-devel] Bug #000002: NetworkEditor binary in Windows does not see plugins

David García Garzón david.garcia at barcelonamedia.org
Tue Feb 9 07:15:27 PST 2010


NetworkEditor and Chordata are ready to be installed in windows. Try those 
installables: http://84.88.76.195/~david.garcia/test/
There is an only remaining problem i am aware of, but i let it as bug for 
later reference:
----
Windows NetworkEditor installer installs the plugins but they are not
available. The problem is that the plugins can not be loaded because
they depend on dll available in a different location not in the PATH.

Possible solutions:

* The program launcher lnk sets the path before launching the app
** My ideal solution, but no idea how to do that in windows. Anyone?

* The installer adds lib/plugins in PATH environment so that the required dlls 
are available
** Adding a nsis library and using it 
http://nsis.sourceforge.net/Path_Manipulation

* Install the plugins into bin, but requires further filtering in order not to 
load non-plugin dlls in that directory
** Filtering by present symbol is nice but I do not know whether lazy load 
works in windows.
** Filtering by name patters is weak but could work

Does anyone know how i can build an launcher (menu or desktop icon) so that it 
sets environment vars.

David.



More information about the clam-devel mailing list