summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/shell_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/util/shell_util.cc')
-rw-r--r--chrome/installer/util/shell_util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
index 45eaf52..7753fc6 100644
--- a/chrome/installer/util/shell_util.cc
+++ b/chrome/installer/util/shell_util.cc
@@ -92,6 +92,7 @@ class RegistryEntry {
// TODO(grt): remove HasDelegateExecuteHandler when the exe is ever-present;
// see also install_worker.cc's AddDelegateExecuteWorkItems.
bool set_delegate_execute =
+ base::win::GetVersion() >= base::win::VERSION_WIN8 &&
dist->GetDelegateExecuteHandlerData(&delegate_guid, NULL, NULL, NULL) &&
InstallUtil::HasDelegateExecuteHandler(dist, chrome_exe);