XPInstall API Reference

此页有脚本错误。在网站编辑解决此问题前,你可以查看以上的部分内容。

{{ Xpinstall-reference() }}

Objects (对象)

Install (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

No properties
Methods
compareVersion
enabled
getVersion
install
installChrome
startSoftwareUpdate

InstallVersion

Properties
Methods
compareTo
init
toString

File

No properties
Methods
copy
dirCreate
dirGetParent
dirRemove
dirRename
diskSpaceAvailable
execute
exists
isDirectory
isFile
macAlias
modDate
modDateChanged
move
remove
rename
size
windowsGetShortName
windowsRegisterServer
windowsShortcut

WinProfile

No properties
Methods
getString
writeString

WinReg

No properties
Methods
createKey
deleteKey
deleteValue
enumKeys
enumValueNames
getValue
getValueNumber
getValueString
isKeyWritable
keyExists
setRootKey
setValue
setValueNumber
setValueString
valueExists
WinRegValue constructor

Other Information

Return Codes

See complete list

Examples

Trigger Scripts and Install Scripts
Code Samples
File.macAlias
File.windowsShortcut
Install.addDirectory
Install.addFile
InstallTrigger.installChrome
InstallTrigger.startSoftwareUpdate
Windows Install
{{ languages( { "fr": "fr/R\u00e9f\u00e9rence_de_l\'API_XPInstall", "pl": "pl/Dokumentacja_XPInstall_API", "ja": "ja/XPInstall_API_Reference" } ) }}

Document Tags and Contributors

Contributors to this page: Duwei
最后编辑者: Duwei,