Difference between revisions of "Documentation/DevGuide/Extensions/Installing Extensions for All or a Single User"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial author Sun Microsystems, Inc.)
 
m (1 revision(s))
(No difference)

Revision as of 12:37, 15 February 2008



When installing an extension one has to decide if all possible users can use it or only oneself. In the first case, users cannot enable, disable or remove the extension. This can only be done by the administrator. That also means, that in case the extension changes the appearance (toolbars, menu bar, etc.), all users are affected. They may, however, configure their office so that particular menu or toolbar items are not shown. There is currently no way to centrally install an extension for particular user groups.

If an extension is to be installed for all users or only for the single user is determined during installation. The person, who is going to install the extension, must select in the Extension Manager dialog either My Extensions or OpenOffice.org Extensions before pressing the Add... button. In the first case, the extension will only be installed for the current user, whereas in the latter case it will be installed for all users.

When running unopkg in a windowless mode then the option --shared determines if an extension can be used by all users. For example:

 [<OfficePath>/program] $ unopkg add --shared my_extension.oxt

would install my_extensions, so that it can be used by all users.

Extensions which are installed for all users are also called shared extensions, and those installed only for the user (who installed it) are called user extensions.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools