Issue metadata
Sign in to add a comment
|
Master Preferences - do_not_create_desktop_shortcut": true, not working
Reported by
haroona...@gmail.com,
Aug 18 2016
|
||||||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Steps to reproduce the problem:
1. Edit Master preferences with the setting below
2. do_not_create_desktop_shortcut": true,
3. and deploy
What is the expected behavior?
The below is the preferences file I have used, everything else works as expected yet Chrome still places a shortcut onto the desktop.
{
"homepage": "COMPANY URL",
"homepage_is_newtabpage": false,
"browser": {
"show_home_button": true,
"check_default_browser": false
},
"session": {
"restore_on_startup": 4,
"startup_urls": [
"COMPANY URL/"
]
},
"bookmark_bar": {
"show_on_all_tabs": true
},
"intl": {
"accept_languages": "en-GB,en,en-US"
},
"distribution": {
"msi": true,
"system_level": true,
"verbose_logging": true,
"skip_first_run_ui": true,
"show_welcome_page": false,
"import_search_engine": true,
"import_history": false,
"do_not_create_desktop_shortcut": true,
"do_not_create_any_shortcuts": true,
"do_not_launch_chrome": true,
"make_chrome_default": false,
"supress_first_run_bubble": true
},
"sync_promo": {
"show_on_first_run_allowed": false
},
"first_run_tabs": [
"COMPANY NAME"
]
}
What went wrong?
Chrome Still places a desktop shortcut. I have searched for resolution and tried numerous times and changing the master preferences file yet Chrome still places shortcut on desktop.
Did this work before? N/A
Chrome version: 52.0.2743.116 Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 22.0 r0
,
Aug 26 2016
Hi Has anyone had the change to look into this?
,
Aug 31 2016
This is surprising to me : https://cs.chromium.org/chromium/src/chrome/installer/setup/install.cc?rcl=0&l=450 is responsible for this suppression and should still work. Are other shortcuts properly suppressed? "do_not_create_any_shortcuts": true should also override this. Perhaps the JSON is malformed and everything is ignored?
,
Sep 1 2016
Hi Thanks for the reply
The other shortcut is suppressed correctly and does not appear on quick launch bar. The JSON file has been verified using an online JSON Validator. All other options such as recover to local intranet page, language preference all get set, so the JSON file is not malformed.
Can you advise.
"distribution": {
"msi": true,
"system_level": true,
"verbose_logging": true,
"skip_first_run_ui": true,
"show_welcome_page": false,
"import_search_engine": true,
"import_history": false,
"do_not_create_desktop_shortcut": true,
"do_not_create_any_shortcuts": true,
"do_not_launch_chrome": true,
"make_chrome_default": false,
"supress_first_run_bubble": true
},
,
Sep 1 2016
Can you attach chrome_installer.log (should be in %tmp%\ or the SYSTEM temp folder for system installs)
,
Sep 2 2016
Attached is the chrome_installer.log as requested.
,
Sep 2 2016
Per: [0902/090110:VERBOSE1:install.cc(116)] Creating all-users Desktop "Google Chrome" shortcut to C:\Program Files\Google\Chrome\Application\chrome.exe. [0902/090110:VERBOSE1:install.cc(116)] Creating per-user Quick Launch "Google Chrome" shortcut to C:\Program Files\Google\Chrome\Application\chrome.exe. [0902/090110:VERBOSE1:install.cc(116)] Creating all-users Start menu "Google Chrome" shortcut to C:\Program Files\Google\Chrome\Application\chrome.exe and pinning to the taskbar. the installer is intentionally dropping the shortcuts. So the master_preferences are not used by your installer. How are you using master_preferences? What's happening is probably that the way you're doing it results in Chrome using the master_preferences on its first run but the installer not seeing them on install (hence why preferences that apply to Chrome instead of the installer are working as you report).
,
Sep 5 2016
Ah I see what you are saying. The Method of install is batch file install and the master preferences gets copied into C:\program files (x86)\google chrome. This is then used via deployment with SCCM. So I understand what you are saying that Master Preferences files is only called upon first when. But why does the the shortcut on Quick Launch not appear at the point of install if this is the case? Also what is the method of deployment I must use in my scenario ? Thanks for your help.
,
Sep 6 2016
The Quick Launch shortcut is never created by recent versions of Chrome if I'm not mistaken (even with blank master_preferences). For typical installs, the master_preferences file must be placed by mini_installer.exe before running it. For MSI installs however, install-time master_preferences are currently not supported, track issue 244281 for updates on this issue (as well as a few workarounds mentioned in comments). |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by pastarmovj@chromium.org
, Aug 18 2016Labels: Enterprise-Triaged
Owner: gab@chromium.org