Hi,

thanks for help - i found some answers for my problems:

- registration wizard on first start will be skipped

IMHO the easiest way is to run a user setup once and copy the
\user\registry\data\org\openoffice\Office\Common.xcu
\user\registry\data\org\openoffice\Office\Jobs.xcu files ...

- menu item's:  help -> registration... / help -> search for updates will be 
removed

creating an Addons.xcu will help:

<?xml version='1.0' encoding='UTF-8'?>
<oor:component-data oor:name="Addons" oor:package="org.openoffice.Office" xmlns:install="http://openoffice.org/2004/installation"; xmlns:oor="http://openoffice.org/2001/registry"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
        <node oor:name="AddonUI">
                <node oor:name="OfficeMenuBarMerging">
                        <node oor:name="org.test.remove" oor:op="replace">
                                <node oor:name="S1" oor:op="replace">
                                        <prop oor:name="MergePoint">
                                                
<value>.uno:HelpMenu\.uno:OnlineRegistrationDlg</value>
                                        </prop>
                                        <prop oor:name="MergeCommand">
                                                <value>Remove</value>
                                        </prop>
                                        <prop oor:name="MergeCommandParameter">
                                                <value>1</value>
                                        </prop>
                                </node>
                        </node>
                </node>
        </node>
</oor:component-data>


> - no automatic updates are possible at all ...

msiexec /passive /norestart /i openofficeorg24.msi INSTALLLOCATION="%ProgramFiles%\OpenOffice.org" ADDLOCAL=ALL REMOVE=gm_o_Onlineupdate

- option page -> "online update" will be removed ...

creating an OptionsDialog.xcu will do the job, e.g. removing Pages "java" and 
"Security",
(online update will not appear, if not installed, see above ...)

<?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="OptionsDialog" oor:package="org.openoffice.Office">
 <node oor:name="OptionsDialogGroups">
  <node oor:name="ProductName" oor:op="replace">
   <node oor:name="Pages">
    <node oor:name="Java" oor:finalized="true" oor:op="replace">
     <prop oor:name="Hide" oor:type="xs:boolean">
      <value>true</value>
     </prop>
    </node>
    <node oor:name="Security" oor:finalized="true" oor:op="replace">
     <prop oor:name="Hide" oor:type="xs:boolean">
      <value>true</value>
     </prop>
    </node>
   </node>
  </node>
 </node>
</oor:component-data>


Oliver

--

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to