User Rating: 5 / 5

Star activeStar activeStar activeStar activeStar active
 

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.

Add comment

All questions, comments or feedback are welcome. 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! :)

Please note: due to an increase of comment spam moderation has been enabled. Your comment will be moderated before being published. This typically takes 24 hours.


Security code
Refresh

Comments  

0 # Frustrated 2012-10-30 20: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
+2 # Jon 2012-10-18 22: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
0 # Heather 2012-08-23 19: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
0 # Simon 2012-08-23 11: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
0 # Kiko 2012-08-18 18: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
0 # Anon 2012-06-21 12: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