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_EXIT_CODE_H_
6 #define CHROME_INSTALLER_MINI_INSTALLER_EXIT_CODE_H_
8 namespace mini_installer
{
10 // mini_installer process exit codes (the underlying type is uint32_t).
12 SUCCESS_EXIT_CODE
= 0,
14 // The next three generic values are here for historic reasons. New additions
15 // should have values strictly greater than them. This is to prevent
16 // collisions with setup.exe's installer::InstallStatus enum since the two are
17 // surfaced similarly by Google Update.
18 GENERIC_INITIALIZATION_FAILURE
= 101,
19 DEPRECATED_UNPACKING_FAILURE
= 102,
20 DEPRECATED_SETUP_FAILURE
= 103,
21 NO_PREVIOUS_SETUP_PATH
= 104,
22 COMMAND_STRING_OVERFLOW
= 105,
23 COULD_NOT_CREATE_PROCESS
= 106,
24 WAIT_FOR_PROCESS_FAILED
= 107,
25 PATH_STRING_OVERFLOW
= 108,
26 UNABLE_TO_GET_WORK_DIRECTORY
= 109,
27 UNABLE_TO_FIND_REGISTRY_KEY
= 110,
28 PATCH_NOT_FOR_INSTALLED_VERSION
= 111,
29 UNABLE_TO_EXTRACT_CHROME_ARCHIVE
= 112,
30 UNABLE_TO_EXTRACT_SETUP_B7
= 113,
31 UNABLE_TO_EXTRACT_SETUP_BN
= 114,
32 UNABLE_TO_EXTRACT_SETUP_EXE
= 115,
33 UNABLE_TO_EXTRACT_SETUP
= 116,
36 } // namespace mini_installer
38 #endif // CHROME_INSTALLER_MINI_INSTALLER_EXIT_CODE_H_