Index: chrome/installer/setup/uninstall.cc |
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc |
index a8459b99bd412c31140fb274cd82a380c54a571a..a696b7aa32a43dd8585a63ad387d8de2c8518ef5 100644 |
--- a/chrome/installer/setup/uninstall.cc |
+++ b/chrome/installer/setup/uninstall.cc |
@@ -1270,6 +1270,14 @@ InstallStatus UninstallProduct(const InstallationState& original_state, |
if (!backup_state_file.empty()) |
file_util::Delete(backup_state_file, false); |
+ // If user-level Chrome is being uninstalled and system-level Chrome is |
+ // present, launch the system-level Active Setup command to do post-install |
+ // tasks for this user (i.e., create shortcuts). |
+ if (product.is_chrome() && !installer_state.system_install() && |
+ original_state.GetProductState(true, browser_dist->GetType())) { |
+ InstallUtil::TriggerActiveSetupCommand(); |
+ } |
+ |
return ret; |
} |