Solved

How to set up OpenOffice as a Windows Servide?

Posted on 2008-10-30
6
236 Views
Last Modified: 2013-12-23
I need to run JODConverter with OpenOffice. The issue is that I tried to install OpenOffice as a Windows service but when trying to run the service installed I always get an error that the system is unable to start the service in a timely fashion.
The following are details about my installation:
Windows 2003 server
OpenOfficePortable version 2.1.4
0
Comment
Question by:Antonio Cruz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 84

Expert Comment

by:oBdA
ID: 22846114
A service has to be programmed as such. If you want to run a regular program as service, you need a wrapper that emulates the service itself and starts/closes the respective program.
SrvAny.exe from the W2k3 Resource Kit is such a wrapper; you can use it in conjunciton with InstSrv.exe to run basically any exe as service.
Check the ResKt documentation for details:
Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
0
 

Author Comment

by:Antonio Cruz
ID: 22870632
That behavious was know by myself. The issue is processing as the microsoft tip explains and after to have it installed the service is not working, but if you run openoffice as a standalone application, it is.
That I am looking for is how to install it avoiding those kinds of problems.
My behavior when trying to run OpenOffice as a service is the system is not able of start it up on a timely fashion.
0
 
LVL 84

Expert Comment

by:oBdA
ID: 22870765
Not every program will be capable of running as a srvany-wrapped service. OpenOffice surely wasn't programmed with the intention of having it running as a service. A dialog box opening up (without you being able to see it) or anything else requiring user input may prevent it from working.
You can try to run this srvany instance with a dedicated user account instead of Local System, and/or you can try to run it as a scheduled task during bootup.
0
 

Author Comment

by:Antonio Cruz
ID: 22879433
There are tips in internet saying that OpenOffice can be installed as a service. So, that is not the case.
I just ask for the solutions fixing the problem that I reported
0
 
LVL 84

Accepted Solution

by:
oBdA earned 125 total points
ID: 22879607
Did you follow the instructions here?
Creating an OpenOffice.org Service on Windows
http://www.artofsolving.com/node/11
The issue probably is, as I mention above, that there's a license agreement (see 7. in the link above) dialog or something similar popping up that you can't see because it's running in the local system / local service context.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question