Difference between revisions of "Go-OpenOffice.org"
From WPKG | Open Source Software Deployment and Distribution
m |
m |
||
Line 18: | Line 18: | ||
<install cmd='msiexec /qn /i "%SOFTWARE%\Go-OpenOffice.org v3\openofficeorg30.msi"' /> | <install cmd='msiexec /qn /i "%SOFTWARE%\Go-OpenOffice.org v3\openofficeorg30.msi"' /> | ||
− | |||
<remove cmd='msiexec /qn /x "%SOFTWARE%\Go-OpenOffice.org v3\openofficeorg30.msi"' /> | <remove cmd='msiexec /qn /x "%SOFTWARE%\Go-OpenOffice.org v3\openofficeorg30.msi"' /> | ||
</package> | </package> |
Revision as of 14:54, 2 February 2009
Silent installer for Go-OpenOffice.org
- 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.
- To configure Go-OpenOffice.org to be default application for Microsoft file formats, you can create MST with Orca Tool (I edited MSI).
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="openoffice_v3"
name="Go-OpenOffice.org v3"
revision="30019"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="OpenOffice.org 3.0" />
<install cmd='msiexec /qn /i "%SOFTWARE%\Go-OpenOffice.org v3\openofficeorg30.msi"' />
<remove cmd='msiexec /qn /x "%SOFTWARE%\Go-OpenOffice.org v3\openofficeorg30.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.0 Language Pack (Slovenian)" />
<install cmd='msiexec /qn /i "%SOFTWARE%\Go-OpenOffice.org v3\langpack\openofficeorg30.msi"' />
<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\openofficeorg30.msi"' />
<remove cmd='%COMSPEC% /c rmdir /s /q "%PROGRAMFILES%\OpenOffice.org 3\Basis\presets\registry"'>
<exit code="any" />
</remove>
</package>
</packages>
Default Language Pack
- 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)
- Create directory: %SOFTWARE%\Go-OpenOffice.org v3\langpack\preset\registry\data\org\openoffice
- 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>