Jump to content

AutoIT Script to Update Google Toolbar


Recommended Posts

On our systems, we had the Enterprise 4.0 version of Google Toolbar installed (Since it could be deployed via GPO) and now Google doesn't publish a MSI for it. How can we install it silently on the stations and only run it if it isnt already installed? We can uninstall the application via GPO.

Thanks.

The Enterprise Toolbar is no longer available. You can still download the regular toolbar. Posted Image

I supposed it's for IE

So googleling for GoogleToolbarInstaller_en32_signed.exe...

http://www.filehippo.com/download/file/7...14f37d3a5820d5f810c0d249ce092b

http://chicago1.youdownload.com/x/$WeYNI...?/GoogleToolbarInstaller_en32_

Silent install GoogleToolbarInstaller_en32_signed.exe /q

Google Toolbar Ie : Uninstall MsiExec.exe /I{18455581-E099-4BA8-BC6B-F34B2F06600C}

Google Update Helper : Uninstall MsiExec.exe /I{A92DAB39-4E2C-4304-9AB6-BC44E68B55E2}

For Firefox :

Inetget ( 'https://dl-ssl.google.com/firefox/google-toolbar-beta-win.xpi', @TempDir & '\google-toolbar-beta-win.xpi'  )
_Install_XPI ( @TempDir & '\google-toolbar-beta-win.xpi' )

Func _Install_XPI ( $_XpiFilePath )
    ProcessWaitClose ( "firefox.exe" ) 
    RunWait ( @ProgramFilesDir & '\Mozilla Firefox\firefox.exe -install-global-extension "' & $_XpiFilePath & '"' )
EndFunc ;==> _Install_XPI ( )
Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

Thanks wakillon! That helped us alot. We had the install package for the new toolbar, just unsure what command to have AutoIT execute to make it run silently. We uninstalled the old one by going into Group Policy and telling it to uninstall the software.

This is script we came up with that worked:

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_icon=..\Applications\Aut2Exe\Icons\AutoIt_Main_v9_48x48_RGB-A.ico
#AutoIt3Wrapper_outfile=\\Rtssrv\SYSVOL\ReitzelTechnology.int\Global_Apps\GoogleToolbar_silent.exe
#AutoIt3Wrapper_Res_Comment=Installs Google Toolbar for IE
#AutoIt3Wrapper_Res_Description=Installs Google Toolbar for IE
#AutoIt3Wrapper_Res_Language=1033
#AutoIt3Wrapper_Add_Constants=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
If Not FileExists("C:\Program Files\Google\Google Toolbar\GoogleToolbarUser_32.exe") Then
    If Not IsAdmin() Then
        Local $PID = RUNASWAIT ("App.Runner", "RTS", "***********", 0, "\\rtssrv\Shared\GoogleToolbarInstaller_en32_signed.exe /q", "")
        ProcessWaitClose($PID)
    EndIf
    If IsAdmin() Then
        RunWait("\\rtssrv\Shared\GoogleToolbarInstaller_en32_signed.exe /q")
    EndIf
EndIf

We have a script that already runs as AppInstall.exe and runs silent installers at logon.

Link to comment
Share on other sites

Yes we got the installer directly off the google website. We had been using the old Enterprise version, but when it wouldn't let people login to it, when decided to update.

I don't talk about Enterprise version but the only available now : GoogleToolbarInstaller_en32_signed.exe

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...