Difference between revisions of "ClamWin"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(can't run "start" in vista)
Line 7: Line 7:
 
* http://www.winlibre.com/wiki/doku.php?id=winlibre_dev:travail_en_cours
 
* http://www.winlibre.com/wiki/doku.php?id=winlibre_dev:travail_en_cours
  
 +
ClamWin version 0.95.3
  
 
== packages.xml ==  
 
== packages.xml ==  
 
<source lang="xml">
 
<source lang="xml">
<package id="clamwin" name="ClamWin Free Antivirus" revision="1" reboot="false" priority="10">
+
  <package id="clamwin" name="ClamWin Free Antivirus" revision="0953" priority="10" reboot="false">
        <check type="uninstall" condition="exists" path="ClamWin Free Antivirus 0.91.2" />
+
    <check type="uninstall" condition="exists" path="ClamWin Free Antivirus 0.95.3"/>
        <install cmd='"%SOFTWARE%\ClamWin\clamwin-0.91.2-setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL' />
+
    <install cmd="%SOFTWARE%\ClamWin\clamwin-0.95.3-setup.exe /sp- /silent /norestart /NOTB"/>
        <install cmd='"%PROGRAMFILES%\ClamWin\bin\WClose.exe"' />
+
    <install cmd="%PROGRAMFILES%\ClamWin\bin\WClose.exe"/>
        <install cmd='cmd /C copy /y "%SOFTWARE%\ClamWin\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf"' />
+
    <install cmd="cmd /C copy /y "%SOFTWARE%\ClamWin\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf""/>
        <install cmd='cmd /C copy /y "%SOFTWARE%\ClamWin\ScheduledScans" "%PROGRAMFILES%\ClamWin\bin\ScheduledScans"' />
+
    <install cmd="cmd /C copy /y "%SOFTWARE%\ClamWin\ScheduledScans" "%PROGRAMFILES%\ClamWin\bin\ScheduledScans""/>
        <install cmd='"%PROGRAMFILES%\ClamWin\bin\ClamTray.exe"' />
+
        <upgrade cmd='"%SOFTWARE%\ClamWin\clamwin-0.91.2-setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL'></upgrade>
+
        <upgrade cmd='"%PROGRAMFILES%\ClamWin\bin\WClose.exe"' />
+
        <upgrade cmd='cmd /C copy /y "%SOFTWARE%\ClamWin\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf"' />
+
        <upgrade cmd='cmd /C copy /y "%SOFTWARE%\ClamWin\ScheduledScans" "%PROGRAMFILES%\ClamWin\bin\ScheduledScans"' />
+
        <upgrade cmd='"%PROGRAMFILES%\ClamWin\bin\ClamTray.exe"' />
+
        <remove  cmd='"%PROGRAMFILES%\ClamWin\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL' />
+
</package>
+
  
<package id="clamwinconf" name="ClamWin Free Antivirus config" revision="4" reboot="false" priority="1" execute="once" >
+
    <upgrade cmd="%PROGRAMFILES%\ClamWin\bin\WClose.exe"/>
        <depends package-id="clamwin"/>
+
    <upgrade cmd="%SOFTWARE%\ClamWin\clamwin-0.95.3-setup.exe /sp- /silent /norestart /NOTB"/>
        <install cmd='"%PROGRAMFILES%\ClamWin\bin\WClose.exe"' />
+
    <upgrade cmd="%PROGRAMFILES%\ClamWin\bin\WClose.exe"/>
        <install cmd='cmd /C copy /y "%SOFTWARE%\ClamWin\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf"' />
+
    <upgrade cmd="cmd /C copy /y "%SOFTWARE%\ClamWin\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf""/>
        <install cmd='cmd /C copy /y "%SOFTWARE%\ClamWin\ScheduledScans" "%PROGRAMFILES%\ClamWin\bin\ScheduledScans"' />
+
    <upgrade cmd="cmd /C copy /y "%SOFTWARE%\ClamWin\ScheduledScans" "%PROGRAMFILES%\ClamWin\bin\ScheduledScans""/>
        <install cmd='cmd /C start "clamtray" "%PROGRAMFILES%\ClamWin\bin\ClamTray.exe"' />
+
 
 +
    <remove cmd="%PROGRAMFILES%\ClamWin\bin\WClose.exe"/>
 +
    <remove cmd="%PROGRAMFILES%\ClamWin\unins000.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL"/>
 
</package>
 
</package>
  

Revision as of 20:53, 25 November 2009

This is a silent installer and uninstaller for ClamWin.

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.

References:

ClamWin version 0.95.3

packages.xml

  <package id="clamwin" name="ClamWin Free Antivirus" revision="0953" priority="10" reboot="false">
    <check type="uninstall" condition="exists" path="ClamWin Free Antivirus 0.95.3"/>
    <install cmd="%SOFTWARE%\ClamWin\clamwin-0.95.3-setup.exe /sp- /silent /norestart /NOTB"/>
    <install cmd="%PROGRAMFILES%\ClamWin\bin\WClose.exe"/>
    <install cmd="cmd /C copy /y "%SOFTWARE%\ClamWin\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf""/>
    <install cmd="cmd /C copy /y "%SOFTWARE%\ClamWin\ScheduledScans" "%PROGRAMFILES%\ClamWin\bin\ScheduledScans""/>

    <upgrade cmd="%PROGRAMFILES%\ClamWin\bin\WClose.exe"/>
    <upgrade cmd="%SOFTWARE%\ClamWin\clamwin-0.95.3-setup.exe /sp- /silent /norestart /NOTB"/>
    <upgrade cmd="%PROGRAMFILES%\ClamWin\bin\WClose.exe"/>
    <upgrade cmd="cmd /C copy /y "%SOFTWARE%\ClamWin\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf""/>
    <upgrade cmd="cmd /C copy /y "%SOFTWARE%\ClamWin\ScheduledScans" "%PROGRAMFILES%\ClamWin\bin\ScheduledScans""/>

    <remove cmd="%PROGRAMFILES%\ClamWin\bin\WClose.exe"/>
    <remove cmd="%PROGRAMFILES%\ClamWin\unins000.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL"/>
</package>

Tip: Avoiding e-mail alerts on phishing

http://forums.clamwin.com/viewtopic.php?p=3251#3251

clamscanparams = --no-html