1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
14 * The Original Code is Mozilla Communicator client code, released
17 * The Initial Developer of the Original Code is
18 * Netscape Communications Corporation.
19 * Portions created by the Initial Developer are Copyright (C) 1998
20 * the Initial Developer. All Rights Reserved.
23 * Daniel Veditz <dveditz@netscape.com>
24 * Douglas Turner <dougt@netscape.com>
25 * Jens Bannmann <jens.b@web.de>
26 * Dave Townsend <dtownsend@oxymoronical.com>
28 * Alternatively, the contents of this file may be used under the terms of
29 * either of the GNU General Public License Version 2 or later (the "GPL"),
30 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
31 * in which case the provisions of the GPL or the LGPL are applicable instead
32 * of those above. If you wish to allow use of your version of this file only
33 * under the terms of either the GPL or the LGPL, and not to allow others to
34 * use your version of this file under the terms of the MPL, indicate your
35 * decision by deleting the provisions above and replace them with the notice
36 * and other provisions required by the GPL or the LGPL. If you do not delete
37 * the provisions above, a recipient may use your version of this file under
38 * the terms of any one of the MPL, the GPL or the LGPL.
40 * ***** END LICENSE BLOCK ***** */
42 #ifndef __NS_INSTALL_H__
43 #define __NS_INSTALL_H__
51 BAD_PACKAGE_NAME
= -200,
52 UNEXPECTED_ERROR
= -201,
54 EXECUTION_ERROR
= -203,
55 NO_INSTALL_SCRIPT
= -204,
56 NO_CERTIFICATE
= -205,
57 NO_MATCHING_CERTIFICATE
= -206,
58 CANT_READ_ARCHIVE
= -207,
59 INVALID_ARGUMENTS
= -208,
60 ILLEGAL_RELATIVE_PATH
= -209,
61 USER_CANCELLED
= -210,
62 INSTALL_NOT_STARTED
= -211,
63 SILENT_MODE_DENIED
= -212,
64 NO_SUCH_COMPONENT
= -213,
65 DOES_NOT_EXIST
= -214,
68 NETWORK_FILE_IS_IN_USE
= -217,
69 APPLE_SINGLE_ERR
= -218,
70 INVALID_PATH_ERR
= -219,
71 PATCH_BAD_DIFF
= -220,
72 PATCH_BAD_CHECKSUM_TARGET
= -221,
73 PATCH_BAD_CHECKSUM_RESULT
= -222,
74 UNINSTALL_FAILED
= -223,
75 PACKAGE_FOLDER_NOT_SET
= -224,
76 EXTRACTION_FAILED
= -225,
77 FILENAME_ALREADY_USED
= -226,
78 INSTALL_CANCELLED
= -227,
79 DOWNLOAD_ERROR
= -228,
82 ALREADY_EXISTS
= -230,
84 SOURCE_DOES_NOT_EXIST
= -232,
85 SOURCE_IS_DIRECTORY
= -233,
86 SOURCE_IS_FILE
= -234,
87 INSUFFICIENT_DISK_SPACE
= -235,
88 FILENAME_TOO_LONG
= -236,
90 UNABLE_TO_LOCATE_LIB_FUNCTION
= -237,
91 UNABLE_TO_LOAD_LIBRARY
= -238,
93 CHROME_REGISTRY_ERROR
= -239,
95 MALFORMED_INSTALL
= -240,
97 KEY_ACCESS_DENIED
= -241,
98 KEY_DOES_NOT_EXIST
= -242,
99 VALUE_DOES_NOT_EXIST
= -243,
101 UNSUPPORTED_TYPE
= -244,
103 INVALID_SIGNATURE
= -260,
105 INVALID_HASH_TYPE
= -262,
107 OUT_OF_MEMORY
= -299,
109 GESTALT_UNKNOWN_ERR
= -5550,
110 GESTALT_INVALID_ARGUMENT
= -5551,