Monday, May 01, 2006

Forcing Clamwin on Windows Users

Clamwin was released on April 30. I figured I'd force it on some of my windows users that did not yet have it installed. I placed something similar to the following in the Samba logon script:


"X:\Antivirus\Clamwin\clamwin-" /sp- /silent /norestart

REM If ClamWin isn't installed, install it
IF NOT EXIST "%ProgramFiles%\ClamWin\bin\ClamWin.exe" goto CLAMAVINSTALL

In the real logon script(beware of line breaks) I do checks for multiple antivirus program executables, and push this new version of ClamWin on users that already have a previous ClamWin version installed.

1 comment:

Steve said...

That is awesome, thanks man.