From 2754dcd0a4d0412360bc5bc1ac97c55617554836 Mon Sep 17 00:00:00 2001 From: "kuchhal@chromium.org" Date: Wed, 12 Nov 2008 19:44:02 +0000 Subject: * Need to read version from registry if relaunching browser. BUG=4316 Review URL: http://codereview.chromium.org/10820 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5281 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/first_run.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/browser/first_run.cc') diff --git a/chrome/browser/first_run.cc b/chrome/browser/first_run.cc index b9c9884..de08f40 100644 --- a/chrome/browser/first_run.cc +++ b/chrome/browser/first_run.cc @@ -227,6 +227,7 @@ bool Upgrade::SwapNewChromeExeIfPresent() { } bool Upgrade::RelaunchChromeBrowser(const CommandLine& command_line) { + ::SetEnvironmentVariable(google_update::kEnvProductVersionKey, NULL); return process_util::LaunchApp(command_line.command_line_string(), false, false, NULL); } -- cgit v1.1