Google Chrome Enterprise shortcuts not disappearing!!
Hi all,
I am in the process of packaging Google Chrome Enterprise version 66.65.49287 and I am having great difficulty ensuring shortcuts are not installed on the desktop or taskbar for each user.
I am using the vendor supplied msi and have not captured the install. I am aware that this msi is simply a wrapper for the setup exe which google created.
I have then created a transform based on this -
I have a custom action which removes the shortcut from c:\Users\Public\Desktop\Google Chrome.lnk. However, once I log in as a new user after installing the application the desktop shortcut gets created. Then when I log back in as the administrator or user that installed the application I get the shortcut again on the desktop. Google is somehow recreating the shortcut in the Public Desktop location.
I have looked everywhere and the advice I am seeing is to use the master_preferences file to ensure the shortcuts don't get installed in the relevant locations, be it
"do_not_create_taskbar_shortcut":true
"do_not_create_desktop_shortcut":true
or
"do_not_create_any_shortcuts" : true
The only one which seems to work is the one that doesn't create it in the taskbar. Has anyone experienced this? How do I ensure that the shortcut only gets installed to the Start Menu?
What I have so far is a master_preferences file which looks like the following installed to C:\Program Files(x86)\Google\Chrome\Application\master_preferences.
{
"homepage" : "http://www.google.com",
"show_home_button" : true,
"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,
"do_not_create_taskbar_shortcut":true,
"do_not_create_desktop_shortcut": true,
"do_not_create_quick_launch_shortcut": true,
"do_not_create_any_shortcuts" : true,
"do_not_launch_chrome" : true,
"do_not_register_for_update_launch": true,
"make_chrome_default" : false,
"msi": true,
"system_level": true
}
}
Any advice?
I am in the process of packaging Google Chrome Enterprise version 66.65.49287 and I am having great difficulty ensuring shortcuts are not installed on the desktop or taskbar for each user.
I am using the vendor supplied msi and have not captured the install. I am aware that this msi is simply a wrapper for the setup exe which google created.
I have then created a transform based on this -
I have a custom action which removes the shortcut from c:\Users\Public\Desktop\Google Chrome.lnk. However, once I log in as a new user after installing the application the desktop shortcut gets created. Then when I log back in as the administrator or user that installed the application I get the shortcut again on the desktop. Google is somehow recreating the shortcut in the Public Desktop location.
I have looked everywhere and the advice I am seeing is to use the master_preferences file to ensure the shortcuts don't get installed in the relevant locations, be it
"do_not_create_taskbar_shortcut":true
"do_not_create_desktop_shortcut":true
or
"do_not_create_any_shortcuts" : true
The only one which seems to work is the one that doesn't create it in the taskbar. Has anyone experienced this? How do I ensure that the shortcut only gets installed to the Start Menu?
What I have so far is a master_preferences file which looks like the following installed to C:\Program Files(x86)\Google\Chrome\Application\master_preferences.
{
"homepage" : "http://www.google.com",
"show_home_button" : true,
"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,
"do_not_create_taskbar_shortcut":true,
"do_not_create_desktop_shortcut": true,
"do_not_create_quick_launch_shortcut": true,
"do_not_create_any_shortcuts" : true,
"do_not_launch_chrome" : true,
"do_not_register_for_update_launch": true,
"make_chrome_default" : false,
"msi": true,
"system_level": true
}
}
Any advice?
0 Comments
[ + ] Show comments
Answers (3)
Answer Summary:
Please log in to answer
Posted by:
mark_holland21
9 years ago
Top Answer
OK, I think I've figured it out. It seems I was applying too many solutions at once.
If I exclude installing the First Run file for the user and only use the master_preferences file, Google Chrome installed a shortcut into the Start Menu and no where else which is the desired behaviour. This is also the case for new users logging on to the same box.
However, I still had to have a script to remove the shortcut from the Public Desktop on install but other than that I just used the custom master_preferences file -
{
"homepage" : "http://www.google.com",
"show_home_button" : true,
"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,
"do_not_create_any_shortcuts" : true,
"do_not_launch_chrome" : true,
"do_not_register_for_update_launch": true,
"make_chrome_default" : false,
"msi": true,
"system_level": true
}
}
If I exclude installing the First Run file for the user and only use the master_preferences file, Google Chrome installed a shortcut into the Start Menu and no where else which is the desired behaviour. This is also the case for new users logging on to the same box.
However, I still had to have a script to remove the shortcut from the Public Desktop on install but other than that I just used the custom master_preferences file -
{
"homepage" : "http://www.google.com",
"show_home_button" : true,
"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,
"do_not_create_any_shortcuts" : true,
"do_not_launch_chrome" : true,
"do_not_register_for_update_launch": true,
"make_chrome_default" : false,
"msi": true,
"system_level": true
}
}
Comments:
-
This worked like a charm. I did had to copy over the default master_preferences file before InstallFinalize as it was creating it's own. Thanks Mark. - wous 9 years ago
Posted by:
mark_holland21
9 years ago
I must add too that I've also installed the First Run file to the user profile to AppData\Local\Google\Chrome\User Data and this doesn't seem to stop the shortcut getting created. I was under the impression that this file, if present, would tell Google not to install the desktop shortcut as it thinks it's already been run.
Posted by:
EdT
9 years ago