| 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 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 // Useful only when used with --update-setup-exe, otherwise ignored. It | 51 // Useful only when used with --update-setup-exe, otherwise ignored. It |
| 52 // specifies the full path where updated setup.exe will be stored. | 52 // specifies the full path where updated setup.exe will be stored. |
| 53 const wchar_t kNewSetupExe[] = L"new-setup-exe"; | 53 const wchar_t kNewSetupExe[] = L"new-setup-exe"; |
| 54 | 54 |
| 55 // Register Chrome as a valid browser on the current sytem. This option | 55 // Register Chrome as a valid browser on the current sytem. This option |
| 56 // requires that setup.exe is running as admin. If this option is specified, | 56 // requires that setup.exe is running as admin. If this option is specified, |
| 57 // options kInstallArchive and kUninstall are ignored. | 57 // options kInstallArchive and kUninstall are ignored. |
| 58 const wchar_t kRegisterChromeBrowser[] = L"register-chrome-browser"; | 58 const wchar_t kRegisterChromeBrowser[] = L"register-chrome-browser"; |
| 59 | 59 |
| 60 const wchar_t kRegisterChromeBrowserSuffix[] = |
| 61 L"register-chrome-browser-suffix"; |
| 62 |
| 60 // Renames chrome.exe to old_chrome.exe and renames new_chrome.exe to chrome.exe | 63 // Renames chrome.exe to old_chrome.exe and renames new_chrome.exe to chrome.exe |
| 61 // to support in-use updates. Also deletes opv key. | 64 // to support in-use updates. Also deletes opv key. |
| 62 const wchar_t kRenameChromeExe[] = L"rename-chrome-exe"; | 65 const wchar_t kRenameChromeExe[] = L"rename-chrome-exe"; |
| 63 | 66 |
| 64 // Removes Chrome registration from current machine. Requires admin rights. | 67 // Removes Chrome registration from current machine. Requires admin rights. |
| 65 const wchar_t kRemoveChromeRegistration[] = L"remove-chrome-registration"; | 68 const wchar_t kRemoveChromeRegistration[] = L"remove-chrome-registration"; |
| 66 | 69 |
| 67 // When we try to relaunch setup.exe as admin on Vista, we append this command | 70 // When we try to relaunch setup.exe as admin on Vista, we append this command |
| 68 // line flag so that we try the launch only once. | 71 // line flag so that we try the launch only once. |
| 69 const wchar_t kRunAsAdmin[] = L"run-as-admin"; | 72 const wchar_t kRunAsAdmin[] = L"run-as-admin"; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 100 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; | 103 const wchar_t kChromeNewExe[] = L"new_chrome.exe"; |
| 101 const wchar_t kChromeDll[] = L"chrome.dll"; | 104 const wchar_t kChromeDll[] = L"chrome.dll"; |
| 102 const wchar_t kSetupExe[] = L"setup.exe"; | 105 const wchar_t kSetupExe[] = L"setup.exe"; |
| 103 const wchar_t kInstallerDir[] = L"Installer"; | 106 const wchar_t kInstallerDir[] = L"Installer"; |
| 104 | 107 |
| 105 const wchar_t kUninstallStringField[] = L"UninstallString"; | 108 const wchar_t kUninstallStringField[] = L"UninstallString"; |
| 106 const wchar_t kUninstallDisplayNameField[] = L"DisplayName"; | 109 const wchar_t kUninstallDisplayNameField[] = L"DisplayName"; |
| 107 const wchar_t kUninstallMetricsName[] = L"uninstall_metrics"; | 110 const wchar_t kUninstallMetricsName[] = L"uninstall_metrics"; |
| 108 const wchar_t kUninstallInstallationDate[] = L"installation_date"; | 111 const wchar_t kUninstallInstallationDate[] = L"installation_date"; |
| 109 } // namespace installer_util | 112 } // namespace installer_util |
| OLD | NEW |