OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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_util { | 7 namespace installer_util { |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
11 // Create Desktop and QuickLaunch shortcuts | 11 // Create Desktop and QuickLaunch shortcuts |
12 const wchar_t kCreateAllShortcuts[] = L"create-all-shortcuts"; | 12 const wchar_t kCreateAllShortcuts[] = L"create-all-shortcuts"; |
13 | 13 |
14 // Delete user profile also. This param is useful only when specified with | 14 // Delete user profile also. This param is useful only when specified with |
15 // kUninstall && kForceUninstall, otherwise it is silently ignored. | 15 // kUninstall && kForceUninstall, otherwise it is silently ignored. |
16 const wchar_t kDeleteProfile[] = L"delete-profile"; | 16 const wchar_t kDeleteProfile[] = L"delete-profile"; |
17 | 17 |
18 // Disable logging | 18 // Disable logging |
19 const wchar_t kDisableLogging[] = L"disable-logging"; | 19 const wchar_t kDisableLogging[] = L"disable-logging"; |
20 | 20 |
21 // Prevent installer from creating desktop shortcuts. | 21 // Prevent installer from creating desktop shortcuts. |
22 const wchar_t kDoNotCreateShortcuts[] = L"do-not-create-shortcuts"; | 22 const wchar_t kDoNotCreateShortcuts[] = L"do-not-create-shortcuts"; |
23 | 23 |
24 // Prevent installer from launching Chrome after a successful first install. | 24 // Prevent installer from launching Chrome after a successful first install. |
25 const wchar_t kDoNotLaunchChrome[] = L"do-not-launch-chrome"; | 25 const wchar_t kDoNotLaunchChrome[] = L"do-not-launch-chrome"; |
26 | 26 |
| 27 // Prevents installer from writing the Google Update key that causes Google |
| 28 // Update to launch Chrome after a first install. |
| 29 const wchar_t kDoNotRegisterForUpdateLaunch[] = |
| 30 L"do-not-register-for-update-launch"; |
| 31 |
27 // By default we remove all shared (between users) files, registry entries etc | 32 // By default we remove all shared (between users) files, registry entries etc |
28 // during uninstall. If this option is specified together with kUninstall option | 33 // during uninstall. If this option is specified together with kUninstall option |
29 // we do not clean up shared entries otherwise this option is ignored. | 34 // we do not clean up shared entries otherwise this option is ignored. |
30 const wchar_t kDoNotRemoveSharedItems[] = L"do-not-remove-shared-items"; | 35 const wchar_t kDoNotRemoveSharedItems[] = L"do-not-remove-shared-items"; |
31 | 36 |
32 // Enable logging at the error level. This is the default behavior. | 37 // Enable logging at the error level. This is the default behavior. |
33 const wchar_t kEnableLogging[] = L"enable-logging"; | 38 const wchar_t kEnableLogging[] = L"enable-logging"; |
34 | 39 |
35 // If present, setup will uninstall chrome without asking for any | 40 // If present, setup will uninstall chrome without asking for any |
36 // confirmation from user. | 41 // confirmation from user. |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; | 111 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; |
107 const wchar_t kChromeDll[] = L"chrome.dll"; | 112 const wchar_t kChromeDll[] = L"chrome.dll"; |
108 const wchar_t kSetupExe[] = L"setup.exe"; | 113 const wchar_t kSetupExe[] = L"setup.exe"; |
109 const wchar_t kInstallerDir[] = L"Installer"; | 114 const wchar_t kInstallerDir[] = L"Installer"; |
110 | 115 |
111 const wchar_t kUninstallStringField[] = L"UninstallString"; | 116 const wchar_t kUninstallStringField[] = L"UninstallString"; |
112 const wchar_t kUninstallDisplayNameField[] = L"DisplayName"; | 117 const wchar_t kUninstallDisplayNameField[] = L"DisplayName"; |
113 const wchar_t kUninstallMetricsName[] = L"uninstall_metrics"; | 118 const wchar_t kUninstallMetricsName[] = L"uninstall_metrics"; |
114 const wchar_t kUninstallInstallationDate[] = L"installation_date"; | 119 const wchar_t kUninstallInstallationDate[] = L"installation_date"; |
115 } // namespace installer_util | 120 } // namespace installer_util |
OLD | NEW |