OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/installer/mini_installer/mini_installer_constants.h" |
| 6 |
| 7 namespace mini_installer { |
| 8 |
| 9 // Various filenames and prefixes. |
| 10 const wchar_t kSetupExe[] = L"setup.exe"; |
| 11 const wchar_t kChromeArchivePrefix[] = L"chrome"; |
| 12 const wchar_t kSetupPrefix[] = L"setup"; |
| 13 |
| 14 // Command line switch names for setup.exe (sans switch prefixes). |
| 15 const wchar_t kCmdInstallArchive[] = L"install-archive"; |
| 16 const wchar_t kCmdUpdateSetupExe[] = L"update-setup-exe"; |
| 17 const wchar_t kCmdNewSetupExe[] = L"new-setup-exe"; |
| 18 |
| 19 // Temp directory prefix that this process creates. |
| 20 const wchar_t kTempPrefix[] = L"CR_"; |
| 21 const wchar_t kFullInstallerSuffix[] = L"-full"; |
| 22 const wchar_t kMultiInstallTag[] = L"-multi"; |
| 23 |
| 24 // The resource types that would be unpacked from the mini installer. |
| 25 const wchar_t kBinResourceType[] = L"BN"; |
| 26 const wchar_t kLZCResourceType[] = L"BL"; |
| 27 const wchar_t kLZMAResourceType[] = L"B7"; |
| 28 |
| 29 // Registry value names. |
| 30 const wchar_t kApRegistryValue[] = L"ap"; |
| 31 const wchar_t kCleanupRegistryValue[] = L"ChromeInstallerCleanup"; |
| 32 const wchar_t kUninstallRegistryValue[] = L"UninstallString"; |
| 33 |
| 34 // Registry key paths. |
| 35 #if defined(GOOGLE_CHROME_BUILD) |
| 36 const wchar_t kClientStateKeyBase[] = |
| 37 L"Software\\Google\\Update\\ClientState\\"; |
| 38 const wchar_t kCleanupRegistryKey[] = |
| 39 L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Google Chrome"; |
| 40 #else |
| 41 const wchar_t kClientStateKeyBase[] = L"Software\\Chromium"; |
| 42 const wchar_t kCleanupRegistryKey[] = L"Software\\Chromium"; |
| 43 #endif |
| 44 |
| 45 const size_t kMaxResourceSize = 1024*1024*1024; |
| 46 |
| 47 } // namespace mini_installer |
OLD | NEW |