Knut Olav Bøhmer wrote:

> Hi is it possible to make a uno package that can be installed or
> uninsulated with unopkg, and installs:
> 
> <prop oor:name="ooSetupConnectionURL" oor:type="xs:string">
>    <value>socket,host=localhost,port=2002;urp;</value>
> </prop>
> 
> Under <node oor:name="Office"/>
> in the file: <OfficePath>/share/registry/data/org/openoffice/Setup.xcu
> 
> Or do something that gives the same effect.

Yes, that's possible. Create a Setup.xcu files containing all necessary
data (see below), put it into a zip file and install it with pckchk.exe.
Or better (but more work) make it a .uno.pkg file and install it with
unopkg.exe. In both cases you can decide to install it per user or for
all users of that installation.

Without guarantee (not tested) the Setup.xcu file should be:

> <?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="Office">
>   <prop oor:name="ooSetupConnectionURL" oor:type="xs:string">
>   <prop oor:name="" oor:type="xs:string">
>    <value>socket,host=localhost,port=2002;urp;</value>
>   </prop>
>  </node>
> </oor:component-data>

(qoute signs used as they prevent line wrapping.)

Ciao,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to