OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 |
11 // Whether to set Chrome to launch at computer startup. | 11 // Whether to set Chrome to launch at computer startup. |
12 const char kAutoLaunchChrome[] = "auto-launch-chrome"; | 12 const char kAutoLaunchChrome[] = "auto-launch-chrome"; |
13 | 13 |
14 // Install CEEE. | |
15 const char kCeee[] = "ceee"; | |
16 | |
17 // Install Chrome. | 14 // Install Chrome. |
18 // Currently this is only required when used in combination with kMultiInstall. | 15 // Currently this is only required when used in combination with kMultiInstall. |
19 const char kChrome[] = "chrome"; | 16 const char kChrome[] = "chrome"; |
20 | 17 |
21 // Install Chrome Frame. | 18 // Install Chrome Frame. |
22 const char kChromeFrame[] = "chrome-frame"; | 19 const char kChromeFrame[] = "chrome-frame"; |
23 | 20 |
24 // Installs Chrome Frame from an already installed multi-install of Chrome. | 21 // Installs Chrome Frame from an already installed multi-install of Chrome. |
25 const char kChromeFrameQuickEnable[] = "quick-enable-cf"; | 22 const char kChromeFrameQuickEnable[] = "quick-enable-cf"; |
26 | 23 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // Register Chrome as default browser on the system. Usually this will require | 88 // Register Chrome as default browser on the system. Usually this will require |
92 // that setup is running as admin. If running as admin we try to register | 89 // that setup is running as admin. If running as admin we try to register |
93 // as default browser at system level, if running as non-admin we try to | 90 // as default browser at system level, if running as non-admin we try to |
94 // register as default browser only for the current user. | 91 // register as default browser only for the current user. |
95 const char kMakeChromeDefault[] = "make-chrome-default"; | 92 const char kMakeChromeDefault[] = "make-chrome-default"; |
96 | 93 |
97 // Tells installer to expect to be run as a subsidiary to an MSI. | 94 // Tells installer to expect to be run as a subsidiary to an MSI. |
98 const char kMsi[] = "msi"; | 95 const char kMsi[] = "msi"; |
99 | 96 |
100 // Tells installer to install multiple products specified on the command line. | 97 // Tells installer to install multiple products specified on the command line. |
101 // (e.g. Chrome Frame, CEEE, Chrome) | 98 // (e.g. Chrome Frame, Chrome) |
102 const char kMultiInstall[] = "multi-install"; | 99 const char kMultiInstall[] = "multi-install"; |
103 | 100 |
104 // Useful only when used with --update-setup-exe, otherwise ignored. It | 101 // Useful only when used with --update-setup-exe, otherwise ignored. It |
105 // specifies the full path where updated setup.exe will be stored. | 102 // specifies the full path where updated setup.exe will be stored. |
106 const char kNewSetupExe[] = "new-setup-exe"; | 103 const char kNewSetupExe[] = "new-setup-exe"; |
107 | 104 |
108 // Register Chrome as a valid browser on the current sytem. This option | 105 // Register Chrome as a valid browser on the current sytem. This option |
109 // requires that setup.exe is running as admin. If this option is specified, | 106 // requires that setup.exe is running as admin. If this option is specified, |
110 // options kInstallArchive and kUninstall are ignored. | 107 // options kInstallArchive and kUninstall are ignored. |
111 const char kRegisterChromeBrowser[] = "register-chrome-browser"; | 108 const char kRegisterChromeBrowser[] = "register-chrome-browser"; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 | 194 |
198 // The presence of this environment variable with a value of 1 implies that | 195 // The presence of this environment variable with a value of 1 implies that |
199 // we should run as a system installation regardless of what is on the | 196 // we should run as a system installation regardless of what is on the |
200 // command line. | 197 // command line. |
201 const char kGoogleUpdateIsMachineEnvVar[] = "GoogleUpdateIsMachine"; | 198 const char kGoogleUpdateIsMachineEnvVar[] = "GoogleUpdateIsMachine"; |
202 | 199 |
203 const wchar_t kOptionMultiInstall[] = L"multi-install"; | 200 const wchar_t kOptionMultiInstall[] = L"multi-install"; |
204 const wchar_t kOptionReadyMode[] = L"ready-mode"; | 201 const wchar_t kOptionReadyMode[] = L"ready-mode"; |
205 | 202 |
206 } // namespace installer | 203 } // namespace installer |
OLD | NEW |