--- title: XPInstall API Reference slug: XPInstall_API_Reference tags: - XPInstall translation_of: Archive/Mozilla/XPInstall/Reference ---

XPInstall API 참조

Objects

Install

Properties
Methods
addDirectory
addFile
alert
cancelInstall
confirm
deleteRegisteredFile
execute
gestalt
getComponentFolder
getFolder
getLastError
getWinProfile
getWinRegistry
initInstall
loadResources
logComment
patch
performInstall
refreshPlugins
registerChrome
resetError
setPackageFolder

InstallTrigger

속성은 존재하지 않습니다.
Methods
compareVersion
enabled
getVersion
install
installChrome
startSoftwareUpdate

InstallVersion

Properties
Methods
compareTo
init
toString

File

속성은 존재하지 않습니다.
Methods
copy
dirCreate
dirGetParent
dirRemove
dirRename
diskSpaceAvailable
execute
exists
isDirectory
isFile
macAlias
modDate
modDateChanged
move
remove
rename
size
windowsGetShortName
windowsRegisterServer
windowsShortcut

WinProfile

속성은 존재하지 않습니다.
Methods
getString
writeString

WinReg

속성은 존재하지 않습니다.
Methods
createKey
deleteKey
deleteValue
enumKeys
enumValueNames
getValue
getValueNumber
getValueString
isKeyWritable
keyExists
setRootKey
setValue
setValueNumber
setValueString
valueExists
WinRegValue constructor

기타 정보

반환 코드들

반환 코드에 대한 리스트 보기

예제

트리거 스크립트들과 설치 스크립트들
예제 코드들
File.macAlias
File.windowsShortcut
Install.addDirectory
Install.addFile
InstallTrigger.installChrome
InstallTrigger.startSoftwareUpdate
Windows Install

{{ languages( { "ja": "ja/XPInstall_API_Reference" } ) }}