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

Unified Diff: chrome/installer/mini_installer/mini_installer.cc

Issue 147216: Do not write magic string to registry for non Google Chrome builds. (Closed)
Patch Set: Created 11 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/mini_installer/mini_installer.cc
diff --git a/chrome/installer/mini_installer/mini_installer.cc b/chrome/installer/mini_installer/mini_installer.cc
index 09df494bc30f5fad18b2b1d21a23397454784e9a..6567086429de2dace2cc4289894da4483fe70751 100644
--- a/chrome/installer/mini_installer/mini_installer.cc
+++ b/chrome/installer/mini_installer/mini_installer.cc
@@ -505,11 +505,13 @@ int WMain(HMODULE module) {
if (!GetWorkDir(module, base_path))
return 101;
+#if defined(GOOGLE_CHROME_BUILD)
// Set the magic suffix in registry to try full installer next time. We ignore
// any errors here and we try to set the suffix for user level as well as
- // system level.
+ // system level. This only applies to Google Chrome distribution.
SetFullInstallerFlag(HKEY_LOCAL_MACHINE);
SetFullInstallerFlag(HKEY_CURRENT_USER);
+#endif
wchar_t archive_path[MAX_PATH] = {0};
wchar_t setup_path[MAX_PATH] = {0};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698