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

Side by Side 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: fix format to %ls 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/installer/setup/setup_constants.h" 5 #include "chrome/installer/setup/setup_constants.h"
6 6
7 namespace installer { 7 namespace installer {
8 8
9 // Elements that make up install paths. 9 // Elements that make up install paths.
10 const wchar_t kChromeArchive[] = L"chrome.7z"; 10 const wchar_t kChromeArchive[] = L"chrome.7z";
11 const wchar_t kChromeCompressedArchive[] = L"chrome.packed.7z"; 11 const wchar_t kChromeCompressedArchive[] = L"chrome.packed.7z";
12 const wchar_t kVisualElements[] = L"VisualElements"; 12 const wchar_t kVisualElements[] = L"VisualElements";
13 const wchar_t kVisualElementsManifest[] = L"VisualElementsManifest.xml"; 13 const wchar_t kVisualElementsManifest[] = L"VisualElementsManifest.xml";
14 const wchar_t kWowHelperExe[] = L"wow_helper.exe"; 14 const wchar_t kWowHelperExe[] = L"wow_helper.exe";
15 15
16 // Sub directory of install source package under install temporary directory. 16 // Sub directory of install source package under install temporary directory.
17 const wchar_t kInstallSourceDir[] = L"source"; 17 const wchar_t kInstallSourceDir[] = L"source";
18 const wchar_t kInstallSourceChromeDir[] = L"Chrome-bin"; 18 const wchar_t kInstallSourceChromeDir[] = L"Chrome-bin";
19 19
20 const wchar_t kMediaPlayerRegPath[] = 20 const wchar_t kMediaPlayerRegPath[] =
21 L"Software\\Microsoft\\MediaPlayer\\ShimInclusionList"; 21 L"Software\\Microsoft\\MediaPlayer\\ShimInclusionList";
22 22
23 namespace switches {
24
25 // Setting this will delay the operation of setup by the specified number of
26 // seconds. This is used when changing the DisplayVersion registry value
27 // only after some time has passed, called by the MSI installer.
28 const char kDelay[] = "delay";
29
30 // Set the MSI-managed DisplayVersion in the registry to match Chrome's real
31 // version number. The parameter to this option specifies the product-id in
32 // the registry under HKLM.
33 const char kSetDisplayVersionProduct[] = "set-display-version-product";
34 const char kSetDisplayVersionValue[] = "set-display-version-value";
35
36 } // namespace switches
37
23 } // namespace installer 38 } // namespace installer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698