Difference between revisions of "Spybot Search and Destroy"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Installation)
(Running Spybot S&D using WPKG)
Line 55: Line 55:
 
<source lang="xml">
 
<source lang="xml">
 
<package
 
<package
   id="spybotsd14-run"
+
   id="spybotsd-run"
   name="run Spybot Search and Destroy 1.4"
+
   name="run Spybot Search and Destroy"
 
   revision="1"
 
   revision="1"
 
   reboot="false"
 
   reboot="false"
Line 62: Line 62:
 
   execute="once">
 
   execute="once">
 
   
 
   
   <install cmd='"%ProgramFiles%\Spybot - Search &amp;amp; Destroy\SpybotSD.exe" /autocheck /autofix /autoimmunize /taskbarhide /autoclose' />
+
   <install cmd='"%ProgramFiles%\spybot\SpybotSD.exe" /autocheck /autofix /autoimmunize /taskbarhide /autoclose' />
  
 
</package>
 
</package>

Revision as of 08:31, 1 August 2008

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:

  1. spybotsd16.exe
  2. 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

[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:

  1. download the new spybotsd_includes.exe file into the server
  2. 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.