26
edits
Changes
ClamWin
,there is no PACKAGES variable. Use SOFTWARE.
<package id="clamwin" name="ClamWin Free Antivirus" revision="1" reboot="false" priority="10">
<check type="uninstall" condition="exists" path="ClamWin Free Antivirus 0.91.2" />
<install cmd='"%PACKAGESSOFTWARE%\ClamWin\clamwin-0.91.2-setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL' />
<install cmd='"%PROGRAMFILES%\ClamWin\bin\WClose.exe"' />
<install cmd='cmd /C copy /y "%PACKAGESSOFTWARE%\ClamWin\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf"' /> <install cmd='cmd /C copy /y "%PACKAGESSOFTWARE%\ClamWin\ScheduledScans" "%PROGRAMFILES%\ClamWin\bin\ScheduledScans"' />
<install cmd='start "clamtray" "%PROGRAMFILES%\ClamWin\bin\ClamTray.exe"' />
<upgrade cmd='"%PACKAGESSOFTWARE%\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 "%PACKAGESSOFTWARE%\ClamWin\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf"' /> <upgrade cmd='cmd /C copy /y "%PACKAGESSOFTWARE%\ClamWin\ScheduledScans" "%PROGRAMFILES%\ClamWin\bin\ScheduledScans"' />
<upgrade cmd='start "clamtray" "%PROGRAMFILES%\ClamWin\bin\ClamTray.exe"' />
<remove cmd='"%PROGRAMFILES%\ClamWin\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL' />
<depends package-id="clamwin"/>
<install cmd='"%PROGRAMFILES%\ClamWin\bin\WClose.exe"' />
<install cmd='cmd /C copy /y "%PACKAGESSOFTWARE%\ClamWin\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf"' /> <install cmd='cmd /C copy /y "%PACKAGESSOFTWARE%\ClamWin\ScheduledScans" "%PROGRAMFILES%\ClamWin\bin\ScheduledScans"' />
<install cmd='cmd /C start "clamtray" "%PROGRAMFILES%\ClamWin\bin\ClamTray.exe"' />
</package>
</source>
== Tip: Avoiding e-mail alerts on phishing ==