I have used the MSI for Chrome, and used installshield to add the master_preferences file into the installation, and change the installation order as described here:

http://msiworld.blogspot.co.uk/2012/06/packaging-google-chrome-for-enterprise.html

All installs well and the master preferences file is placed in the correct location, but it appears that chrome is ignoring it. Here is the content:


"homepage" : "www.google.co.uk", 
"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,
"suppress_first_run_default_browser_prompt": true
]
}

Please can you advise on what the issue may be?

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0

This file is used on a first run of chrome. You have to uninstall and delete all previous chrome installations include installations into user profiles.

Answered 09/18/2013 by: pesek72
Senior Yellow Belt

  • Thanks for the reply, but the machine has never had chrome previously installed. I'm using SCCM 2012 to deploy the content onto a clean VM each time I test.
  • This content is currently hidden from public view.
    Reason: Removed by member request
    For more information, visit our FAQ's.
Please log in to comment
0

What pesek72 said, and make sure that the file is where the the chrome executable is.

Also make sure that your file is valid - it's in a JSON (Javascript Object Notation) format and the syntax needs to be correct.

I found this online validator when I did my Chrome package - http://jsonformatter.curiousconcept.com/#jsonformatter

Running your above Master_Preferences file through it throws up a couple of errors - which is what the issue could be. I know it took a bit of trial and error to get mine so it validated without errors and functioned correctly.

Hope that helps,

Dunnpy

Answered 09/18/2013 by: dunnpy
Red Belt

  • Thanks dunnpy! - I will check that out as soon as I'm back at work in the morning :)
Please log in to comment
Answer this question or Comment on this question for clarity

Share