Difference between revisions of "Go-OpenOffice.org"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (as-of 3.2.0.6 PDF Import extension is already included)
(Added language pack)
Line 126: Line 126:
 
<source lang="xml">
 
<source lang="xml">
 
<install cmd='%COMSPEC% /c echo yes | "%PROGRAMFILES%\OpenOffice.org 3\program\unopkg" add  --shared "%SOFTWARE%\openoffice\extensions\pdfimport.oxt"' />
 
<install cmd='%COMSPEC% /c echo yes | "%PROGRAMFILES%\OpenOffice.org 3\program\unopkg" add  --shared "%SOFTWARE%\openoffice\extensions\pdfimport.oxt"' />
 +
</source>
 +
 +
== Language Pack ==
 +
 +
=== Versions ===
 +
 +
The most recent stable 3.2 version is available from [http://go-oo.mirrorbrain.org/stable/win32/3.2/]
 +
 +
==== 3.2.0 Series ====
 +
 +
===== 3.2.0.5 =====
 +
 +
Installer filename: GoOo-langpack-<locale>-3.2-10.exe
 +
Uninstall string:
 +
Build: ?
 +
Build date: ?
 +
 +
"spell check is broken in 3.2.0-10, fixed in forthcoming 3.2.0-11. However we have a manual fix. http://go-oo.mirrorbrain.org/stable/win32/3.2/. uninstall then reinstall from go-oo.org download section."
 +
 +
"[*] We are sorry but the bundled extension with dictionaries is broken in the GoOo-3.2-10.exe Windows build. Please remove it in Tools/Extension Manager… and install the fixed one. Only this single fix will be included in the upcomming GoOo-3.2-11.exe build."
 +
 +
===== 3.2.0.6 =====
 +
 +
Installer filename: GoOo-langpack-<locale>-3.2-11.exe
 +
Uninstall string: ?
 +
 +
===== 3.2.0.7 =====
 +
 +
Installer filename: GoOo-langpack-<locale>-3.2-12.exe
 +
Uninstall string: B0111E47-DC7C-4350-B115-D506D2CC909F
 +
 +
Installer filename: GoOo-langpack-<locale>-3.2-13.exe
 +
Uninstall string: DCD149DE-0FBA-49D0-A482-062579B8B9B5
 +
 +
== Silent installer ==
 +
 +
<source lang="xml">
 +
<?xml version="1.0" encoding="UTF-8"?>
 +
 +
<package
 +
id="go-oo-lang-pack"
 +
name="Go-oo / OpenOffice Language Pack"
 +
revision="5"
 +
reboot="false"
 +
priority="3">
 +
 +
<depends
 +
package-id="go-oo" />
 +
 +
<check
 +
type="file"
 +
condition="exists"
 +
path="%PROGRAMFILES%\OpenOffice.org 3\licenses\license_en-GB.txt" />
 +
<!-- Using a .res file for the check failed and we never knew why -->
 +
 +
<install
 +
cmd='msiexec /qb /package "%SOFTWARE%\go-oo-lang-pack\openofficeorg32.msi"' />
 +
 +
<!-- if you don't first uninstall the previous version it says "the same version of this product is already installed" -->
 +
<!-- If you try to uninstall a previous version that isn't actually installed you get an error 1605 which WPKG fails on  -->
 +
<!-- 3.2.0-10 -->
 +
<upgrade
 +
cmd="msiexec /qb /uninstall {68AE25FB-90BC-486D-9F48-8EFED07D42B1}" >
 +
<exit code='0' />
 +
<exit code='1605' />
 +
</upgrade>
 +
 +
<!-- 3.2.0-12 -->
 +
<upgrade
 +
cmd="msiexec /qb /uninstall {B0111E47-DC7C-4350-B115-D506D2CC909F}" >
 +
<exit code='0' />
 +
<exit code='1605' />
 +
</upgrade>
 +
 +
<upgrade
 +
cmd='msiexec /qb /package "%SOFTWARE%\go-oo-lang-pack\openofficeorg32.msi"' />
 +
 +
<remove
 +
cmd="msiexec /qb /uninstall {DCD149DE-0FBA-49D0-A482-062579B8B9B5}" />
 +
</package>
 
</source>
 
</source>
  

Revision as of 14:46, 10 March 2010

Go-oo is a fork of Sun Microsystems's OpenOffice.org by Novell that, amongst other features, includes greater Microsoft Office compatibility by turning on various Microsoft Office options and including various extensions. Many Linux distributions already include this version of OpenOffice rather than Sun's OpenOffice.org.

If you're upgrading from Sun Microsystems's OpenOffice.org to Go-oo the program will pickup an existing OpenOffice profile.

Versions

The most recent stable version is available from [1]

3.2.0 Series

List of 3.2.0 releases

3.2 series build log

3.2.0.5

Installer filename: go-oo-3.2.0-10.exe Uninstall string: AFB21BFE-40E6-42FB-A010-B80F417D8E71 Build: ? Build date: ?

"spell check is broken in 3.2.0-10, fixed in forthcoming 3.2.0-11. However we have a manual fix. http://go-oo.mirrorbrain.org/stable/win32/3.2/. uninstall then reinstall from go-oo.org download section."

"[*] We are sorry but the bundled extension with dictionaries is broken in the GoOo-3.2-10.exe Windows build. Please remove it in Tools/Extension Manager… and install the fixed one. Only this single fix will be included in the upcomming GoOo-3.2-11.exe build."

Petr Mladek said: "We have fixed one more problem this week (non-working java). The fixed Winodws build should get uploaded the following week. Basically, the Java functionality did not work at all (Wizards, java extensions). The solution is to install msvcr71.dll [from %PROGRAMFILES%\Java\jre6\bin\msvcr71.dll] into c:\Propgram Files\OpenOffice.org 3\program or into c:\windows\system32. This dll is part of the Sun JRE. Unfortunately, OOo is not able to find it in the JRE installation."

3.2.0.6

Installer filename: go-oo-3.2.0-11.exe Uninstall string: Build: ? Build date: ?

3.2.0.7

Installer filename: go-oo-3.2.0-12.exe Uninstall string: CC5CC633-D711-48A4-A812-9ED64BC47009 Build: 9483 Build date: 2010-02-22

Installer filename: go-oo-3.2.0-13.exe Uninstall string: 60CE6B15-E8DC-4096-83FA-5D8DE8B9ED5B Build: 9483 Build date: 2010-02-26

Silent installer

<?xml version="1.0" encoding="UTF-8"?>

<packages>
	<package 
	 id="openoffice_v3" 
	 name="Go-OpenOffice.org v3" 
	 revision="32" 
	 reboot="false" 
	 priority="1">

	  <check type="logical" condition="and">
           <check type="uninstall" condition="exists" path="OpenOffice.org 3.2" />
         <!-- file version check for version 3.2.0-13 or above -->
           <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\OpenOffice.org 3\program\soffice.exe" 
             value="3.0.9483.500" />
           </check>

	  <install cmd='msiexec /qn /i "%SOFTWARE%\Go-OpenOffice.org v3\openofficeorg32.msi" ALLUSERS=2' />
	  <remove  cmd='msiexec /qn /x "%SOFTWARE%\Go-OpenOffice.org v3\openofficeorg32.msi"' />
	</package>

	<package 
	 id="openoffice_v3_sl_langpack" 
	 name="OpenOffice Slovenian Language Pack" 
	 revision="1" 
	 reboot="false" 
	 priority="0">

	  <depends package-id="openoffice_v3" />

	  <check type="uninstall" condition="exists" path="OpenOffice.org 3.2 Language Pack (Slovenian)" />

	  <install cmd='msiexec /qn /i "%SOFTWARE%\Go-OpenOffice.org v3\langpack\openofficeorg32.msi" ALLUSERS=2' />
	  <install cmd='%COMSPEC% /c xcopy /v /s /i /e /h /c /y /q  "%SOFTWARE%\Go-OpenOffice.org v3\langpack\preset"
               "%PROGRAMFILES%\OpenOffice.org 3\Basis\presets"' />
		
	  <remove  cmd='msiexec /qn /x "%SOFTWARE%\Go-OpenOffice.org v3\langpack\openofficeorg32.msi"' />
	  <remove cmd='%COMSPEC% /c rmdir /s /q "%PROGRAMFILES%\OpenOffice.org 3\Basis\presets\registry"'>
		<exit code="any" />
	  </remove>
	</package>
</packages>
  • 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 here.

Here's an example installer (note that this installs the PDF Import extension, which, from 3.2.0.6 onwards, is included in the main installer so doesn't require installing separately):

<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>

check_pdfimport.cmd (referenced above) uses unopkg to determine if the extension is installed.

"%PROGRAMFILES%\OpenOffice.org 3\program\unopkg" list --shared com.sun.star.PDFImport-windows_x86 >NUL 2>&1


Some extensions require that we agree to a license. In this case modify the install command as follows:

<install cmd='%COMSPEC% /c echo yes | "%PROGRAMFILES%\OpenOffice.org 3\program\unopkg" add  --shared "%SOFTWARE%\openoffice\extensions\pdfimport.oxt"' />

Language Pack

Versions

The most recent stable 3.2 version is available from [2]

3.2.0 Series

3.2.0.5

Installer filename: GoOo-langpack-<locale>-3.2-10.exe Uninstall string: Build: ? Build date: ?

"spell check is broken in 3.2.0-10, fixed in forthcoming 3.2.0-11. However we have a manual fix. http://go-oo.mirrorbrain.org/stable/win32/3.2/. uninstall then reinstall from go-oo.org download section."

"[*] We are sorry but the bundled extension with dictionaries is broken in the GoOo-3.2-10.exe Windows build. Please remove it in Tools/Extension Manager… and install the fixed one. Only this single fix will be included in the upcomming GoOo-3.2-11.exe build."

3.2.0.6

Installer filename: GoOo-langpack-<locale>-3.2-11.exe Uninstall string: ?

3.2.0.7

Installer filename: GoOo-langpack-<locale>-3.2-12.exe Uninstall string: B0111E47-DC7C-4350-B115-D506D2CC909F

Installer filename: GoOo-langpack-<locale>-3.2-13.exe Uninstall string: DCD149DE-0FBA-49D0-A482-062579B8B9B5

Silent installer

<?xml version="1.0" encoding="UTF-8"?>

<package
		id="go-oo-lang-pack" 
		name="Go-oo / OpenOffice Language Pack" 
		revision="5"
		reboot="false" 
		priority="3">

		<depends
			package-id="go-oo" />

		<check 
			type="file" 
			condition="exists" 
			path="%PROGRAMFILES%\OpenOffice.org 3\licenses\license_en-GB.txt" />
			<!-- Using a .res file for the check failed and we never knew why -->

		<install
			cmd='msiexec /qb /package "%SOFTWARE%\go-oo-lang-pack\openofficeorg32.msi"' />

		<!-- if you don't first uninstall the previous version it says "the same version of this product is already installed" -->
		<!-- If you try to uninstall a previous version that isn't actually installed you get an error 1605 which WPKG fails on  -->
		<!-- 3.2.0-10 -->
		<upgrade
			cmd="msiexec /qb /uninstall {68AE25FB-90BC-486D-9F48-8EFED07D42B1}" >
			<exit code='0' />
			<exit code='1605' />
		</upgrade>
		
		<!-- 3.2.0-12 -->
		<upgrade
			cmd="msiexec /qb /uninstall {B0111E47-DC7C-4350-B115-D506D2CC909F}" >
			<exit code='0' />
			<exit code='1605' />
		</upgrade>

		<upgrade
			cmd='msiexec /qb /package "%SOFTWARE%\go-oo-lang-pack\openofficeorg32.msi"' />

		<remove
			cmd="msiexec /qb /uninstall {DCD149DE-0FBA-49D0-A482-062579B8B9B5}" />		
</package>

Default Language Pack

  • Language pack can optionally be installed and made default, by setting it as default in newly created profile. Existing Openoffice v3 profiles are probably (!) not affected by this setting.
  • Get language pack from official OpenOffice.org v3 release or download Go-OpenOffice.org native one if it exists.
  • To make a language pack default
    • Create directory: %SOFTWARE%\Go-OpenOffice.org v3\langpack\preset\registry\data\org\openoffice
      • Create Setup.xcu inside (see below)
    • Create directory: %SOFTWARE%\Go-OpenOffice.org v3\langpack\preset\registry\data\org\openoffice\Office
      • Create Linguistic.xcu inside (see below)
  • Default language pack is applied when application is started the second time.

Setup.xcu

<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Setup" oor:package="org.openoffice">
 <node oor:name="Configuration">
  <prop oor:name="ooLastVersionTouched" oor:type="xs:string">
   <value>3.0.0</value>
  </prop>
 </node>
 <node oor:name="L10N">
  <prop oor:name="ooLocale" oor:type="xs:string">
   <value>sl</value>
  </prop>
  <prop oor:name="ooSetupCurrency" oor:type="xs:string">
   <value>EUR-sl-SI</value>
  </prop>
  <prop oor:name="ooSetupSystemLocale" oor:type="xs:string">
   <value>sl-SI</value>
  </prop>
 </node>
</oor:component-data>

Linguistic.xcu

<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Linguistic" oor:package="org.openoffice.Office">
 <node oor:name="General">
  <prop oor:name="DefaultLocale" oor:type="xs:string">
   <value>sl-SI</value>
  </prop>
  <prop oor:name="UILocale" oor:type="xs:string">
   <value>sl</value>
  </prop>
 </node>
</oor:component-data>