Wednesday, April 18, 2007

OpenOffice as service while allowing editing

In order to run OpenOffice as a service, it must be listening on port 8100. It is straightforward to run open office as a service using srvany from Microsoft. But when doing development, this is inconvenient, as OpenOffice runs in invisible mode, and it is therefore impossible to edit documents interactively.

One way around this is to edit the Setup.xcu file (easiest way to find it is to search in the OpenOffice install directory, as the typical location is C:\Program Files\ 2.1\share\registry\data\org\openoffice), and modify it as follows:

<node name="Office">
<prop oor:name="ooSetupConnectionURL" oor:type="xs:string">

Once that is done, locate the quickstart.exe program in your openoffice installation. Drag that to your Startup folder. VoilĂ , you have an OpenOffice running in the backgroung, AND you can edit your files.

So you can keep the true service installation for your production servers.

No comments: