Changes

Jump to: navigation, search

ClamWin

529 bytes removed, 02:04, 16 November 2007
no edit summary
ClamWin is an free, open source antivirus scanner for Windows. ClamWin uses the ClamAV antivirus scanning engine. ClamWin supports on-request and scheduled scanning, but ClamWin does not perform any on-access scanning.
 
ClamWin 0.88.1 uses Inno Setup.
References:
== packages.xml ==
<pre>
<!-- Version 1.0 of clamwin will switch to NSIS installer, meaning install arguments will change See: http://forums.clamwin.com/viewtopic.php?p=5673#5673 --> <package id="clamwin" name="ClamWin Free Antivirus" revision="09121" reboot="false" priority="110"> <check type="uninstall" condition="exists" path="ClamWin Free Antivirus 0.8891.12" /> <install cmd='"%SOFTWAREPACKAGES%\ClamWin\clamwin-0.91.2-setup.exe " /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL' /> <install cmd='"%SOFTWAREPROGRAMFILES%\ClamWin\clam-confbin\WClose.batexe"' /> <exit codeinstall cmd='cmd /C copy /y "0%PACKAGES%\ClamWin\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf"' /> <exit codeinstall cmd='cmd /C copy /y "1%PACKAGES%\ClamWin\ScheduledScans" "%PROGRAMFILES%\ClamWin\bin\ScheduledScans"' /> </installcmd='start "clamtray" "%PROGRAMFILES%\ClamWin\bin\ClamTray.exe"' /> <upgrade cmd='"%SOFTWAREPACKAGES%\ClamWin\clamwin-0.91.2-setup.exe " /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL'></upgrade> <exit codeupgrade cmd='"0%PROGRAMFILES%\ClamWin\bin\WClose.exe" ' /> <upgrade cmd='cmd /C copy /y "%PACKAGES%\ClamWin\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf"' /> <upgradecmd='cmd /C copy /y "%PACKAGES%\ClamWin\ScheduledScans" "%PROGRAMFILES%\ClamWin\bin\ScheduledScans"' /> <upgrade cmd='start "clamtray" "%SOFTWAREPROGRAMFILES%\ClamWin\clam-confbin\ClamTray.batexe"' /> <exit coderemove cmd='"0%PROGRAMFILES%\ClamWin\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL' /> <exit code/package> <package id="clamwinconf" name="ClamWin Free Antivirus config" revision="4" reboot="false" priority="1" /execute="once" > <depends package-id="clamwin"/upgrade> <remove install cmd="'"%PROGRAMFILES%\ClamWin\unins000bin\WClose.exe"' /VERYSILENT > <install cmd='cmd /SUPPRESSMSGBOXES C copy /NORESTART y "%PACKAGES%\ClamWin\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf"' /NOCANCEL> <install cmd='cmd /C copy /y " %PACKAGES%\ClamWin\ScheduledScans" "%PROGRAMFILES%\ClamWin\bin\ScheduledScans"' /> <install cmd='cmd /C start "clamtray" "%PROGRAMFILES%\ClamWin\bin\ClamTray.exe"' /></package> 
</pre>
<pre>
@echo off
REM
REM This batch file configures ClamWin, so you can setup e-mail
REM reports, a web proxy, schedulding, etc.
REM
REM To use this batch file, configure ClamWin using the GUI
REM and copy the clamwin.conf and ScheduledScans to your server.
REM
 
mkdir "%PROGRAMFILES%\clamwin"
mkdir "%PROGRAMFILES%\clamwin\bin"
copy /y %SOFTWARE%\ClamWin\clamwin-nt.conf "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf"
copy /y %SOFTWARE%\ClamWin\ScheduledScans "%PROGRAMFILES%\ClamWin\bin\ScheduledScans"
 
VER | FIND "XP" > nul
IF not errorlevel 1 GOTO Win_2000XP
 
VER | FIND "Windows 2000" > nul
IF not errorlevel 1 GOTO Win_2000XP
 
VER | FIND "98" > nul
IF not errorlevel 1 GOTO Win_9xME
 
VER | FIND "Millennium" > nul
IF not errorlevel 1 GOTO Win_9xME
 
VER| FIND "95" > nul
IF not errorlevel 1 GOTO Win_9xME
 
goto Win_unknown
 
:Win_2000XP
echo on
"%PROGRAMFILES%\ClamWin\bin\WClose.exe"
copy /y %SOFTWARE%\ClamWin\clamwin-nt.conf "%APPDATA%\.clamwin\ClamWin.conf"
copy /y %SOFTWARE%\ClamWin\ScheduledScans "%APPDATA%\.clamwin\"
start "clamtray" "%PROGRAMFILES%\ClamWin\bin\ClamTray.exe"
goto end
 
:Win_9xME
echo You are running Windows 95, 98, or ME
echo not yet implemented
goto end
 
:Win_unknown
echo "ERROR: Your Windows version is unknown!"
 
:end
</pre>
Anonymous user

Navigation menu