Changes

Jump to: navigation, search

Go-OpenOffice.org

1,343 bytes added, 01:22, 2 March 2010
Added installation of extensions
revision="32"
reboot="false"
priority="01">
<check type="logical" condition="and">
</packages>
</source>
 
*To configure Go-OpenOffice.org to be default application for Microsoft file formats, you can create MST with Orca Tool or edit the MSI.
 
 
==== Extensions ====
Extensions can be installed using "unopkg add --shared path-to-file.oxt" and removed using "unopkg remove --shared extension-identifier". The Extension identifier can be found in "description.xml" within the .oxt archive.
 
Unopkg is documented [http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/unopkg here].
 
<source lang="xml">
<package
id="openoffice_pdfimport"
name="PDF Import Extension for Openoffice"
revision="1"
reboot="false"
priority="0">
 
<depends package-id="openoffice_v3" />
<check type="execute" path="%SOFTWARE%\openoffice\extensions\check_pdfimport.cmd" condition="exitcodeequalto" value="0" />
<install cmd='"%PROGRAMFILES%\OpenOffice.org 3\program\unopkg" add --shared "%SOFTWARE%\openoffice\extensions\pdfimport.oxt"' />
<upgrade cmd='"%PROGRAMFILES%\OpenOffice.org 3\program\unopkg" add -f --shared "%SOFTWARE%\openoffice\extensions\pdfimport.oxt"' />
<remove cmd='"%PROGRAMFILES%\OpenOffice.org 3\program\unopkg" remove --shared com.sun.star.PDFImport-windows_x86' />
</package>
</source>
 
check_pdfimport.cmd (referenced above) uses unopkg to determine if the extension is installed.
<source lang="dos">
"%PROGRAMFILES%\OpenOffice.org 3\program\unopkg" list --shared com.sun.star.PDFImport-windows_x86 >NUL 2>&1
</source>
==Default Language Pack==
117
edits

Navigation menu