After finishing the implementation of the UNO component and the definition of the user interface part you can create an extension. An extension can be used by an end-user to install the add-on into OpenOffice.org.
The configuration files that were created for the add-on, such as protocol handler, jobs, and user interface definition must be added to the root of the zip file. The structure of a zip file supporting Windows should resemble the following code:
example_addon.oxt: META_INF/ manifest.xml Addons.xcu ProtocolHandler.xcu windows.plt/ example_addon.dll
Before you install the extension, make absolutely sure there are no running instances of OpenOffice.org. The unopkgtool recognizes a running OpenOffice.org in a local installation, but not in a networked installation. Installing into a running office installation might cause inconsistencies and destroy your installation!
The extension installation for the example add-on is as simple as changing to the <OfficePath>/program directory with a command-line shell and running
[<OfficePath>/program] $ unopkg add /foo/bar/example_addon.zip
|Content on this page is licensed under the Public Documentation License (PDL).|