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.
5 #ifndef CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_CONSTANTS_H_
6 #define CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_CONSTANTS_H_
8 namespace mini_installer
{
10 // Various filenames and prefixes.
11 extern const wchar_t kSetupExe
[];
12 extern const wchar_t kChromeArchivePrefix
[];
13 extern const wchar_t kSetupPrefix
[];
15 // Unprefixed command line switch names for setup.exe.
16 #if defined(COMPONENT_BUILD)
17 extern const wchar_t kCmdUncompressedArchive
[];
19 extern const wchar_t kCmdInstallArchive
[];
21 extern const wchar_t kCmdUpdateSetupExe
[];
22 extern const wchar_t kCmdNewSetupExe
[];
23 extern const wchar_t kCmdPreviousVersion
[];
25 extern const wchar_t kTempPrefix
[];
26 extern const wchar_t kFullInstallerSuffix
[];
27 extern const wchar_t kMultiInstallTag
[];
29 // The resource types that would be unpacked from the mini installer.
30 extern const wchar_t kBinResourceType
[];
31 extern const wchar_t kLZCResourceType
[];
32 extern const wchar_t kLZMAResourceType
[];
34 // Registry value names.
35 extern const wchar_t kApRegistryValue
[];
36 extern const wchar_t kCleanupRegistryValue
[];
37 extern const wchar_t kInstallerErrorRegistryValue
[];
38 extern const wchar_t kInstallerExtraCode1RegistryValue
[];
39 extern const wchar_t kInstallerResultRegistryValue
[];
40 extern const wchar_t kUninstallRegistryValue
[];
42 // Registry key paths.
43 extern const wchar_t kClientStateKeyBase
[];
44 extern const wchar_t kCleanupRegistryKey
[];
46 extern const size_t kMaxResourceSize
;
48 } // namespace mini_installer
50 #endif // CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_CONSTANTS_H_