Difference between revisions of "Spybot Search and Destroy"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(No difference)

Revision as of 21:41, 24 October 2005

Installation

This installs Spybot Search & Destroy version 1.4 - a free (as in beer) spyware removal program.

To install, get two files from http://www.safer-networking.org -

  1. spybotsd14.exe
  2. spybotsd_includes.exe

Exerpt from packages.xml:

<package
  id="spybotsd14"
  name="Spybot Search and Destroy 1.4"
  revision="1"
  reboot="false"
  priority="1">

  <check type="uninstall" condition="exists" path="Spybot - Search &amp; Destroy 1.4" />
  <install cmd='"\\server\wpkg\pkg\spybotsd14\spybotsd14.exe" /silent /nocancel /noreboot'>
    <exit code="0" />
  </install>
  <install cmd='"\\server\wpkg\pkg\spybotsd14\spybotsd_includes.exe" /S'>
    <exit code="0" />
  </install>
  <upgrade cmd='"\\server\wpkg\pkg\spybotsd14\spybotsd_includes.exe" /S'>
    <exit code="0" />
  </upgrade>
  <remove cmd='"%ProgramFiles%\Spybot - Search &amp; Destroy\unins000.exe" /SILENT /nocancel' />
</package>

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

NB! The &amp; in paths that have & (ampersand) in them is no typo. If you use just the ampersand character, it will break your XML handling.

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 preferrably 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="spybotsd14-run"
  name="run Spybot Search and Destroy 1.4"
  revision="1"
  reboot="false"
  priority="0"
  execute="once">

  <install cmd='"%ProgramFiles%\Spybot - Search &amp; Destroy\SpybotSD.exe" /autocheck /autofix /autoimmunize /taskbarhide /autoclose'>
    <exit code="0" />
  </install>
</package>

If you feel like running it again, increment its revision number.