#152739 - 2005-12-02 05:27 PM
Damn Sun Java ~ Google Toolbar Install!!!
|
dj_chiro
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
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
|
|
|
|
#152742 - 2005-12-02 05:40 PM
Re: Damn Sun Java ~ Google Toolbar Install!!!
|
dj_chiro
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
   
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
|
|
|
|
#152748 - 2005-12-02 07:38 PM
Re: Damn Sun Java ~ Google Toolbar Install!!!
|
dj_chiro
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
   
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
|
|
|
|
#152751 - 2005-12-02 09:12 PM
Re: Damn Sun Java ~ Google Toolbar Install!!!
|
dj_chiro
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
|
|
|
|
#152753 - 2005-12-02 09:38 PM
Re: Damn Sun Java ~ Google Toolbar Install!!!
|
dj_chiro
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
|
|
|
|
#152755 - 2005-12-02 10:14 PM
Re: Damn Sun Java ~ Google Toolbar Install!!!
|
dj_chiro
Fresh Scripter
Registered: 2005-06-22
Posts: 20
|
Alright, it's been a rough week and it's friday I am lost!
|
|
Top
|
|
|
|
#152757 - 2005-12-02 10:43 PM
Re: Damn Sun Java ~ Google Toolbar Install!!!
|
dj_chiro
Fresh Scripter
Registered: 2005-06-22
Posts: 20
|
OK will resume work on monday!!! Thanks!
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 675 anonymous users online.
|
|
|