Starting with OOo 2.0.3, a new Export feature was introduced to simplify the deployment of BASIC code for all users who share the same installation.
  1. Open the BASIC Macro Organizer and create a new BASIC library (choose "Tools - Macros - Organize Macros - OOo BASIC", then click Organizer, then click Libraries tab, then click New). Enter a name for your library.
  2. Click Edit and write your BASIC code.
  3. Again open the Macro Organizer, then click the new Export button to export your BASIC code as a UNO extension file (formerly known as a UNO package)
Now every user can choose "Tools - Package Manager" (which will later be called Extension Manager) to add the new file to the user's installation. But with many users on a shared installation, it is more comfortable when the Admin starts unopkg to install the extension for all users.
  1. Become root user with write permission for the shared installation of OOo.
  2. In a terminal window, CD to {install_dir}/program and enter the following command
  3. unopkg add --shared path_to_UNO_extension_file/UNO_extension_filename
Note: The Export button is new in OOo 2.0.3. It is only activated for your own libraries.
Call unopkg without parameter for a short help.
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by fpe