Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9861)

Unified Diff: chrome/installer/setup/setup_constants.cc

Issue 1271893003: Add options to write version number to registry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed review comments by grt Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/setup/setup_constants.cc
diff --git a/chrome/installer/setup/setup_constants.cc b/chrome/installer/setup/setup_constants.cc
index 77c03a64ce140f943f9fd8bf66e46eef37ea8c36..c6267467bf2c361818e23266789ad09ac8d9fd6f 100644
--- a/chrome/installer/setup/setup_constants.cc
+++ b/chrome/installer/setup/setup_constants.cc
@@ -20,4 +20,19 @@ const wchar_t kInstallSourceChromeDir[] = L"Chrome-bin";
const wchar_t kMediaPlayerRegPath[] =
L"Software\\Microsoft\\MediaPlayer\\ShimInclusionList";
+namespace switches {
+
+// Setting this will delay the operation of setup by the specified number of
+// seconds. This is used when changing the DisplayVersion registry value
+// only after some time has passed, called by the MSI installer.
+const char kDelay[] = "delay";
+
+// Set the MSI-managed DisplayVersion in the registry to match Chrome's real
+// version number. The parameter to this option specifies the product-id in
+// the registry under HKLM.
+const char kSetDisplayVersionProduct[] = "set-display-version-product";
+const char kSetDisplayVersionValue[] = "set-display-version-value";
+
+} // namespace switches
+
} // namespace installer

Powered by Google App Engine
This is Rietveld 408576698