Spybot Search and Destroy
Installation
This silently installs Spybot Search & Destroy version 1.6 - a free (as in beer) spyware removal program.
To install, get two files from http://www.safer-networking.org:
- spybotsd16.exe
- spybotsd_includes.exe
Excerpt from packages.xml:
<package
id="spybotsd16"
name="Spybot Search and Destroy 1.6"
revision="1"
reboot="false"
priority="1">
<check type="uninstall" condition="exists" path="Spybot - Search & Destroy" />
<install cmd='"%SOFTWARE%\spybot\spybotsd16.exe" /verysilent /noreboot /loadinf="%SOFTWARE%\spybot\default.inf" /dir="%PROGRAMFILES%\spybot"' />
<install cmd='"%SOFTWARE%\spybot\spybotsd_includes.exe" /S' />
<install cmd='"%PROGRAMFILES%\spybot\SpybotSD.exe" /taskbarhide /autoimmunize /autoclose' />
<upgrade cmd='"%SOFTWARE%\spybot\spybotsd_includes.exe" /S' />
<upgrade cmd='"%PROGRAMFILES%\spybot\SpybotSD.exe" /taskbarhide /autoimmunize /autoclose' />
<remove cmd='"%ProgramFiles%\spybot\unins000.exe" /noreboot /verysilent' />
</package>
Uninstall restart computer without prompting.
default.inf (Create your own default.inf with "spybotsd16.exe /saveinf=default.inf")
[Setup]
Lang=cs
Group=Spybot - Search & Destroy
NoIcons=0
SetupType=custom
Components=main,blind,language,skins,sdshredder
Tasks=desktopicon,launchsdhelper
As the Spybot S&D detection rules need to be updated from time to time and the program's internal update mechanisms (or the mirrors) suck, the easiest way to update all the clients is such:
- download the new spybotsd_includes.exe file into the server
- increment the revision counter by one
Running Spybot S&D using WPKG
You could also run the program once using the following package, although I recommend against it, as there might be problems that cannot be resolved without user interaction. And it should preferably be run when computer is idle and there wasn't a nervous user behind the keyboard who has just logged in and is itching to mess things up.
The priority must be set lower than installation package.
<package
id="spybotsd-run"
name="run Spybot Search and Destroy"
revision="1"
reboot="false"
priority="0"
execute="once">
<install cmd='"%ProgramFiles%\spybot\SpybotSD.exe" /autocheck /autofix /autoimmunize /taskbarhide /autoclose' />
</package>
If you feel like running it again, increment its revision number.