Enterprise deployment of Google Chrome with master_preferences file, but the file is being ignored
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?
Answers (2)
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.
Comments:
-
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. - madasacatter 11 years ago
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
Comments:
-
Thanks dunnpy! - I will check that out as soon as I'm back at work in the morning :) - madasacatter 11 years ago