| Index: chrome/installer/setup/setup.cc
|
| ===================================================================
|
| --- chrome/installer/setup/setup.cc (revision 2671)
|
| +++ chrome/installer/setup/setup.cc (working copy)
|
| @@ -130,6 +130,11 @@
|
| file_util::GetFilenameFromPath(exe_path));
|
| std::wstring arguments(L" --");
|
| arguments.append(installer_util::switches::kUninstall);
|
| + if (system_install) {
|
| + arguments.append(L" --");
|
| + arguments.append(installer_util::switches::kSystemInstall);
|
| + }
|
| +
|
| LOG(INFO) << "Creating/updating uninstall link at " << uninstall_link;
|
| std::wstring target_folder = file_util::GetDirectoryFromPath(install_path);
|
| ret2 = file_util::CreateShortcutLink(setup_exe.c_str(),
|
|
|