Index: chrome/installer/setup/install.cc |
diff --git a/chrome/installer/setup/install.cc b/chrome/installer/setup/install.cc |
index b472cb7aae321edd5df8e7e12e7608edd020e976..978646fa60e99b4e4d15ceac4e114a62bb161ee2 100644 |
--- a/chrome/installer/setup/install.cc |
+++ b/chrome/installer/setup/install.cc |
@@ -70,10 +70,7 @@ |
case ShellUtil::SHORTCUT_LOCATION_QUICK_LAUNCH: |
message.append("Quick Launch "); |
break; |
- case ShellUtil::SHORTCUT_LOCATION_START_MENU_ROOT: |
- message.append("Start menu "); |
- break; |
- case ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_DIR_DEPRECATED: |
+ case ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_DIR: |
message.append("Start menu/" + |
base::UTF16ToUTF8(dist->GetStartMenuShortcutSubfolder( |
BrowserDistribution::SUBFOLDER_CHROME)) + |
@@ -426,24 +423,8 @@ |
ShellUtil::SHELL_SHORTCUT_CREATE_IF_NO_SYSTEM_LEVEL) { |
start_menu_properties.set_pin_to_taskbar(!do_not_create_taskbar_shortcut); |
} |
- |
- // The attempt below to update the stortcut will fail if it does not already |
- // exist at the expected location on disk. First check if it exists in the |
- // previous location (under a subdirectory) and, if so, move it to the new |
- // location. |
- base::FilePath old_shortcut_path; |
- ShellUtil::GetShortcutPath( |
- ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_DIR_DEPRECATED, dist, |
- shortcut_level, &old_shortcut_path); |
- if (base::PathExists(old_shortcut_path)) { |
- ShellUtil::MoveExistingShortcut( |
- ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_DIR_DEPRECATED, |
- ShellUtil::SHORTCUT_LOCATION_START_MENU_ROOT, |
- dist, start_menu_properties); |
- } |
- |
ExecuteAndLogShortcutOperation( |
- ShellUtil::SHORTCUT_LOCATION_START_MENU_ROOT, dist, |
+ ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_DIR, dist, |
start_menu_properties, shortcut_operation); |
} |