Hi Thile,

you are right concerning the Program Files directory. It is not as
flexible as beeing able to install it in any given directory.
To achiev that, the simples way would be to use the path the program was
started from.  You then would only have to specify the path, if the
config file was outside the ClamAv directory structure.
Nevertheless using %programFiles% would at least help to install it on
every given localized windows version.

Cheers
Wilhelm

[EMAIL PROTECTED] schrieb:
> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Wilhelm Speck
> Gesendet: Mittwoch, 6. Juni 2007 09:15
> An: [email protected]
> 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 
>
> [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 
>> [mailto:[EMAIL PROTECTED] Im Auftrag von Ulf 
>> Jaenicke-Rößler
>> Gesendet: Freitag, 1. Juni 2007 16:28
>> An: [email protected]
>> 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
>
>
> _______________________________________________
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-win32
>   

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

Reply via email to