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:
That is awesome, thanks man.
Post a Comment