Skip to content

opsi.orgheader image

opsi.org
Views
WinstScripts >>

spybot

Document Actions
last edited 2 years ago by shilpert
# Installation Spybot
# Paramter koennen in der spybot.inf mit uebergeben werden, oder 
# weglassen. Inhalt der Spybot.inf anbei ..

[Initial]
; erstellt von Sebastian Hilpert 4.1.2008
Message=Installiere Spybot Search & Destroy
LogLevel=2
ExitOnError=on
ScriptErrorMessages=on
TraceMode=on

[Aktionen]
DefVar $TEMP$
Set $TEMP$ = "C:\tmp"
DefVar $OS$
set $OS$ = GetOS
if ( $OS$ = "Windows_NT" OR $OS$ = "Windows_95" )
 if not(HasMinimumSpace ("%SYSTEMDRIVE%", "50 MB"))
  LogError "Nicht genügend Platz auf C: . 50 MB auf C: für Spybot erforderlich."
 else
  winbatch_spybot_install
 endif
endif

[winbatch_spybot_install]
"%scriptpath%\files\spybotsd15.exe" /VERYSILENT /LOADINF="spybot.inf" /log="$TEMP$\SDinstall.log" /type=compact

# Inhalt der Spybot.inf

[Setup]
Lang=de
Dir=C:\Programme\Spybot - Search & Destroy
Group=Spybot - Search & Destroy
NoIcons=0
Components=main,language,skins

# Deinstallation Spybot Search & Destroy

[Initial]
; erstellt von Sebastian Hilpert 4.1.2008
Message=Deinstalliere Spybot Search & Destroy
LogLevel=2
ExitOnError=on
ScriptErrorMessages=on
TraceMode=on

[Aktionen]
DefVar $TEMP$
Set $TEMP$ = "C:\tmp"
DefVar $OS$
set $OS$ = GetOS
if ( $OS$ = "Windows_NT" OR $OS$ = "Windows_95" )
 if not(HasMinimumSpace ("%SYSTEMDRIVE%", "50 MB"))
  LogError "Nicht genügend Platz auf C: . 50 MB auf C: für Spybot erforderlich."
 else
  winbatch_spybot_uninstall
 endif
endif

[winbatch_spybot_uninstall]
"%ProgramFilesDir%\Spybot - Search & Destroy\unins000.exe" /VERYSILENT /log="$TEMP$\SDuninstall.log"