Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: chrome/installer/setup/uninstall.cc

Issue 10889028: Install a user-level Start Menu shortcut for every user on system-installs through Active Setup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file defines the methods useful for uninstalling Chrome. 5 // This file defines the methods useful for uninstalling Chrome.
6 6
7 #include "chrome/installer/setup/uninstall.h" 7 #include "chrome/installer/setup/uninstall.h"
8 8
9 #include <windows.h> 9 #include <windows.h>
10 10
(...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after
1058 // !|remove_all| for now). 1058 // !|remove_all| for now).
1059 if (installer_state.system_install() || 1059 if (installer_state.system_install() ||
1060 (remove_all && 1060 (remove_all &&
1061 ShellUtil::QuickIsChromeRegisteredInHKLM( 1061 ShellUtil::QuickIsChromeRegisteredInHKLM(
1062 browser_dist, chrome_exe, suffix))) { 1062 browser_dist, chrome_exe, suffix))) {
1063 DeleteChromeRegistrationKeys(browser_dist, HKEY_LOCAL_MACHINE, suffix, 1063 DeleteChromeRegistrationKeys(browser_dist, HKEY_LOCAL_MACHINE, suffix,
1064 installer_state.target_path(), &ret); 1064 installer_state.target_path(), &ret);
1065 } 1065 }
1066 1066
1067 ProcessDelegateExecuteWorkItems(installer_state, product); 1067 ProcessDelegateExecuteWorkItems(installer_state, product);
1068
1069 // TODO(gab): This is only disabled for M22 as the shortcut CL using Active
1070 // Setup will not make it in M22.
1071 #if 0
1072 UninstallActiveSetupEntries(installer_state, product); 1068 UninstallActiveSetupEntries(installer_state, product);
1073 #endif
1074 } 1069 }
1075 1070
1076 if (product.is_chrome_frame()) { 1071 if (product.is_chrome_frame()) {
1077 ProcessChromeFrameWorkItems(original_state, installer_state, setup_path, 1072 ProcessChromeFrameWorkItems(original_state, installer_state, setup_path,
1078 product); 1073 product);
1079 } 1074 }
1080 1075
1081 if (installer_state.is_multi_install()) 1076 if (installer_state.is_multi_install())
1082 ProcessGoogleUpdateItems(original_state, installer_state, product); 1077 ProcessGoogleUpdateItems(original_state, installer_state, product);
1083 1078
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
1180 1175
1181 // Try and delete the preserved local state once the post-install 1176 // Try and delete the preserved local state once the post-install
1182 // operations are complete. 1177 // operations are complete.
1183 if (!backup_state_file.empty()) 1178 if (!backup_state_file.empty())
1184 file_util::Delete(backup_state_file, false); 1179 file_util::Delete(backup_state_file, false);
1185 1180
1186 return ret; 1181 return ret;
1187 } 1182 }
1188 1183
1189 } // namespace installer 1184 } // namespace installer
OLDNEW
« chrome/installer/setup/setup_main.cc ('K') | « chrome/installer/setup/setup_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698