Yahoo Toolbar Relevance

(imported topic written by SystemAdmin)

Hello Expert,

I’m new and not very good on language, I would like to find who have install Yahoo toolbar and how to uninstall with bigfix.

Display Name: Yahoo! Toolbar

Uninstall String: C:\PROGRA~1\Yahoo!\Common\UNYT_W~1.EXE

Display Icon: C:\Program Files\Yahoo!\Companion\Installs\cpn0\yt.dll,-5

Thx

SP

(imported comment written by BenKus)

Hi SP,

Here is what to do… Make a new Fixlet (Tools>New Fixlet).

There are many ways to do this… here is a simple method…

Your relevance will be:

exists file “C:\PROGRA~1\Yahoo!\Common\UNYT_W~1.EXE”

Your action will be:

wait “C:\PROGRA~1\Yahoo!\Common\UNYT_W~1.EXE” /S

(The /S makes it silent according to a search I did).

To make this Fixlet more robust, you might try to add to the relevance checks in the registry to check if Yahoo Toolbar is installed (the current relevance only looks for the uninstall file).

Ben

(imported comment written by SystemAdmin)

Yahoo toolbar have multiple version, how do I combine into one relevance and the action, base on the display name and uninstallString.

example:

UninstallString = C:\PROGRA~1\Yahoo!\Common\unyt.exe (for Yahoo! Toolbar for Internet Explorer)

UninstallString = C:\PROGRA~1\Yahoo!\Common\UNYT_W~1.EXE (for Yahoo Toolbar Companion)

Thx

SP

(imported comment written by BenKus)

I don’t have it to play with, but you would generally do something like this:

  • look through the uninstall section of the registry for the application name you want
  • run the uninstallstring with a “/s” appended (assuming /s makes the uninstall silent)

Your relevance will look something like this:

exists keys whose (value “displayname” of it as string as lowercase contains “” AND exists value “uninstallstring” of it) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry

Action:

wait {(value “UninstallString” of it as string & " /s") of keys whose (value “displayname” of it as string as lowercase contains “” AND exists value “uninstallstring” of it) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry}

So you will want to change the two “” sections to be the name of the app you want and see if that works.

Ben