Search completed in 1.14 seconds.
12 results for "startsoftwareupdate":
startSoftwareUpdate - Web APIs
This method has been largely superseded by newer install method, which is more flexible and allows you to install more than one XPI. ...
...This method has been largely superseded by newer install method, which is more flexible and allows you to install more than one XPI. ...
...This method has been largely superseded by newer install method, which is more flexible and allows you to install more than one XPI. ...
XPInstall API reference - Archive of obsolete content
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 ...
...yExists 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 ...
amIInstallTrigger
Constant Value Description SKIN 1 LOCALE 2 CONTENT 4 PACKAGE 7 Methods enabled() Tests if installation is enabled.
...arts installing a new add-on. This method is deprecated, please use install() in the future. boolean installChrome( in PRUint32 aType, in AString aUrl, in AString aSkin ); Parameters aType Unused, retained for backwards compatibility. aUrl The URL of the add-on. aSkin Unused, retained for backwards compatibility. Return value true if the installation was successfully started.
startSoftwareUpdate Starts installing a new add-on. boolean
startSoftwareUpdate( in AString aUrl, in PRInt32 aFlags Optional ); Parameters aUrl The URL of the add-on. aFlags Optional Unused, retained for backwards compatibility. Return value true if the installation was successfully started. updateEnabled Tests if installation is enabled. boolean updateEnabled(); Parameters None. Return value...
enabled - Web APIs
lation is enabled for this client machine. Method of InstallTrigger object Syntax Boolean enabled (); Parameters None Returns True if Software Installation is enabled for this client machine; otherwise, false. ...
...The method reflects the value of the Software Installation preference in the user interface, and of the xpinstall.enabled preference in pref.js. ...
Index - Archive of obsolete content
ard way to queue files for installation. 720 InstallTrigger.installChrome Trigger scripts are typically invoked by JavaScript event handlers on hyperlinks. When a user clicks the link "Install the New Blue theme" in the example below, XPInstall downloads, registers, and installs the theme contained in newblue.xpi to the user's profile directory. 721 InstallTrigger.
startSoftwareUpdate This is a very simple example of the InstallTrigger object's principal method,
startSoftwareUpdate, which takes a string representing the path to the XPI and installs that XPI on the local machine. 722 Trigger Scripts and Install Scripts Trigger scripts are simple installations that can be initiated from event handlers and other JavaScript code on a web page. ...
Index of archived content - Archive of obsolete content
Install script template XPInstall API reference Examples File.macAlias File.windowsShortcut Install.addDirectory Install.addFile InstallTrigger.installChrome InstallTrigger.
startSoftwareUpdate Trigger Scripts and Install Scripts Windows Install File Object Methods Install Object Methods Properties ...
Examples - Archive of obsolete content
Examples Trigger Scripts and Install Scripts describes typical kinds of script that use the XPInstall API. The following samples demonstrate some of the principal installation functions in the XPInstall API: File.macAlias File.windowsShortcut [Install.]addDirectory [Install.]addFile InstallTrigger.installChrome InstallTrigger.
startSoftwareUpdate Windows Install Example ...
Properties - Archive of obsolete content
an install.rdf manifest. In particular plugin developers should see how to package a plugin as an extension. Properties archive Full local path of the archive after it is downloaded to the platform specific temp folder. (e.g. C:\TEMP\argstest.xpi) arguments args can be passed in through the triggering APIs by attaching a ? and then the rg string to the xpi URL: (e.g.
startSoftwareUpdate("http://webserver/argstest.xpi?ARGUMENT_STRING") will result in the value of Install.arguments being ARGUMENT_STRING #). Note that spaces in the arg string are legal. Everything after the question mark is treated as one string which becomes the Install.arguments property. buildID The application build ID in the form 20041231. Note that due to branching (different versions of Gecko w...
Index - Web APIs
ersion Returns an object representing the version number from the Client Version Registry for the specified component. It is used in both trigger scripts and installation scripts. 2175 install Installs one or more XPI files on the local machine. 2176 installChrome Installs new skin or locale packages in Netscape 6 and Mozilla. 2177
startSoftwareUpdate Triggers the downloading and installation of the software at the specified URL. 2178 Intersection Observer API API, Clipping, Intersection, Intersection Observer API, IntersectionObserver, Overview, Performance, Reference, Web The Intersection Observer API provides a way to asynchronously observe changes in the intersection of a target element with an ancestor elem...
install - Web APIs
an be passed to the install() method. The { } constructor takes a comma-delimited set of label/value pairs. For installations, these pairs are the XPInstall confirm dialog display name and the path of the XPI, respectively. In the example below, a single installation object is created, but you can use this approach to create multiple installations to pass to a single install. As with the older
startSoftwareUpdate method, XPIs installed with this method must have their own install.js files in which the full installation is defined. In contrast to
startSoftwareUpdate, install allows you to do multiple installs with the same trigger and provides a unified user experience for the multiple installs. Example function xpinstallCallback(url, status) { if (status == 0) msg = "XPInstall Test: PASSED\n"; el...
InstallTrigger - Web APIs
this client machine. getVersion Returns an object representing the version number from the Client Version Registry for the specified component. It is used in both trigger scripts and installation scripts. install Installs one or more XPI files on the local machine. installChrome Installs new skin or locale packages in Netscape 6 and Mozilla.
startSoftwareUpdate Triggers the downloading and installation of the software at the specified URL. ...