| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_INSTALLER_MINI_INSTALLER__ | 5 #ifndef CHROME_INSTALLER_MINI_INSTALLER__ |
| 6 #define CHROME_INSTALLER_MINI_INSTALLER__ | 6 #define CHROME_INSTALLER_MINI_INSTALLER__ |
| 7 | 7 |
| 8 // The windows command line to uncompress a LZ compressed file. It is a define | 8 // The windows command line to uncompress a LZ compressed file. It is a define |
| 9 // because we need the string to be writable. We don't need the full path | 9 // because we need the string to be writable. We don't need the full path |
| 10 // since it is located in windows\system32 and is available since windows2k. | 10 // since it is located in windows\system32 and is available since windows2k. |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 const wchar_t kBinResourceType[] = L"BN"; | 21 const wchar_t kBinResourceType[] = L"BN"; |
| 22 const wchar_t kLZCResourceType[] = L"BL"; | 22 const wchar_t kLZCResourceType[] = L"BL"; |
| 23 const wchar_t kLZMAResourceType[] = L"B7"; | 23 const wchar_t kLZMAResourceType[] = L"B7"; |
| 24 | 24 |
| 25 // Registry key to get uninstall command | 25 // Registry key to get uninstall command |
| 26 const wchar_t kUninstallRegistryValueName[] = L"UninstallString"; | 26 const wchar_t kUninstallRegistryValueName[] = L"UninstallString"; |
| 27 // Registry key that tells Chrome installer not to delete extracted files. | 27 // Registry key that tells Chrome installer not to delete extracted files. |
| 28 const wchar_t kCleanupRegistryValueName[] = L"ChromeInstallerCleanup"; | 28 const wchar_t kCleanupRegistryValueName[] = L"ChromeInstallerCleanup"; |
| 29 // Paths for the above two registry keys | 29 // Paths for the above two registry keys |
| 30 #if defined(GOOGLE_CHROME_BUILD) | 30 #if defined(GOOGLE_CHROME_BUILD) |
| 31 const wchar_t kUninstallRegistryKey[] = L"Software\\Microsoft\\Windows\\CurrentV
ersion\\Uninstall\\Google Chrome"; | 31 const wchar_t kUninstallRegistryKey[] = |
| 32 L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Google Chrome"; |
| 32 const wchar_t kCleanupRegistryKey[] = L"Software\\Google"; | 33 const wchar_t kCleanupRegistryKey[] = L"Software\\Google"; |
| 33 #else | 34 #else |
| 34 const wchar_t kUninstallRegistryKey[] = L"Software\\Microsoft\\Windows\\CurrentV
ersion\\Uninstall\\Chromium"; | 35 const wchar_t kUninstallRegistryKey[] = |
| 36 L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Chromium"; |
| 35 const wchar_t kCleanupRegistryKey[] = L"Software\\Chromium"; | 37 const wchar_t kCleanupRegistryKey[] = L"Software\\Chromium"; |
| 36 #endif | 38 #endif |
| 37 | 39 |
| 38 // One gigabyte is the biggest resource size that it can handle. | 40 // One gigabyte is the biggest resource size that it can handle. |
| 39 const int kMaxResourceSize = 1024*1024*1024; | 41 const int kMaxResourceSize = 1024*1024*1024; |
| 40 | 42 |
| 41 // This is the file that contains the list of files to be linked in the | 43 // This is the file that contains the list of files to be linked in the |
| 42 // executable. This file is updated by the installer generator tool chain. | 44 // executable. This file is updated by the installer generator tool chain. |
| 43 const wchar_t kManifestFilename[] = L"packed_files.txt"; | 45 const wchar_t kManifestFilename[] = L"packed_files.txt"; |
| 44 | 46 |
| 45 } // namespace mini_installer | 47 } // namespace mini_installer |
| 46 | 48 |
| 47 #endif // CHROME_INSTALLER_MINI_INSTALLER__ | 49 #endif // CHROME_INSTALLER_MINI_INSTALLER__ |
| 48 | 50 |
| OLD | NEW |