Difference between revisions of "Spybot Search and Destroy"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(Installation)
Line 2: Line 2:
  
  
This silently installs Spybot Search & Destroy version 1.4 - a free (as in beer) spyware removal program.
+
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:
 
To install, get two files from http://www.safer-networking.org:
  
# spybotsd14.exe
+
# spybotsd16.exe
 
# spybotsd_includes.exe
 
# spybotsd_includes.exe
  
Line 13: Line 13:
 
<source lang="xml">
 
<source lang="xml">
 
<package
 
<package
   id="spybotsd14"
+
   id="spybotsd16"
   name="Spybot Search and Destroy 1.4"
+
   name="Spybot Search and Destroy 1.6"
 
   revision="1"
 
   revision="1"
 
   reboot="false"
 
   reboot="false"
 
   priority="1">
 
   priority="1">
 
   
 
   
   <check type="uninstall" condition="exists" path="Spybot - Search &amp;amp; Destroy 1.4" />
+
   <check type="uninstall" condition="exists" path="Spybot - Search & Destroy" />
   <install cmd='"%SOFTWARE%\spybotsd14\spybotsd14.exe" /silent /nocancel /noreboot' />
+
   <install cmd='"%SOFTWARE%\spybot\spybotsd16.exe" /verysilent /noreboot /loadinf="%SOFTWARE%\spybot\default.inf" /dir="%PROGRAMFILES%\spybot"' />
   <install cmd='"%SOFTWARE%\spybotsd14\spybotsd_includes.exe" /S' />
+
   <install cmd='"%SOFTWARE%\spybot\spybotsd_includes.exe" /S' />
   <upgrade cmd='"%SOFTWARE%\spybotsd14\spybotsd_includes.exe" /S' />
+
  <install cmd='"%PROGRAMFILES%\spybot\SpybotSD.exe" /taskbarhide /autoimmunize /autoclose' />
   <remove cmd='"%ProgramFiles%\Spybot - Search &amp;amp; Destroy\unins000.exe" /SILENT /nocancel' />
+
   <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>
 
</package>
 +
</source>
 +
 +
'''Uninstall restart computer without prompting.'''
 +
 +
default.inf
 +
<source lang="ini">
 +
[Setup]
 +
Lang=cs
 +
Group=Spybot - Search & Destroy
 +
NoIcons=0
 +
SetupType=custom
 +
Components=main,blind,language,skins,sdshredder
 +
Tasks=desktopicon,launchsdhelper
 
</source>
 
</source>
  
Line 31: Line 46:
 
# download the new spybotsd_includes.exe file into the server
 
# download the new spybotsd_includes.exe file into the server
 
# increment the revision counter by one
 
# increment the revision counter by one
 
'''NB!''' The &amp;amp; in paths that have &amp; (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 ==
 
== Running Spybot S&D using WPKG ==

Revision as of 08:27, 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="spybotsd14-run"
   name="run Spybot Search and Destroy 1.4"
   revision="1"
   reboot="false"
   priority="0"
   execute="once">
 
   <install cmd='"%ProgramFiles%\Spybot - Search &amp;amp; Destroy\SpybotSD.exe" /autocheck /autofix /autoimmunize /taskbarhide /autoclose' />

</package>

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