Monday, May 01, 2006

Forcing Clamwin 0.88.2.1 on Windows Users

Clamwin 0.88.2.1 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:

goto CLAMAVCHECK

:CLAMAVINSTALL
"X:\Antivirus\Clamwin\clamwin-0.88.2.1-setup.exe" /sp- /silent /norestart
EXIT

:CLAMAVCHECK
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:

Anonymous said...

That is awesome, thanks man.