Difference between revisions of "Spybot Search and Destroy"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Running Spybot S&D using WPKG)
m (fixed ampersand error in xml)
 
Line 19: Line 19:
 
   priority="1">
 
   priority="1">
 
   
 
   
   <check type="uninstall" condition="exists" path="Spybot - Search & Destroy" />
+
   <check type="uninstall" condition="exists" path="Spybot - Search &amp; Destroy" />
 
   <install cmd='"%SOFTWARE%\spybot\spybotsd16.exe" /verysilent /noreboot /loadinf="%SOFTWARE%\spybot\default.inf" /dir="%PROGRAMFILES%\spybot"' />
 
   <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='"%SOFTWARE%\spybot\spybotsd_includes.exe" /S' />
Line 31: Line 31:
 
'''Uninstall restart computer without prompting.'''
 
'''Uninstall restart computer without prompting.'''
  
default.inf
+
default.inf (Create your own default.inf with "spybotsd16.exe /saveinf=default.inf")
 
<source lang="ini">
 
<source lang="ini">
 
[Setup]
 
[Setup]

Latest revision as of 02:34, 25 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 &amp; 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:

  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.