Visit Mozilla.org

Dokumentacja XPInstall API

z Mozilla Developer Center, polskiego centrum programistów Mozilli.


Spis treści

[edytuj] Dokumentacja XPInstall API

[edytuj] Obiekty

[edytuj] Install

Własności
Metody
addDirectory
addFile
alert
cancelInstall
confirm
deleteRegisteredFile
execute
gestalt
getComponentFolder
getFolder
getLastError
getWinProfile
getWinRegistry
initInstall
loadResources
logComment
patch
performInstall
refreshPlugins
registerChrome
resetError
setPackageFolder

[edytuj] InstallTrigger

Brak własności
Metody
compareVersion
enabled
getVersion
install
installChrome
startSoftwareUpdate

[edytuj] InstallVersion

Własności
Metody
compareTo
init
toString

[edytuj] File

Brak własności
Metody
copy
dirCreate
dirGetParent
dirRemove
dirRename
diskSpaceAvailable
execute
exists
isDirectory
isFile
macAlias
modDate
modDateChanged
move
remove
rename
size
windowsGetShortName
windowsRegisterServer
windowsShortcut

[edytuj] WinProfile

Brak własności
Metody
getString
writeString

[edytuj] WinReg

Brak własności
Metody
createKey
deleteKey
deleteValue
enumKeys
enumValueNames
getValue
getValueNumber
getValueString
isKeyWritable
keyExists
setRootKey
setValue
setValueNumber
setValueString
valueExists
WinRegValue constructor

[edytuj] Inne informacje

[edytuj] Return Codes

Patrz kompletna lista

[edytuj] Przykłady

Trigger Scripts and Install Scripts

[edytuj] Przykładowy kod

File.macAlias
File.windowsShortcut
Install.addDirectory
Install.addFile
InstallTrigger.installChrome
InstallTrigger.startSoftwareUpdate]
Windows Install