[clamav-win32] "program files" vs %ProgramFiles%

Thilo.Klein at softlogic.de Thilo.Klein at softlogic.de
Wed Jun 6 11:00:36 CEST 2007


That may be better, or not. If clamav is installed to the default program directory you are right. But the command line option is still needed to choose a totally different application directory, lets say z:\antivirus\clamav. The system wide environment variable would not help in that case. The only possibility apart from the command line would be to let the installer write the path to the registry and clamd.exe use that value and the relative path \conf\clamd.conf to locate the config file. I for myself like programs, that don't use the registry. I am happy that Nigel offers the files comprising clamav apart from the installer msi, so upgrading is just stop the daemon and copy over, uninstalling is just deleting. 

Regards
Thilo

-----Ursprüngliche Nachricht-----
Von: clamav-win32-bounces at lists.clamav.net [mailto:clamav-win32-bounces at lists.clamav.net] Im Auftrag von Wilhelm Speck
Gesendet: Mittwoch, 6. Juni 2007 09:15
An: clamav-win32 at lists.clamav.net
Betreff: Re: [clamav-win32] "program files" vs %ProgramFiles%

Yeah, but why use this uncomfortable workarround, if one could use a system wide environment variable like ProgramFiles?
Hardcoding a path was a common problem in the past, but should stay in the past.
Just my 2 Ct.

Wilhelm 

Thilo.Klein at softlogic.de schrieb:
> Use the command line option --config-file=FILE or -c FILE  for clamd.exe where FILE is the path to your configuration file. In your case c:\programme\clamav\conv\clamd.conf. In the config file change the path of data, temp and program dir accordingly. I mangaged to run the deamon on d:\clamav some time ago, it is possible.
>
> Thilo
>
> -----Ursprüngliche Nachricht-----
> Von: clamav-win32-bounces at lists.clamav.net 
> [mailto:clamav-win32-bounces at lists.clamav.net] Im Auftrag von Ulf 
> Jaenicke-Rößler
> Gesendet: Freitag, 1. Juni 2007 16:28
> An: clamav-win32 at lists.clamav.net
> Betreff: Re: [clamav-win32] "program files" vs %ProgramFiles%
>
> Hi,
>
>   
>> Edit your clamd.conf file in c:\program files\clamav\conf folder
>>     
>
> The problem is, that I don't have a c:\program files\clamav\conf folder - it's c:\programme\clamav\conv - editing files in that folder has no effect.
>
> Thanks
>  Ulf
> _______________________________________________
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-win32
>
>
> _______________________________________________
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-win32
>   

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-win32




More information about the clamav-win32 mailing list