Hi there, On Thu, 16 Sep 2021, Marcy Rogers via clamav-users wrote:
I have a question about the Windows Installation of the ClamAV .104.0 software.
I don't use Windows any more but I'll try to help in case nobody with more current Windows experience chips in.
I know that the .msi is not working correctly. On your documentation
For the avoidance of doubt, I'm just another user like you, and this mailing list is mostly populated by users. A couple of people from the Sourcefire which is (now) the provider of ClamAV keep an eye on things here and make announcements etc. There are third parties who provide packages to install ClamAV on Windows but AFAIK the Windows installation instructions in the official ClamAV documentation assume that you've installed from the source. FWIW I think that's the best way to do it and it's what I always do. (on Linux, however).
under the configuration, you have to check the Registry to confirm the location of the Databases. When I search my registry for the paths you have listed, Clamav is not listed under the software folder at all. Config files path search order: 1. The content of the registry key: "HKEY_LOCAL_MACHINE/Software/ClamAV/ConfDir" 2. The directory where libclamav.dll is located: "C:\Program Files\ClamAV" 3. "C:\ClamAV" Database files path search order: 1. The content of the registry key: "HKEY_LOCAL_MACHINE/Software/ClamAV/DataDir" 2. The directory "database" inside the directory where libclamav.dll is located: "C:\Program Files\ClamAV\database" 3. "C:\ClamAV\db" The number 1's is not on my machine at all. I can add it but is there anything else that should be listed under ClamAV path?
As I understand it, the paths in the sections above which you have copied from the official documentation are telling you where ClamAV WILL look under normal circumstances (i.e. when you have installed ClamAV as directed and not modified things too much) for the library and database files. It doesn't actually EXPECT you to have modified those Registry keys but you can if you wish. If you don't modify the Registry keys, all you need to do is make sure that the library and database files are in the places where ClamAV will look for them when it needs them. It's up to you where you store the database files but the configuration file for freshclam (freshclam.conf) needs to have the location of the datbase files in its 'DatabaseDirectory' line. Here's mine: $ grep DatabaseDirectory /etc/mail/clamav/freshclam.conf DatabaseDirectory /EXPORTS/clamav/databases $ The path is in /EXPORTS because in our case the database directory is on a network-mounted partition remote from the server itself. If for example you decided NOT to put your database files in the directory "C:\ClamAV\db" or in the directory "C:\Program Files\ClamAV\database" then set the value of "HKEY_LOCAL_MACHINE/Software/ClamAV/DataDir" to tell ClamAV where you've put them. But I think it's there for that reason, and under normal circumstances you won't need to change it.
I have looked at the machines that are still running the .103.3 and there is nothing listed in those registry keys either.
I guess the same applies to earlier versions. HTH -- 73, Ged. _______________________________________________ clamav-users mailing list [email protected] https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
