Return Codes

  • 리비전 슬러그: XPInstall_API_Reference/Return_Codes
  • 리비전 제목: Return Codes
  • 리비전 아이디: 197463
  • 제작일시:
  • 만든이: Whitewitch
  • 현재 리비전인가요? 아니오
  • 댓글 /* 반환 코드들 */

리비전 내용

반환 코드들

이 장에서 설명된 메소드들은 아래 반환 값들의 어떤 것이든 반환할 수 있습니다. 이 내용들은 Mozilla/SeaMonkey안에서 xpinstall object(예전 Netscape Communicator 4.5에 있던 SoftwareUpdate object와 같은)의 한 부분으로 정의되어 있습니다.

Insert non-formatted text here
이름 코드 설명
SUCCESS 0 성공.
REBOOT_NEEDED 999 The files were installed, but one or more components were in use. Restart the computer and the application to complete the installation process. On Windows NT, you may only need to restart the application as long as you did not replace operating system files.
BAD_PACKAGE_NAME -200 A problem occurred with the package name supplied to initInstall
UNEXPECTED_ERROR -201 An unrecognized error occurred.
ACCESS_DENIED -202 The user (or the OS) did not grant the required security privilege.
TOO_MANY_CERTIFICATES -203 Installation script was signed by more than one certificate
NO_INSTALL_SCRIPT -204 Installation script was not signed
NO_CERTIFICATE -205 Extracted file is not signed or the file (and, therefore, its certificate) could not be found.
NO_MATCHING_CERTIFICATE -206 Extracted file was not signed by the certificate used to sign the installation script
CANT_READ_ARCHIVE -207 XPI package cannot be read
INVALID_ARGUMENTS -208 Bad parameters to a function
ILLEGAL_RELATIVE_PATH -209 Illegal relative path
USER_CANCELLED -210 User clicked Cancel on Install dialog
INSTALL_NOT_STARTED -211 A problem occurred with the parameters to initInstall, or initInstall was not called first
SILENT_MODE_DENIED -212 The silent installation privilege has not been granted.
NO_SUCH_COMPONENT -213 The specified component is not present in the Client Version Registry.
DOES_NOT_EXIST -214 The specified file cannot be deleted because it does not exist.
READ_ONLY -215 The specified file cannot be deleted because its permissions are set to read only.
IS_DIRECTORY -216 The specified file cannot be deleted because it is a directory.
NETWORK_FILE_IS_IN_USE -217 The specified file cannot be deleted because it is in use.
APPLE_SINGLE_ERR -218 An error occurred when unpacking a file in AppleSingle format.
INVALID_PATH_ERR -219 The path provided to getFolder was invalid.
PATCH_BAD_DIFF -220 An error occurred in GDIFF.
PATCH_BAD_CHECKSUM_TARGET -221 The checksum generated for the source file does not match the checksum in the XPI file.
PATCH_BAD_CHECKSUM_RESULT -222 The checksum of the patched file failed.
UNINSTALL_FAILED -223 An error occurred while uninstalling a package.
PACKAGE_FOLDER_NOT_SET -224 Install folder not set in installation script
EXTRACTION_FAILED -225 Extraction of XPI file failed.
FILENAME_ALREADY_USED -226 Same filename being used in install
INSTALL_CANCELLED -227 Raised when installation is cancelled in medias res.
DOWNLOAD_ERROR -228 Problem with download
SCRIPT_ERROR -229 Error in the script
ALREADY_EXISTS -230 File already exists locally
IS_FILE -231 Expected targer directoy and got file
SOURCE_DOES_NOT_EXIST -232 Source file/dir not found
SOURCE_IS_DIRECTORY -233 Expected file and got directory
SOURCE_IS_FILE -234 Expected directory and got file
INSUFFICIENT_DISK_SPACE -235 Not enough disk space for install
FILENAME_TOO_LONG -236
UNABLE_TO_LOCATE_LIB_FUNCTION -237
UNABLE_TO_LOAD_LIBRARY -238
CHROME_REGISTRY_ERROR -239
MALFORMED_INSTALL -240
KEY_ACCESS_DENIED -241 Access to the registry key has been denied
KEY_DOES_NOT_EXIST -242 Registry key does not exist
VALUE_DOES_NOT_EXIST -243 Registry value does not exist
INVALID_SIGNATURE -260 The signature used in the XPI is not valid
OUT_OF_MEMORY -299 Insufficient memory for operation
GESTALT_UNKNOWN_ERROR -5550
GESTALT_INVALID_ARGUMENT -5551

리비전 소스

<h2 name=".EB.B0.98.ED.99.98_.EC.BD.94.EB.93.9C.EB.93.A4"> 반환 코드들</h2>
<p>이 장에서 설명된 메소드들은 아래 반환 값들의 어떤 것이든 반환할 수 있습니다. 이 내용들은 Mozilla/SeaMonkey안에서 xpinstall object(예전 Netscape Communicator 4.5에 있던 SoftwareUpdate object와 같은)의 한 부분으로 정의되어 있습니다.
</p>
Insert non-formatted text here
<table class="fullwidth-table">
<tbody><tr><td class="header">이름</td>
<td class="header">코드</td>
<td class="header">설명</td>
</tr>
<tr>
<td><code>SUCCESS</code></td>
<td>0</td>
<td>성공.</td>
</tr>
<tr>
<td><code>REBOOT_NEEDED</code></td>
<td>999</td>
<td>The files were installed, but one or more components were in use. Restart the computer and the application to complete the installation process. On Windows NT, you may only need to restart the application as long as you did not replace operating system files.</td>
</tr>
<tr>
<td><code>BAD_PACKAGE_NAME</code></td>
<td>-200</td>
<td>A problem occurred with the package name supplied to <a href="ko/XPInstall_API_Reference/Install_Object/Methods/initInstall">initInstall</a></td>
</tr>
<tr>
<td><code>UNEXPECTED_ERROR</code></td>
<td>-201</td>
<td>An unrecognized error occurred.</td>
</tr>
<tr>
<td><code>ACCESS_DENIED</code></td>
<td>-202</td>
<td>The user (or the OS) did not grant the required security privilege.</td>
</tr>
<tr>
<td><code>TOO_MANY_CERTIFICATES</code></td>
<td>-203</td>
<td>Installation script was signed by more than one certificate</td>
</tr>
<tr>
<td><code>NO_INSTALL_SCRIPT</code></td>
<td>-204</td>
<td>Installation script was not signed</td>
</tr>
<tr>
<td><code>NO_CERTIFICATE</code></td>
<td>-205</td>
<td>Extracted file is not signed or the file (and, therefore, its certificate) could not be found.</td>
</tr>
<tr>
<td><code>NO_MATCHING_CERTIFICATE</code></td>
<td>-206</td>
<td>Extracted file was not signed by the certificate used to sign the installation script</td>
</tr>
<tr>
<td><code>CANT_READ_ARCHIVE</code></td>
<td>-207</td>
<td>XPI package cannot be read</td>
</tr>
<tr>
<td><code>INVALID_ARGUMENTS</code></td>
<td>-208</td>
<td>Bad parameters to a function</td>
</tr>
<tr>
<td><code>ILLEGAL_RELATIVE_PATH</code></td>
<td>-209</td>
<td>Illegal relative path</td>
</tr>
<tr>
<td><code>USER_CANCELLED</code></td>
<td>-210</td>
<td>User clicked Cancel on Install dialog</td>
</tr>
<tr>
<td><code>INSTALL_NOT_STARTED</code></td>
<td>-211</td>
<td>A problem occurred with the parameters to <a href="ko/XPInstall_API_Reference/Install_Object/Methods/initInstall">initInstall</a>, or <a href="ko/XPInstall_API_Reference/Install_Object/Methods/initInstall">initInstall</a> was not called first</td>
</tr>
<tr>
<td><code>SILENT_MODE_DENIED</code></td>
<td>-212</td>
<td>The silent installation privilege has not been granted.</td>
</tr>
<tr>
<td><code>NO_SUCH_COMPONENT</code></td>
<td>-213</td>
<td>The specified component is not present in the Client Version Registry.</td>
</tr>
<tr>
<td><code>DOES_NOT_EXIST</code></td>
<td>-214</td>
<td>The specified file cannot be deleted because it does not exist.</td>
</tr>
<tr>
<td><code>READ_ONLY</code></td>
<td>-215</td>
<td>The specified file cannot be deleted because its permissions are set to read only.</td>
</tr>
<tr>
<td><code>IS_DIRECTORY</code></td>
<td>-216</td>
<td>The specified file cannot be deleted because it is a directory.</td>
</tr>
<tr>
<td><code>NETWORK_FILE_IS_IN_USE</code></td>
<td>-217</td>
<td>The specified file cannot be deleted because it is in use.</td>
</tr>
<tr>
<td><code>APPLE_SINGLE_ERR</code></td>
<td>-218</td>
<td>An error occurred when unpacking a file in AppleSingle format.</td>
</tr>
<tr>
<td><code>INVALID_PATH_ERR</code></td>
<td>-219</td>
<td>The path provided to <a href="ko/XPInstall_API_Reference/Install_Object/Methods/getFolder">getFolder</a> was invalid.</td>
</tr>
<tr>
<td><code>PATCH_BAD_DIFF</code></td>
<td>-220</td>
<td>An error occurred in GDIFF.</td>
</tr>
<tr>
<td><code>PATCH_BAD_CHECKSUM_TARGET</code></td>
<td>-221</td>
<td>The checksum generated for the source file does not match the checksum in the XPI file.</td>
</tr>
<tr>
<td><code>PATCH_BAD_CHECKSUM_RESULT</code></td>
<td>-222</td>
<td>The checksum of the patched file failed.</td>
</tr>
<tr>
<td><code>UNINSTALL_FAILED</code></td>
<td>-223</td>
<td>An error occurred while uninstalling a package.</td>
</tr>
<tr>
<td><code>PACKAGE_FOLDER_NOT_SET</code></td>
<td>-224</td>
<td>Install folder not set in installation script</td>
</tr>
<tr>
<td><code>EXTRACTION_FAILED</code></td>
<td>-225</td>
<td>Extraction of XPI file failed.</td>
</tr>
<tr>
<td><code>FILENAME_ALREADY_USED</code></td>
<td>-226</td>
<td>Same filename being used in install</td>
</tr>
<tr>
<td><code>INSTALL_CANCELLED</code></td>
<td>-227</td>
<td>Raised when installation is cancelled in medias res.</td>
</tr>
<tr>
<td><code>DOWNLOAD_ERROR</code></td>
<td>-228</td>
<td>Problem with download</td>
</tr>
<tr>
<td><code>SCRIPT_ERROR</code></td>
<td>-229</td>
<td>Error in the script</td>
</tr>
<tr>
<td><code>ALREADY_EXISTS</code></td>
<td>-230</td>
<td>File already exists locally</td>
</tr>
<tr>
<td><code>IS_FILE</code></td>
<td>-231</td>
<td>Expected targer directoy and got file</td>
</tr>
<tr>
<td><code>SOURCE_DOES_NOT_EXIST</code></td>
<td>-232</td>
<td>Source file/dir not found</td>
</tr>
<tr>
<td><code>SOURCE_IS_DIRECTORY</code></td>
<td>-233</td>
<td>Expected file and got directory</td>
</tr>
<tr>
<td><code>SOURCE_IS_FILE</code></td>
<td>-234</td>
<td>Expected directory and got file</td>
</tr>
<tr>
<td><code>INSUFFICIENT_DISK_SPACE</code></td>
<td>-235</td>
<td>Not enough disk space for install</td>
</tr>
<tr>
<td><code>FILENAME_TOO_LONG</code></td>
<td>-236</td>
<td><br></td>
</tr>
<tr>
<td><code>UNABLE_TO_LOCATE_LIB_FUNCTION</code></td>
<td>-237</td>
<td><br></td>
</tr>
<tr>
<td><code>UNABLE_TO_LOAD_LIBRARY</code></td>
<td>-238</td>
<td><br></td>
</tr>
<tr>
<td><code>CHROME_REGISTRY_ERROR</code></td>
<td>-239</td>
<td><br></td>
</tr>
<tr>
<td><code>MALFORMED_INSTALL</code></td>
<td>-240</td>
<td><br></td>
</tr>
<tr>
<td><code>KEY_ACCESS_DENIED</code></td>
<td>-241</td>
<td>Access to the registry key has been denied</td>
</tr>
<tr>
<td><code>KEY_DOES_NOT_EXIST</code></td>
<td>-242</td>
<td>Registry key does not exist</td>
</tr>
<tr>
<td><code>VALUE_DOES_NOT_EXIST</code></td>
<td>-243</td>
<td>Registry value does not exist</td>
</tr>
<tr>
<td><code>INVALID_SIGNATURE</code></td>
<td>-260</td>
<td>The signature used in the XPI is not valid</td>
</tr>
<tr>
<td><code>OUT_OF_MEMORY</code></td>
<td>-299</td>
<td>Insufficient memory for operation</td>
</tr>
<tr>
<td><code>GESTALT_UNKNOWN_ERROR</code></td>
<td>-5550</td>
<td><br></td>
</tr>
<tr>
<td><code>GESTALT_INVALID_ARGUMENT</code></td>
<td>-5551</td>
<td><br></td>
</tr>
</tbody></table>
Revert to this revision