OLD | NEW |
---|---|
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/util/util_constants.h" | 5 #include "chrome/installer/util/util_constants.h" |
6 | 6 |
7 namespace installer { | 7 namespace installer { |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... | |
24 // Create shortcuts for this user to point to a system-level install (which | 24 // Create shortcuts for this user to point to a system-level install (which |
25 // must already be installed on the machine). The shortcuts created will | 25 // must already be installed on the machine). The shortcuts created will |
26 // match the preferences of the already present system-level install as such | 26 // match the preferences of the already present system-level install as such |
27 // this option is not compatible with any other installer options. | 27 // this option is not compatible with any other installer options. |
28 const char kConfigureUserSettings[] = "configure-user-settings"; | 28 const char kConfigureUserSettings[] = "configure-user-settings"; |
29 | 29 |
30 // The version number of an update containing critical fixes, for which an | 30 // The version number of an update containing critical fixes, for which an |
31 // in-use Chrome should be restarted ASAP. | 31 // in-use Chrome should be restarted ASAP. |
32 const char kCriticalUpdateVersion[] = "critical-update-version"; | 32 const char kCriticalUpdateVersion[] = "critical-update-version"; |
33 | 33 |
34 // Setting this will delay the operation of setup by the specified number of | |
35 // seconds. This is used when changing the DisplayVersion registry value | |
36 // only after some time has passed. | |
robertshield
2015/08/14 13:31:14
*This is used by the MSI installer
| |
37 const char kDelay[] = "delay"; | |
38 | |
34 // Delete user profile data. This param is useful only when specified with | 39 // Delete user profile data. This param is useful only when specified with |
35 // kUninstall, otherwise it is silently ignored. | 40 // kUninstall, otherwise it is silently ignored. |
36 const char kDeleteProfile[] = "delete-profile"; | 41 const char kDeleteProfile[] = "delete-profile"; |
37 | 42 |
38 // Disable logging | 43 // Disable logging |
39 const char kDisableLogging[] = "disable-logging"; | 44 const char kDisableLogging[] = "disable-logging"; |
40 | 45 |
41 // Prevent installer from launching Chrome after a successful first install. | 46 // Prevent installer from launching Chrome after a successful first install. |
42 const char kDoNotLaunchChrome[] = "do-not-launch-chrome"; | 47 const char kDoNotLaunchChrome[] = "do-not-launch-chrome"; |
43 | 48 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
127 // to support in-use updates. Also deletes opv key. | 132 // to support in-use updates. Also deletes opv key. |
128 const char kRenameChromeExe[] = "rename-chrome-exe"; | 133 const char kRenameChromeExe[] = "rename-chrome-exe"; |
129 | 134 |
130 // Removes Chrome registration from current machine. Requires admin rights. | 135 // Removes Chrome registration from current machine. Requires admin rights. |
131 const char kRemoveChromeRegistration[] = "remove-chrome-registration"; | 136 const char kRemoveChromeRegistration[] = "remove-chrome-registration"; |
132 | 137 |
133 // When we try to relaunch setup.exe as admin on Vista, we append this command | 138 // When we try to relaunch setup.exe as admin on Vista, we append this command |
134 // line flag so that we try the launch only once. | 139 // line flag so that we try the launch only once. |
135 const char kRunAsAdmin[] = "run-as-admin"; | 140 const char kRunAsAdmin[] = "run-as-admin"; |
136 | 141 |
142 // Set the DisplayVersion in the registry to match Chrome's real version number. | |
robertshield
2015/08/14 13:31:13
* Set the MSI-managed DisplayVersion value in the
| |
143 // The parameter to this option specifies the registry path under HKLM. | |
144 const char kSetDisplayVersionPath[] = "set-display-version-path"; | |
145 const char kSetDisplayVersionValue[] = "set-display-version-value"; | |
146 | |
137 // Combined with --uninstall, signals to setup.exe that this uninstall was | 147 // Combined with --uninstall, signals to setup.exe that this uninstall was |
138 // triggered by a self-destructing Chrome. | 148 // triggered by a self-destructing Chrome. |
139 const char kSelfDestruct[] = "self-destruct"; | 149 const char kSelfDestruct[] = "self-destruct"; |
140 | 150 |
141 // Install Chrome to system wise location. The default is per user install. | 151 // Install Chrome to system wise location. The default is per user install. |
142 const char kSystemLevel[] = "system-level"; | 152 const char kSystemLevel[] = "system-level"; |
143 | 153 |
144 // Signals to setup.exe that it should trigger the active setup command. | 154 // Signals to setup.exe that it should trigger the active setup command. |
145 const char kTriggerActiveSetup[] = "trigger-active-setup"; | 155 const char kTriggerActiveSetup[] = "trigger-active-setup"; |
146 | 156 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
254 const wchar_t kChromeChannelBeta[] = L"beta"; | 264 const wchar_t kChromeChannelBeta[] = L"beta"; |
255 const wchar_t kChromeChannelStable[] = L""; | 265 const wchar_t kChromeChannelStable[] = L""; |
256 const wchar_t kChromeChannelStableExplicit[] = L"stable"; | 266 const wchar_t kChromeChannelStableExplicit[] = L"stable"; |
257 | 267 |
258 const size_t kMaxAppModelIdLength = 64U; | 268 const size_t kMaxAppModelIdLength = 64U; |
259 | 269 |
260 const char kCourgette[] = "courgette"; | 270 const char kCourgette[] = "courgette"; |
261 const char kBsdiff[] = "bsdiff"; | 271 const char kBsdiff[] = "bsdiff"; |
262 | 272 |
263 } // namespace installer | 273 } // namespace installer |
OLD | NEW |