Difference between revisions of "ClamWin"
From WPKG | Open Source Software Deployment and Distribution
(64 bit works. verysilent. don't download during install. 0.98.1. Fixed quote error.) |
|||
Line 1: | Line 1: | ||
This is a silent installer and uninstaller for ClamWin. | This is a silent installer and uninstaller for ClamWin. | ||
+ | |||
+ | See also [[ClamSentinel]] for real time scanning. | ||
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 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. | ||
Line 12: | Line 14: | ||
== packages.xml == | == packages.xml == | ||
<source lang="xml"> | <source lang="xml"> | ||
− | <package id="clamwin" name="ClamWin Free Antivirus" revision=" | + | <!-- |
− | + | Tested on: | |
− | + | Windows XP 32bit | |
− | + | Windows 7 64bit | |
− | + | --> | |
− | + | <package id="clamwin" name="ClamWin Free Antivirus" revision="%version%-20140612" priority="10" reboot="false"> | |
+ | <variable architecture="x86" name="progfiles" value="%PROGRAMFILES%" /> | ||
+ | <variable architecture="x64" name="progfiles" value="%PROGRAMFILES(X86)%" /> | ||
+ | <variable name="version" value="0.98.1" /> | ||
+ | |||
+ | <!-- Instead of %version% we match .*, for any Clam version --> | ||
+ | <check type="uninstall" condition="exists" path="ClamWin Free Antivirus .*"/> | ||
+ | |||
+ | <!-- | ||
+ | DownloadDB would be fine, but it wants to popup a GUI. | ||
+ | Additionally, any proxy settings, etc won't be available for it yet. | ||
+ | --> | ||
+ | <install cmd="%SOFTWARE%\ClamWin\clamwin-%version%-setup.exe /sp- /verysilent /suppressmsgboxes /norestart /notb /mergetasks=!DownloadDB "/> | ||
+ | <install cmd="%progfiles%\ClamWin\bin\WClose.exe"/> | ||
+ | <!-- | ||
+ | Perhaps use http://www.clamwin.com/images/stories/ClamWin.conf | ||
+ | --> | ||
+ | <install cmd='cmd /C copy /y "%SOFTWARE%\ClamWin\ClamWin.conf" "%progfiles%\ClamWin\bin\ClamWin.conf"'/> | ||
− | + | <upgrade cmd="%progfiles%\ClamWin\bin\WClose.exe"/> | |
− | + | <upgrade include="install"/> | |
− | + | ||
− | + | ||
− | + | ||
− | + | <remove cmd="%progfiles%\ClamWin\bin\WClose.exe"/> | |
− | + | <remove cmd="%progfiles%\ClamWin\unins000.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL"/> | |
</package> | </package> | ||
Latest revision as of 22:26, 12 June 2014
This is a silent installer and uninstaller for ClamWin.
See also ClamSentinel for real time scanning.
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:
- http://www.samag.com/documents/s=9464/sam0501a/0501a.htm
- http://www.winlibre.com/wiki/doku.php?id=winlibre_dev:travail_en_cours
The /NOTB option is necessary with newer versions to prevent the installation of the "Ask Toolbar" package along with ClamWin. (Lower case /notb is needed for version 97.7)
packages.xml
<!--
Tested on:
Windows XP 32bit
Windows 7 64bit
-->
<package id="clamwin" name="ClamWin Free Antivirus" revision="%version%-20140612" priority="10" reboot="false">
<variable architecture="x86" name="progfiles" value="%PROGRAMFILES%" />
<variable architecture="x64" name="progfiles" value="%PROGRAMFILES(X86)%" />
<variable name="version" value="0.98.1" />
<!-- Instead of %version% we match .*, for any Clam version -->
<check type="uninstall" condition="exists" path="ClamWin Free Antivirus .*"/>
<!--
DownloadDB would be fine, but it wants to popup a GUI.
Additionally, any proxy settings, etc won't be available for it yet.
-->
<install cmd="%SOFTWARE%\ClamWin\clamwin-%version%-setup.exe /sp- /verysilent /suppressmsgboxes /norestart /notb /mergetasks=!DownloadDB "/>
<install cmd="%progfiles%\ClamWin\bin\WClose.exe"/>
<!--
Perhaps use http://www.clamwin.com/images/stories/ClamWin.conf
-->
<install cmd='cmd /C copy /y "%SOFTWARE%\ClamWin\ClamWin.conf" "%progfiles%\ClamWin\bin\ClamWin.conf"'/>
<upgrade cmd="%progfiles%\ClamWin\bin\WClose.exe"/>
<upgrade include="install"/>
<remove cmd="%progfiles%\ClamWin\bin\WClose.exe"/>
<remove cmd="%progfiles%\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