| Index: chrome/installer/util/shell_util.cc
|
| diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
|
| index 9e705cce2f70c808caed8aa1ab39e7c08c42f621..43de6fafde41ce36d6020d8cf01134432e0180a0 100644
|
| --- a/chrome/installer/util/shell_util.cc
|
| +++ b/chrome/installer/util/shell_util.cc
|
| @@ -48,6 +48,7 @@
|
| #include "chrome/installer/util/master_preferences.h"
|
| #include "chrome/installer/util/master_preferences_constants.h"
|
| #include "chrome/installer/util/util_constants.h"
|
| +#include "chrome/installer/util/work_item.h"
|
|
|
| #include "installer_util_strings.h" // NOLINT
|
|
|
| @@ -531,11 +532,13 @@ class RegistryEntry {
|
| // Generate work_item tasks required to create current registry entry and
|
| // add them to the given work item list.
|
| void AddToWorkItemList(HKEY root, WorkItemList *items) const {
|
| - items->AddCreateRegKeyWorkItem(root, key_path_);
|
| + items->AddCreateRegKeyWorkItem(root, key_path_, WorkItem::kWow64Default);
|
| if (is_string_) {
|
| - items->AddSetRegValueWorkItem(root, key_path_, name_, value_, true);
|
| + items->AddSetRegValueWorkItem(
|
| + root, key_path_, WorkItem::kWow64Default, name_, value_, true);
|
| } else {
|
| - items->AddSetRegValueWorkItem(root, key_path_, name_, int_value_, true);
|
| + items->AddSetRegValueWorkItem(
|
| + root, key_path_, WorkItem::kWow64Default, name_, int_value_, true);
|
| }
|
| }
|
|
|
| @@ -1020,7 +1023,8 @@ void RemoveRunVerbOnWindows8(BrowserDistribution* dist,
|
| run_verb_key.append(ShellUtil::kRegShellPath);
|
| run_verb_key.push_back(base::FilePath::kSeparators[0]);
|
| run_verb_key.append(ShellUtil::kRegVerbRun);
|
| - InstallUtil::DeleteRegistryKey(root_key, run_verb_key);
|
| + InstallUtil::DeleteRegistryKey(root_key, run_verb_key,
|
| + WorkItem::kWow64Default);
|
| }
|
| }
|
|
|
|
|