3,217
edits
Changes
ClamWin
,no edit summary
* http://www.samag.com/documents/s=9464/sam0501a/0501a.htm
* http://www.winlibre.com/wiki/doku.php?id=winlibre_dev:travail_en_cours
priority="1">
<check type="uninstall" condition="exists" path="ClamWin Free Antivirus 0.88.1" />
<install cmd='%SOFTWARE%\\server\public\software\windowsClamWin\clamwin-0.88.1-setup.exe SP- /SILENT /NORESTART /NOCANCEL'> <exit code="0" /> </install> <install cmd='%SOFTWARE%\\server\netlogon\wpkg\clamwinClamWin\clam-conf.bat' >
<exit code="0" />
<exit code="1" />
</install>
<upgrade cmd='%SOFTWARE%\\server\public\software\windowsClamWin\clamwin-0.88.1-setup.exe SP- /SILENT /NORESTART /NOCANCEL'>
<exit code="0" />
</upgrade>
<upgrade cmd='%SOFTWARE%\\server\netlogon\wpkg\clamwinClamWin\clam-conf.bat' >
<exit code="0" />
<exit code="1" />
</upgrade>
<remove cmd='C:\Program Files%PROGRAMFILES%\ClamWin\unins000.exe' />
</package>
</pre>
mkdir "%PROGRAMFILES%\clamwin"
mkdir "%PROGRAMFILES%\clamwin\bin"
copy /y %SOFTWARE%\\server\netlogon\wpkg\clamwinClamWin\clamwin-nt.conf "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf"copy /y %SOFTWARE%\\server\netlogon\wpkg\clamwinClamWin\ScheduledScans "%PROGRAMFILES%\ClamWin\bin\ScheduledScans"
VER | FIND "XP" > nul
echo on
"%PROGRAMFILES%\ClamWin\bin\WClose.exe"
copy /y %SOFTWARE%\\server\netlogon\wpkg\clamwinClamWin\clamwin-nt.conf "%USERPROFILE%\Application Data\.clamwin\ClamWin.conf"copy /y %SOFTWARE%\\server\netlogon\wpkg\clamwinClamWin\ScheduledScans "%USERPROFILE%\Application Data\.clamwin\"
start "clamtray" "%PROGRAMFILES%\ClamWin\bin\ClamTray.exe"
goto end
[[category:Silent Installers|ClamWin]]