Installing openoffice as a windows service

1) Download and install openoffice

2) run openoffice once before installing it as a service

3) Download and install windows 2003 resource kit from microsoft website.

4) Create a service account and give it log on as a service rights ( i used openoffice as service account name)

4) Create a service named OpenOfficeUnoServer to do so run the following command

“C:\Program Files\Windows Resource Kits\Tools\Instsrv.exe” OpenOfficeUnoServer “C:\Program Files\Windows Resource Kits\Tools\Srvany.exe”

5) Go to services snap in and change the log on account with the account you created in step 4.

5)  Open registry and configure the values as shown in the screen shot shown below:

Create parameters key and make sure the values match as shown below. You have to create Application and AppParameters REG_SZ values.

Openoffice service parameter key

openoffice as a service registry settings

6) Start Service

7) Open command prompt and change directory to c:\program files\openoffice.org 3\program

Run the following command

soffice -accept=”socket,port=8100;urp;StarOffice.ServiceManager”

8) Run netstat -anp tcp

This should show a listening on port 8100.Chances are that the service will only listen on the 127.0.0.1 interface; this means you can only connect from the same machine and it’s good from a security point of view. However, if you want to be able to connect from other machines as well you need to change the accept string to "socket,host=0.0.0.0,port=8100;urp;" in the AppParameters registry value


Unique visitors to post: 74

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes