Index: chrome/installer/util/helper.cc |
diff --git a/chrome/installer/util/helper.cc b/chrome/installer/util/helper.cc |
index f76213ded3df6d71a8492bc5007ab018e3020b07..a62ce6a055b04b43c96c919cc8ccef2165091e1a 100644 |
--- a/chrome/installer/util/helper.cc |
+++ b/chrome/installer/util/helper.cc |
@@ -17,7 +17,14 @@ namespace installer { |
base::FilePath GetChromeInstallPath(bool system_install, |
BrowserDistribution* dist) { |
base::FilePath install_path; |
+#if defined(_WIN64) |
+ // TODO(wfh): Place Chrome binaries into DIR_PROGRAM_FILESX86 until the code |
+ // to support moving the binaries is added. |
+ int key = |
+ system_install ? base::DIR_PROGRAM_FILESX86 : base::DIR_LOCAL_APP_DATA; |
+#else |
int key = system_install ? base::DIR_PROGRAM_FILES : base::DIR_LOCAL_APP_DATA; |
+#endif |
if (PathService::Get(key, &install_path)) { |
install_path = install_path.Append(dist->GetInstallSubDir()); |
install_path = install_path.Append(kInstallBinaryDir); |