Page 2 of 2 <12
Topic Options
#31747 - 2002-12-08 01:18 PM Re: Uninstalling Software (how to remove f.e. Spyware software HOTBAR)
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

On our site you will not find an uninstalling script for certain software.
Reasons:
  • procedure can be very complex, which needs to deal with rights, permission and
    required feedback.
    Like jhansenjr says he gets an additional program to uninstall it.
  • procedure can be very easy, when you are removing the related shortcuts. Most
    people will not start an application by explorer.
    Also it is very easy to remove or to rename the related file or directory on your
    client. It is also possible to replace related program with a dummy one. Such
    solution can be very easy
    An example for f.e. notepad.exe
    code:
    $eof="~~~ end of file ~~~"
    shell '%comspec% /c dir c:\notepad.exe /b /s >%tmp%\kixtemp.txt'
    shell '%comspec% /c echo $eof >>%tmp%\kixtemp.txt'
    IF (Open(1,"%tmp%\kixtemp.txt",2) = 0)
    $line=Readline(1)
    WHILE (@error = 0) AND (Instr($line,$eof) = 0)
    IF (Instr($line,"\notepad.exe") <> 0)
    COPY \\server\netlogon\dummy.exe $line /H ; - command for replacing it
    ; DEL $line ; - command to remove it
    ENDIF
    $line=Readline(1)
    LOOP
    IF lose(1)
    ENDIF
    ENDIF

  • by virus infections the most common site have already program to clean your
    system.
greetngs.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#31748 - 2003-06-27 08:45 PM Re: Uninstalling Software (how to remove f.e. Spyware software HOTBAR)
Clayton Offline
Fresh Scripter

Registered: 2002-08-19
Posts: 29
Loc: Tampa, FL
I tried to use this script for uninstalling Hotbar. For some reason it's not running. Should I call my login.kix with a .bat file. Should I create another kix script and call it via my login.kix or bat?

I'm using Radimus' go away hotbar script.

Top
#31749 - 2003-06-27 10:07 PM Re: Uninstalling Software (how to remove f.e. Spyware software HOTBAR)
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
I dunno how you are calling it, but here is the latest ver...

Many of the variables here aren't declared here, but you should be able to figure them out.

code:
  
;******************************* remove hotbar ****************************
$hotbar=0
if keyexist("$HKLMSMWCV\Uninstall\hotbar")
$hotbar=readvalue("$HKLMSMWCV\Uninstall\hotbar","UninstallString")
endif
if keyexist("$HKLMSMWCV\Uninstall\hotbar uninstall")
$hotbar=readvalue("$HKLMSMWCV\Uninstall\hotbar uninstall","UninstallString")
endif

if $hotbar
$=findproc(@wksta,"iexplore.exe",1)
$=findproc(@wksta,"explorer.exe",1)
$=findproc(@wksta,"outlook.exe",1)
sleep 5
run '$setup\Apps\Hotbar\HotbarUninstall.exe'

sleep 3
$=setfocus("Hotbar Uninstall")
$=sendkeys("{tab}{tab}{enter}")

sleep 3
$=setfocus("Hotbar Uninstall")
$=sendkeys("{enter}")

sleep 3
$=findproc(@wksta,"iexplore.exe",1)

if not exist("c:\progra~1\hotbar\bin\4.1.8.0\Hbinst.exe")
$=delkey("$HKLMSMWCV\Uninstall\hotbar")
$=delkey("$HKLMSMWCV\Uninstall\hotbar uninstall")
$runonce='HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce'
$=writevalue($runonce,"hotbarremove","cmd /c RD c:\progra~1\hotbar /s /q",Reg_SZ)
endif
endif

_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#31750 - 2003-06-28 12:19 AM Re: Uninstalling Software (how to remove f.e. Spyware software HOTBAR)
Clayton Offline
Fresh Scripter

Registered: 2002-08-19
Posts: 29
Loc: Tampa, FL
Thanks
I'll give that a try. What would be the best way to call it?

Top
#31751 - 2003-06-28 12:36 AM Re: Uninstalling Software (how to remove f.e. Spyware software HOTBAR)
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
btw, have you considered using spy-removal software?
I installed one today (spybot) which seemed to work much more better than ad-aware (too fuzzy... didn't really even get to testing)

I understood that automating spybot is not huge problem and it can block thousands of security hazards (scans currently about 5,5k of spying defs)

all the spysoft and even cookies from doubleclick.com (and similar sites) that disabling of third party cookies does not work on.

not that this is anymore the same subject but highly related and I'm searching for persons who might be interested in testing these solutions.
_________________________
!

download KiXnet

Top
Page 2 of 2 <12


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 369 anonymous users online.
Newest Members
rrosell, PatrickPinto, Raoul, Timothy, Jojo67
17877 Registered Users

Generated in 0.055 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org