| 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 #ifndef CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_H_ | 5 #ifndef CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_H_ |
| 6 #define CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_H_ | 6 #define CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // The windows command line to uncompress a LZ compressed file. It is a define | 9 // The windows command line to uncompress a LZ compressed file. It is a define |
| 10 // because we need the string to be writable. We don't need the full path | 10 // because we need the string to be writable. We don't need the full path |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 // setup.exe command line arguements | 21 // setup.exe command line arguements |
| 22 const wchar_t kCmdInstallArchive[] = L" --install-archive"; | 22 const wchar_t kCmdInstallArchive[] = L" --install-archive"; |
| 23 const wchar_t kCmdUpdateSetupExe[] = L" --update-setup-exe"; | 23 const wchar_t kCmdUpdateSetupExe[] = L" --update-setup-exe"; |
| 24 const wchar_t kCmdNewSetupExe[] = L" --new-setup-exe"; | 24 const wchar_t kCmdNewSetupExe[] = L" --new-setup-exe"; |
| 25 | 25 |
| 26 // Temp directory prefix that this process creates | 26 // Temp directory prefix that this process creates |
| 27 const wchar_t kTempPrefix[] = L"CR_"; | 27 const wchar_t kTempPrefix[] = L"CR_"; |
| 28 // Google Update will use the full installer if this suffix is found in the ap | 28 // Google Update will use the full installer if this suffix is found in the ap |
| 29 // value. | 29 // value. |
| 30 const wchar_t kFullInstallerSuffix[] = L"-full"; | 30 const wchar_t kFullInstallerSuffix[] = L"-full"; |
| 31 // Google Update will use the single-install configuration if this suffix is |
| 32 // found in the ap value. |
| 33 const wchar_t kMultifailInstallerSuffix[] = L"-multifail"; |
| 31 // ap value tag for a multi-install product. | 34 // ap value tag for a multi-install product. |
| 32 const wchar_t kMultiInstallTag[] = L"-multi"; | 35 const wchar_t kMultiInstallTag[] = L"-multi"; |
| 33 | 36 |
| 34 // The resource types that would be unpacked from the mini installer. | 37 // The resource types that would be unpacked from the mini installer. |
| 35 // 'BN' is uncompressed binary and 'BL' is LZ compressed binary. | 38 // 'BN' is uncompressed binary and 'BL' is LZ compressed binary. |
| 36 const wchar_t kBinResourceType[] = L"BN"; | 39 const wchar_t kBinResourceType[] = L"BN"; |
| 37 const wchar_t kLZCResourceType[] = L"BL"; | 40 const wchar_t kLZCResourceType[] = L"BL"; |
| 38 const wchar_t kLZMAResourceType[] = L"B7"; | 41 const wchar_t kLZMAResourceType[] = L"B7"; |
| 39 | 42 |
| 40 // Registry key to get uninstall command | 43 // Registry key to get uninstall command |
| (...skipping 22 matching lines...) Expand all Loading... |
| 63 const int kMaxResourceSize = 1024*1024*1024; | 66 const int kMaxResourceSize = 1024*1024*1024; |
| 64 | 67 |
| 65 // This is the file that contains the list of files to be linked in the | 68 // This is the file that contains the list of files to be linked in the |
| 66 // executable. This file is updated by the installer generator tool chain. | 69 // executable. This file is updated by the installer generator tool chain. |
| 67 const wchar_t kManifestFilename[] = L"packed_files.txt"; | 70 const wchar_t kManifestFilename[] = L"packed_files.txt"; |
| 68 | 71 |
| 69 } // namespace mini_installer | 72 } // namespace mini_installer |
| 70 | 73 |
| 71 #endif // CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_H_ | 74 #endif // CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_H_ |
| 72 | 75 |
| OLD | NEW |