Page 1 of 2 12>
Topic Options
#152739 - 2005-12-02 05:27 PM Damn Sun Java ~ Google Toolbar Install!!!
dj_chiro Offline
Fresh Scripter

Registered: 2005-06-22
Posts: 20
Now I personally love the Google Toolbar but it is not authorized on our network. I have pushed out J2SE Runtime Environment 5.0 Update 5 via group policy a while ago... Now users machines are auto updating and installing the toolbar!

Is there any scripts available to uninstall the Google Toolbar and even better, a script to disable the auto-update for Java?
I did the cmd to uninstall and figured I could work it into a script but even the cmd doesn't work. The CMD I found was regsvr32 /u /s c:\program files\google\googletoolbar1.dll.

This will help me tremendously and will allow me to figure out how to make an MST for the Java install so that I can have that disabled in future releases.

Thanks!

Top
#152740 - 2005-12-02 05:35 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
dj_chiro Offline
Fresh Scripter

Registered: 2005-06-22
Posts: 20
OK did a little actual thinking and realized the new GoogleToolbar DLL is GoogleToolbar2.dll.

The Command should be: regsvr32 /u /s "c:\program files\google\GoogleToolbar2.dll"

Now, the file is still there so I guess the best way to take care of that would be to delete it after it is unregistered? Is this the best and "cleanest" way to remove the application?

Now is there a way to disable the autoupdate somehow?

Top
#152741 - 2005-12-02 05:35 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Open the MSI up in ORCA - you should be able to find the option to install the google toolbar pretty quickly.

It will be a binary flag, to just change the value to "0" and that should do.

Top
#152742 - 2005-12-02 05:40 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
dj_chiro Offline
Fresh Scripter

Registered: 2005-06-22
Posts: 20
Thanks Will look into that

Edited by dj_chiro (2005-12-02 05:46 PM)

Top
#152743 - 2005-12-02 05:55 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
ORCA *should* be in here:

Platform SDK Components for Windows Installer Developers

OT: Google Toolbar in Sun Java ?! Is it just me or does anyone else think our industry is starting to go insane ?

Top
#152744 - 2005-12-02 05:57 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
Stanley Offline
Starting to like KiXtart

Registered: 2004-06-03
Posts: 130
Loc: Upstate NY, USA
Starting?
_________________________
Taxation WITH representation isn't so hot, either!

Top
#152745 - 2005-12-02 06:31 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
lol, true. Whats next ? Your local supermarket will be taping a roll of Lifesavers to your T-Bone steak, saying its a good thing, and raming it down your throat ?
Top
#152746 - 2005-12-02 06:33 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
Stanley Offline
Starting to like KiXtart

Registered: 2004-06-03
Posts: 130
Loc: Upstate NY, USA
Please don't give them any ideas.
_________________________
Taxation WITH representation isn't so hot, either!

Top
#152747 - 2005-12-02 07:03 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
rofl, your funny I like you.

and think about it - if bone-heads like these keep "adding value" to their "meat", pretty soon we'll all be asking "Where's the Beef?" ;0)

Top
#152748 - 2005-12-02 07:38 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
dj_chiro Offline
Fresh Scripter

Registered: 2005-06-22
Posts: 20
Thanks guys this place is great. Such quick and helpful responses!
Between the google toolbar and the Sony/BMG XPC Content Protection Technology vulnerability I've been pretty damn busy here.

Top
#152749 - 2005-12-02 07:47 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
Well I guess Google is trying to catch up with Yahoo in that regard. Lately almost every piece of software I install at least has an "option" to include the Yahoo toolbar. I guess advertising money gets all these companies willing to sell themselves out to the big giants.


Pretty soon Shawn you won't be getting any pure Lamb chops without getting them life-savers either

Top
#152750 - 2005-12-02 09:00 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Hmmm.. wonder when KiXforms.NET will have AdVerts/Google/Yahoo?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#152751 - 2005-12-02 09:12 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
dj_chiro Offline
Fresh Scripter

Registered: 2005-06-22
Posts: 20
OK, I've written this script. It runs with no errors but the dll doesnt get deleted and I am not sure if it's getting unregistered either. I have also tried using
SHELL "%WINDIR%\System32\%Regsvr32 /u /s %programfiles%\google\GoogleToolbar1.dll"

Any ideas?

;***Google Toolbar Uninstall***
dim $google1, $google2
$google1 = "%programfiles%\google\GoogleToolbar1.dll"
$google2 = "%programfiles%\google\GoogleToolbar2.dll"

if exist($google1)
SHELL "Regsvr32 /u /s %programfiles%\google\GoogleToolbar1.dll"
del $google1
else
? "Google Toolbar1 not present"

if exist($google2)
SHELL "Regsvr32 /u /s %programfiles%\google\GoogleToolbar2.dll"
del $google2
else ?

? "Google Toolbar2 not present"
endif

Top
#152752 - 2005-12-02 09:32 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
%programfiles% most likely has a space in it.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#152753 - 2005-12-02 09:38 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
dj_chiro Offline
Fresh Scripter

Registered: 2005-06-22
Posts: 20
Thanks I've have used %programfiles% in other scripts with no problem.
I did try it with a space and I get:
Google Toolbar1 not present
Google Toolbar2 not present

I believe its looking for "program" when you have a space???

Top
#152754 - 2005-12-02 09:53 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Quote:

I did try it with a space



Huh?

I mean the path that the env var represents has a space in it.
ProgramFiles=C:\Program Files

Any path with a space needs to be wrapped in quotes.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#152755 - 2005-12-02 10:14 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
dj_chiro Offline
Fresh Scripter

Registered: 2005-06-22
Posts: 20
Alright, it's been a rough week and it's friday I am lost!
Top
#152756 - 2005-12-02 10:25 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I can't test it but something like:
SHELL 'Regsvr32 /u /s "%programfiles%\google\GoogleToolbar2.dll"'
There are FAQs on shell/run/quotes.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#152757 - 2005-12-02 10:43 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
dj_chiro Offline
Fresh Scripter

Registered: 2005-06-22
Posts: 20
OK will resume work on monday!!! Thanks!
Top
#152758 - 2005-12-04 05:57 PM Re: Damn Sun Java ~ Google Toolbar Install!!!
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
Try unregistering the DLL, then kill Explorer. (I'm assuming that IE isn't running - if it is, terminate it too.) It can be restarted immediatly, but the currently running instance may have the DLL held open - preventing it from being deleted. IE and Explorer are pretty closely linked, and I've had to do similar things in the past.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
Page 1 of 2 12>


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

Who's Online
1 registered (Allen) and 675 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.074 seconds in which 0.025 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