Menu

Install Google Chrome Silently

User Rating:  / 6
PoorBest 
Install Google Chrome Silently 5.0 out of 5 based on 6 votes.

The following process has been tested and confirmed working with Google Chrome 11 and ConfigMgr / SCCM R2.

It does the following tasks:

  • Install Google Chrome silently
  • Set Google Search as the default search engine
  • Set Google Australia as the default home page
  • Does NOT set Google Chrome as the default browse
  • No 'Getting Started' page
  • No 'Auto Update'
  • Remove desktop shortcut

  1. Download the latest version of the MSI install file from

    http://www.google.com/chrome/eula.html?msi=true

  2. Create a text file called install.cmd and copy in the following information
msiexec /qn /norestart /i "%~dp0GoogleChromeStandaloneEnterprise.msi"
if exist "c:\Program Files\Google\Chrome\Application\master_preferences" copy /y "%~dp0master_preferences" "C:\Program Files\Google\Chrome\Application\master_preferences"
if exist "c:\Program Files (x86)\Google\Chrome\Application\master_preferences" copy /y "%~dp0master_preferences" "C:\Program Files (x86)\Google\Chrome\Application\master_preferences"
reg add HKLM\Software\Policies\Google\Update /f /v AutoUpdateCheckPeriodMinutes /d 0
sc stop gupdate
sc config gupdate start= disabled
REM Return exit code to SCCM
exit /B %EXIT_CODE%
  1. Create a text file called master_preferences and copy in the following information
{
"homepage" : "http://www.google.com.au",
"homepage_is_newtabpage" : false,
"browser" : {
"show_home_button" : true,
"check_default_browser" : false,
"window_placement": {
"bottom": 1000,
"left": 10,
"maximized": false,
"right": 904,
"top": 10,
"work_area_bottom": 1010,
"work_area_left": 0,
"work_area_right": 1680,
"work_area_top": 0
}
},
"bookmark_bar" : {
"show_on_all_tabs" : true
},
"distribution" : {
"skip_first_run_ui" : true,
"show_welcome_page" : false,
"import_search_engine" : false,
"import_history" : false,
"create_all_shortcuts" : true,
"do_not_launch_chrome" : true,
"make_chrome_default" : false
}
}
  1. Copy the MSI install file, master_preferences and install.cmd to your software package share
  2. You can now create your SCCM package or deploy the software by using install.cmd

For more information on creating SCCM packages see distribute software using SCCM.

Comments  

 
0 # Frustrated 2012-10-31 07:53
What I have accomplished:
Find the extracted randomly-genera ted named .MSI from GoogleChromeStandaloneEnterprise.msi
and save that file, ex. 1f49154c.msi, to a Windows share.
Google chrome install on Windows 7 Enterprise 64 bit OS, non-administrat or account
Fails: SCCM (goal is to push out here, but it's failing:
Created Chrome software package with command line:
msiexec /i "%~dp01f49154c. msi" /qn /norestart

Environment tab:
Program can run: Whether or not a user is logged on
Run mode - Run with administrative rights
Drive mode - Requires drive letter (found out that can not run with UNC name)
Create a task sequence to run Chrome software package (yeah, I know that I can Advertise just the software package, but this worked for me for testing for other programs).
Advertise task sequence to Collection, use:
Mandatory assignment and "Always rerun program".
"Download all contents locally before starting task sequence".
Use custom countdown notification length (minutes) and Show the task sequence progress. (Allows me to see the Advertisement attempt to run.)
Run the machine policy evaluation and update cycle on test machine.
Reply | Reply with quote | Quote | Report to administrator
 
 
+2 # Jon 2012-10-19 09:31
"sync_promo" : {
"show_on_first_ run_allowed" : false
},

This supresses the sign-on page. I spent a few hours trying to find it.
Reply | Reply with quote | Quote | Report to administrator
 
 
0 # Heather 2012-08-24 05:36
Yes, I am experiencing the same issue, Simon. It ignores the master_preferen ces file for some reason. I checked and it did copy it correctly to the machine but still Chrome ignores. Any insight would be helpful.

Thanks-
Heather
Reply | Reply with quote | Quote | Report to administrator
 
 
0 # Simon 2012-08-23 21:07
Hi, the script work only if I took out the exit code entries in front of the .msi and the master_preferen ces lines?

Also, although the master_preferen ces file was copied down, Chrome ignored it when I ran it and still gives the Sign on page?

Any assistance would be grateful
Reply | Reply with quote | Quote | Report to administrator
 
 
0 # Kiko 2012-08-19 04:12
Hi,

Great article. Is ther any way to specify the browser language interface in the master_preferen ces file?
Reply | Reply with quote | Quote | Report to administrator
 
 
0 # Anon 2012-06-21 22:15
Just to inform you there are not only 2 services, but also 2 scheduled tasks to do "google update"

schtasks /delete /TN "GoogleUpdateTa skMachineCore" /F
schtasks /delete /TN "GoogleUpdateTa skMachineUA" /F
Reply | Reply with quote | Quote | Report to administrator
 

Add comment

mockbox.net welcomes all questions, comments or feedback. However we ask that you refrain from leaving unconstructive messages.
If you are having issues with the content covered we ask that you ensure you have followed the steps as detailed, then in your comment state THE STEP NUMBER which you are stuck at and any other relevant technical information (Mac or Windows, operating system version, Internet browser etc.).
We would like to help where possible, and this helps us help you! :)


Security code
Refresh

  • 30236 hits65 days ago
    Please note: The traditional method of using 'firefox.js' to set the profile defaults (see http://mockbox.net/configmgr-sccm/280-install-and-configure-firefox-3-silently.html ) no longer works with F...
  • 9253 hits132 days ago
    The following process has been tested and confirmed as working with Adobe Acrobat Reader XI and SCCM R2. It does the following tasks: Silently installs Adobe Acrobat Reader XI Agree to license ...
  • 13137 hits191 days ago
    The following process has been tested and confirmed as working with Adobe Flash Player 11.5.x and SCCM R2. It does the following tasks: Installs Flash Player ActiveX (For Internet Explorer) silent...
  • 13000 hits196 days ago
    The following process has been tested and confirmed as working with Java Runtime Environment version 7 update 9 and SCCM R2. It does the following tasks: Installs silently Installs Internet Explo...
  • 8506 hits196 days ago
    The following process has been tested and confirmed as working with VLC Media Player (Version: 2.0.4) and SCCM R2. It does the following tasks: Un-installs previous versions of VLC Media Player I...
  • 1307 hits209 days ago
    The following command can be used to extract a complete list of users objects in your Active Directory environment. csvde -f C:\ADUsers.csv -r objectClass=user   To run open the PowerShell c...
  • 53 hits4 days ago
    For those with an Android smartphones you should be familiar with the 'voice input' button on the keyboard. Whilst the feature works quite well, unfortunately for most it becomes a nuisance when ac...
  • 109 hits26 days ago
    If you're sick of having set VLC media player to play on top there's a setting hidden in the options to make it always on top by default. Here's how: With VLC Media Player open, click on the 'Tools...
  • 1132 hits32 days ago
    Advertising website addresses without the 'www.' is a growing trend. It's smaller, concise and gives the domain name the first bit of attention. However not all websites are prepared to accept or work...
  • 1345 hits32 days ago
    Add Dock Icon with MAC OS 10.4 1. Open the Applications window by selecting the Go menu and then clicking on Applications 2. Select the icon for the program that you want to add to the Dock.3. Click...

Latest comments