Search completed in 1.16 seconds.
67 results for "XPInstall":
Your results are loading. Please wait...
Using XPInstall to Install Plugins - Archive of obsolete content
parts of this page show the use of the xpinstall api.
...xpinstall is a javascript-based installer technology that works across all the platforms that mozilla and netscape browsers based on mozilla (such as netscape 7) are deployed.
...exe) installer, xpinstall can wrap this native installer and run it so that the user never has to leave the browsing environment and click on the exe to run it.
...And 42 more matches
XPInstall - Archive of obsolete content
parts of this page show the use of the xpinstall api.
...<?xml version="1.0" encoding="utf-8"?> <rdf xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <description about="urn:mozilla:install-manifest"> <!-- properties --> </description> </rdf> cross-platform install (xpinstall) is a technology used by mozilla application suite, mozilla firefox, mozilla thunderbird and other xul-based applications for installing extensions.
... an xpi (pronounced "zippy" and derived from xpinstall) installer module is a zip file that contains an install script or manifest (entitled install.js or install.rdf) at the root of the file.
...And 2 more matches
XPInstall API reference - Archive of obsolete content
parts of this page show the use of the xpinstall api.
Index - Archive of obsolete content
these type of extensions have many advantages for both users and developers compared to the old xpinstall/-style extensions.
... 299 signing an xpi add-ons, code snippets, extensions, guide, needshelp, xpinstall this article describes how to sign your own firefox extensions with a code-signing certificate on a windows platform.
... 300 signing an extension add-ons, administration, extensions, themes, xpinstall, enterprise this article describes how to digitally sign your extension for firefox and thunderbird, with a code signing certificate for object signing.
...And 18 more matches
Learn XPI Installer Scripting by Example - Archive of obsolete content
parts of this page show the use of the xpinstall api.
...this installer script is relatively short, but it exercises most of the important features of the xpinstall api, and it can easily be used as a template for other more general software installations.
... overview of the install script xpi install scripts are written in javascript using xpinstall engine syntax defined in the xpinstall api reference.
...And 8 more matches
Packaging WebLock
for more detailed information on packaging and installation of components into gecko-based applications, see http://www.mozilla.org/projects/xpinstall.
... component installation overview xpinstall is a set of javascript apis for creating installation scripts.
... using xpinstall, you can create web-based installations for gecko-based applications, mozilla extensions, or individual components.
...And 8 more matches
Install Wizards (aka: Stub Installers) - Archive of obsolete content
to learn more about the xpinstall and installer packages please refer to the annotated browser xpi installer and the xpinstall api reference.
... the xpinstall engine processes installer packages by reading instructions from their install scripts to extract files and take other install actions.
... the same xpinstall engine is used by the browser and the stub installers on all platforms.
...And 5 more matches
Mozilla Application Framework in Detail - Archive of obsolete content
more information using the mozilla soap api (an article written for the apple developer connection) xml extras (the home page for the xml extras code module, which contains mozilla's web services support) soap scripts in mozilla (documentation on soap in mozilla from the engineer who implemented it) xpinstall, mozilla's cross platform installation technology one of the many things that makes the mozilla platform easy for both users and developers is that applications can be installed, extended, or upgraded with simple web page links.
... the technology that makes this possible, xpinstall, allows application developers to write javascript installations that manage special cross-platform installation archives (called xpis, or "zippies"), in which packages such as new skins for the browser, patches, browser extensions, new gecko-based applications, and third party standalone applications are stored.
... xpinstall makes it easy to write both simple installation scripts and complex installations that check versions, log installation data to the local system, execute other installers, and update the appropriate registry settings.
...And 2 more matches
Index
MozillaTechXPCOMIndex
a good example of this is the old install.js scripts that were used in xpinstall in older mozilla versions.
...xpinstall installation scripts are sometimes very complex and can require long execution time due to unzipping or native file system actions.
... if xpinstall ran on the ui thread, the product would appear frozen until the script was complete.
...And 2 more matches
nsISupports proxies
a good example of this is the old install.js scripts that were used in xpinstall in older mozilla versions.
...xpinstall installation scripts are sometimes very complex and can require long execution time due to unzipping or native file system actions.
... if xpinstall ran on the ui thread, the product would appear frozen until the script was complete.
...And 2 more matches
Enhanced Extension Installation - Archive of obsolete content
installation initiation when an item is installed from the web, xpinstall is invoked and it calls into the extension system when it discovers that the xpi file contains an install.rdf manifest.
...a copy of the xpi file the item was installed from is set aside since the xpinstall system cleans up the temporary file it hands to the extension system.
... installation from a file initiation when an item is installed from a file (such as, when an item is installed from the web, via xpinstall, upgraded by xpinstall or dropped into a directory-based install location), the install manifest supplied by the item is expanded into a temporary location and read.
... if the item is determined compatible by either of the above processes, a copy of the item's file is staged into the install location directory under a hierarchy like so: <staged-xpis>/guid/foo.xpi (where foo.xpi is the original file name of the file) since xpinstall cleans up the file it supplies when the install function returns.
Extension Packaging - Archive of obsolete content
after the extension files and install.rdf have been prepared, there are several ways to prepare an extension for installation: zip the extension directory into a user-installable xpi (xpinstall) file, unpack the extension directly into the user's application or profile directory, or register the extension in the windows registry.
... making an extension xpi an xpi (xpinstall) file is simply a zip file, containing the extension files, with the install.rdf file at the root of the zip.
... the mime type recognized by firefox for xpi files is application/x-xpinstall.
...in the apache http server, this can be done by adding the following directive to the configuration file or .htaccess: addtype application/x-xpinstall .xpi install extension files directly if you know the location of the application (if you are installing an extension as part of the application installer, for example), you can install the extension files directly to <appdir>/extensions/<extensionid>.
Creating XPI Installer Modules - Archive of obsolete content
this new packaging scheme is called xpi (pronounced "zippy"), and interacts with xpinstall.
...making the barley install script what remains is to package up your jar file in such a way that it can be installed using mozilla's xpinstall technology.
... the xpi file format is used to designate archives that use mozilla's xpinstall to install themselves.
...for a xpi file to be valid and installable, it must contain an installation script like the one above that tells mozilla xpinstall where to put the new resources and how to register them.
Unix stub installer - Archive of obsolete content
how we get setup to debug the xpinstall engine from the unix stub installer?
... go to mozilla/xpinstall/packager/unix.
... you can step into the xpinstall engine through the xpistub once the xpistub dll is loaded.
... finally add a call to generate the xpi at package time by adding a makexpifile("<component>"); call at: <http://lxr.mozilla.org/seamonkey/sou.../makeall.pl#75> you can test it by changing your current working directory to mozilla/xpinstall/packager/unix and running "perl deliver.pl" on the shell prompt.
The Joy of XUL - Archive of obsolete content
xpinstall xpinstall, mozilla's cross platform install facility, provides a standard way of packaging xul application components with an install script that mozilla can download and execute.
... xpinstall enables users to effortlessly install new xul applications over the internet or from corporate intranet servers.
... xpinstall is easy for developers and for users.the calendar is not a planned deliverable for the mozilla 1.0 release, and therefore is not included as a standard component in regular nightly and milestone release builds.
...using xpinstall it was easy for the developers to package a version of calendar that could be installed directly over the internet by clicking a link.
Creating an Installer - Archive of obsolete content
parts of this page show the use of the xpinstall api.
... xpinstall packages mozilla provides a mechanism which can be used to package xul windows, scripts, skins and other files into single file installers.
...this mechanism is called xpinstall (cross platform install).
... xpinstall installers are packaged into jar files.
XPI
cross-platform installer module (xpi) is a zip file used to install packages, utilizing the xpinstall technology.
...when downloaded or dropped into an extension manager, xpinstall automatically interacts with the installation instructions contained in the xpi, and installs the contained software.
... when xpi files are served via http, the application/x-xpinstall mime type should be matched with the xpi file extension.
... see also bundles xpinstall creating xpi installer modules ...
Mac stub installer - Archive of obsolete content
how we get setup to debug the xpinstall engine from the mac installer?
... once you have the mac installer built and ready to debug you may want to debug the xpinstall engine in the context of the installer rather than in the context of the browser.
...xpcom.xpi with the shared libraries in the structure described under the [xpcom] section in: <http://lxr.mozilla.org/seamonkey/sou...ackages-mac#33> note that if you are using the debug target of the installer binary all shared libraries are expected to have the name format <libname>debug.shlb now set a break point at xpi_init() in the mac installer code and step into xpistub and eventually the xpinstall engine will load including symbols so you can set a break point in the xpinstall engine itself.
Windows stub installer - Archive of obsolete content
(if you need to rebuild stub installer, got to /mozilla/xpinstall/wizard/windows/setup and type "nmake /f makefile.win") go to mozilla/xpinstall/wizard/windows/builder on the shell prompt type "perl build.pl".
... if you need to use vc++ to debug the installer: under project | settings | debug set "executable for debug session" to be the path to mozilla/dist/win32_d.obj/install/setup.exe set "working directory" to be the path to mozilla/dist/wind32_d.obj/install press f10 to step into the code how we get setup to debug the xpinstall engine from the windows stub installer?
... finally add <component> to the component list array @gcomponentlist at: <http://lxr.mozilla.org/seamonkey/sou...makeall.pl#125> you can test it by changing your current working directory to mozilla/xpinstall/wizard/windows/builder and running "perl build.pl" on the shell prompt.
Component Internals
as this section and the next describe, you can register your component explicitly during installation, or with the regxpcom program, or you can use the autoregistration methods in the service manager to find and register components in a specified components directory: xpinstall apis regxpcom command-line tool nsicomponentregistrar apis from service manager the registration process is fairly involved.
...the first is to use xpinstall, which is an installation technology that may or may not come with a gecko application and provides interfaces for registering your component during installation.
... a gecko embedding application may also provide its own way of registering xpcom components using the interface that is in fact used by both xpinstall and regxpcom, nsicomponentregistrar.
Index of archived content - Archive of obsolete content
ith nspr threads on win16 using cross commit using gdb on wimpy computers venkman using breakpoints in venkman venkman internals venkman introduction video presentations when to use ifdefs writing textual data xml in mozilla xpinstall creating xpi installer modules install wizards (aka: stub installers) mac stub installer unix stub installer windows stub installer learn xpi installer scripting by example installer script ...
... using xpinstall to install plugins 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 ...
Source code directories overview - Archive of obsolete content
xpinstall contains the c interfaces and code for implementing the smartupdate feature from mozilla classic.
... xpinstall provides code for downloading files, uncompressing them and installing them in a platform independent way.
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
parts of this page show the use of the xpinstall api.
... jarfile alias for archive platform contains information about the platform xpinstall was compiled for/runs on.
Index - Archive of obsolete content
ArchiveMozillaXULIndex
972 window icons add-ons, extensions, toolkit api, xpinstall, xul starting with firefox 1.5, thunderbird 1.5, and xulrunner 1.8, you can specify an icon for a xul window by putting files named mywindow.ico (for windows) and mywindow.xpm or mywindow16.xpm (linux), where mywindow is the id of the <window> you want to attach the icon to, in the chrome/icons/default subfolder of your bundle.
... 1023 creating an installer tutorials, xpinstall_api_reference, xul, xul_tutorial this section will describe packaging a xul application into an installer.
XULRunner tips - Archive of obsolete content
the following prefs must also be set to make the xpinstall dialog, extension manager, and theme manager work: pref("xpinstall.dialog.confirm", "chrome://mozapps/content/xpinstall/xpinstallconfirm.xul"); pref("xpinstall.dialog.progress.skin", "chrome://mozapps/content/extensions/extensions.xul?type=themes"); pref("xpinstall.dialog.progress.chrome", "chrome://mozapps/content/extensions/extensions.xul?type=extensions"); pref("xpinstall.dialog.progress.type...
....skin", "extension:manager-themes"); pref("xpinstall.dialog.progress.type.chrome", "extension:manager-extensions"); pref("extensions.update.enabled", true); pref("extensions.update.interval", 86400); pref("extensions.dss.enabled", false); pref("extensions.dss.switchpending", false); pref("extensions.ignoremtimechanges", false); pref("extensions.logging.enabled", false); pref("general.skins.selectedskin", "classic/1.0"); // nb these point at amo pref("extensions.update.url", "chrome://mozapps/locale/extensions/extensions.properties"); pref("extensions.getmoreextensionsurl", "chrome://mozapps/locale/extensions/extensions.properties"); pref("extensions.getmorethemesurl", "chrome://mozapps/locale/extensions/extensions.properties"); if your application is based on gecko 2.0, you need to register a com...
Creating the Component Code
xpinstall, the cross-platform installation technology that mozilla uses to install the browser and other components, is one such alternative.
... coding for the registration process when xpcom discovers your component for the first time (via xpinstall or regxpcom, both of which are discussed in component installation overview), the first thing it tries to do is load your library and find the symbol nsgetmodule.
install - Web APIs
for installations, these pairs are the xpinstall confirm dialog display name and the path of the xpi, respectively.
... example function xpinstallcallback(url, status) { if (status == 0) msg = "xpinstall test: passed\n"; else msg = "xpinstall test: failed\n"; dump(msg); alert(msg); } xpi={'xpinstall pre-checkin test':'pre_checkin.xpi'}; installtrigger.install(xpi,xpinstallcallback); ...
InstallTrigger - Web APIs
the installtrigger interface is an interesting outlier in the apps api; it's included in this api but are inherited from the old mozilla xpinstall technology for installing add-ons.
...the following is a basic example of an install trigger on a web page: xpi={'xpinstall dialog display name':'simple.xpi'}; installtrigger.install(xpi); you can also use the installtrigger object to install netscape 6/mozilla skins and language packs, and perform multiple-package installations with install.
Getting Started (jpm) - Archive of obsolete content
during development, or if you don't plan to distribute, you can open about:config and set xpinstall.signatures.required to false to run it unsigned.
Getting Started with Firefox Extensions - Archive of obsolete content
unsigned add-ons can still be installed in developer edition, nightly, and esr versions of firefox, after toggling the xpinstall.signatures.required preference in about:config.
Extensions support in SeaMonkey 2 - Archive of obsolete content
these type of extensions have many advantages for both users and developers compared to the old xpinstall/-style extensions.
Add-ons - Archive of obsolete content
these type of extensions have many advantages for both users and developers compared to the old xpinstall/-style extensions.
Install.js - Archive of obsolete content
parts of this page show the use of the xpinstall api.
Mozilla Application Framework - Archive of obsolete content
xpinstall our cross-platform installer for trivial packaging and installation of your mozilla framework applications.
Venkman Introduction - Archive of obsolete content
fortunately, the xpinstall technology makes it possible to install new application modules in firefox by just clicking a hyperlink.
InstallTrigger.installChrome - Archive of obsolete content
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.
diskSpaceAvailable - Archive of obsolete content
you can use a string representing any file on the disk you want to check, and xpinstall will resolve the reference to the partition itself.
Methods - Archive of obsolete content
parts of this page show the use of the xpinstall api.
File Object - Archive of obsolete content
parts of this page show the use of the xpinstall api.
InstallVersion Object - Archive of obsolete content
parts of this page show the use of the xpinstall api.
confirm - Archive of obsolete content
also: user closed the dialog window 1 'ok' or button 0 2 the third button previous versions of the xpinstall api stated the return value of confirm() to be a boolean.
patch - Archive of obsolete content
if performinstall indicates that a reboot is necessary to complete the installation, patch may not work in subsequent xpinstall processes until the reboot is performed.
Methods - Archive of obsolete content
parts of this page show the use of the xpinstall api.
Install Object - Archive of obsolete content
parts of this page show the use of the xpinstall api.
Return Codes - Archive of obsolete content
in mozilla/seamonkey, these constants are defined as part of the xpinstall object (formerly the softwareupdate object in netscape communicator 4.5).
Methods - Archive of obsolete content
parts of this page show the use of the xpinstall api.
WinProfile Object - Archive of obsolete content
parts of this page show the use of the xpinstall api.
Methods - Archive of obsolete content
parts of this page show the use of the xpinstall api.
WinReg Object - Archive of obsolete content
parts of this page show the use of the xpinstall api.
Manifest Files - Archive of obsolete content
xpi is short for xpinstall and is used by mozilla to install components.
Archived Mozilla and build documentation - Archive of obsolete content
xpinstall xpjs components proposal draft 1.0 xre xtech 2005 presentations xtech 2006 presentations xul explorer xul explorer is a xulrunner application that provides an easy way to experiment with xul.
Building a Theme - Archive of obsolete content
now upload the .xpi file to your server, making sure it's served as application/x-xpinstall.
Using the Right Markup to Invoke Plugins - Archive of obsolete content
the pluginurl attribute is another attribute that can be used, and it can be used to point directly to an xpinstall file for a more streamlined download.
Chrome registration
this is accomplished through xpinstall and the extension manager.
Makefile - variables
todo: xpcom/xpinstall variables: https://developer.mozilla.org/en/adding_xpcom_components_to_mozilla_build_system ...
Roll your own browser: An embedding how-to
contained within this directory are a couple of makefiles: basebrowser-unix basebrowser-win the xpinstall packager follows the same format.
Add-on Manager
these will pass an addoninstall instance to the callback, which can then be used to install the add-on: components.utils.import("resource://gre/modules/addonmanager.jsm"); addonmanager.getinstallforurl("http://www.foo.com/test.xpi", function(ainstall) { // ainstall is an instance of addoninstall ainstall.install(); }, "application/x-xpinstall"); the progress of addoninstalls can be monitored using an installlistener.
Memory Profiler
you may need to set the "xpinstall.signatures.required" pref to false in order to install it, since the xpi is not yet signed.
Resources
mozilla.org/pub/mozilla/releases/mozilla1.4a/gecko-sdk-i686-pc-linux-gnu-1.4a.tar.gz windows: http://ftp.mozilla.org/pub/mozilla/releases/mozilla1.4a/gecko-sdk-win32-1.4a.zip other mozilla downloads gecko resources internal string guide external string guide the gecko networking library ("necko") the netscape portable runtime environment embedding mozilla current module owners xpinstall xul xpcom resources the xpcom project page xulplanet's online xpcom reference information on xpconnect and scriptable components the smart pointer guide xpidl xpidl compiler reference general development resources the world wide web consortium url specification at the w3 gnu make « previous copyright (c) 2003 by doug turner and ian oeschger.
nsIDownload
see also nsidownloadmanager nsidownloadprogresslistener nsixpinstallmanagerui ...
nsIUpdateItem
can be null and if supplied must be in the format of "type:hash" (see the types in nsicryptohash and nsixpinstallmanager.initmanagerwithhashes().
Mozilla
xpi cross-platform installer module (xpi) is a zip file used to install packages, utilizing the xpinstall technology.
Index - Web APIs
WebAPIIndex
2171 installtrigger api, add-ons, apps, extensions, interface, non-standard, reference the installtrigger interface is an interesting outlier in the apps api; it's included in this api but are inherited from the old mozilla xpinstall technology for installing add-ons.
compareVersion - Web APIs
parts of this page show the use of the xpinstall api.
enabled - Web APIs
the method reflects the value of the software installation preference in the user interface, and of the xpinstall.enabled preference in pref.js.
getVersion - Web APIs
parts of this page show the use of the xpinstall api.