Steps to run openoffice as windows service
Resource Kit provides two utilities, Srvany.exe and Instsrv.exe, that allow for the creation of a user-defined service.
1. The following steps will allow for the creation of a user-defined Windows NT service:
Step-by-Step Example:-
1. Copy srvany.exe and instsrv.exe to your Windows\System32 directory,
(e.g:\WINDOWS\system32)
2. Select a name for your service, OpenOffice3.x for instance, and install it as a new service by typing the following at an MS-DOS prompt:
INSTSRV OpenOffice3.x C:\windows\system32\SRVANY.EXE (Modify path as necessary)
If the new service is created successfully, the following message should be received:
The service was successfully added!
Make sure that you go into the Control Panel and use
the Services applet to change the Account Name and
Password that this newly installed service will use
for its Security Context.
3. On the taskbar, click the Start button, point to Settings and click Control Panel.
4. In the Control Panel, double-click the Services icon.
5. Select OpenOffice3.x from the lists of services.
6. If you want your service to start every time you boot your machine, select Automatic for Startup Type in the Service dialog box. Otherwise, select Manual or Disabled. If you select Manual, you will need to go into the Services utility, select the service, and click the Start or Stop button every time you want to start or stop the service.
7. In the service property window Log On tab Log on as area, click Local System Account, select “Allow Service to Interact with Desktop,” and then click Apply and Ok button.
8. Click Close to close the Services control panel.
9. On the taskbar, click the Start button, and then click run.
10. In the Run dialog box, enter “Regedit” (without the quotes) and click OK.
11. Expand the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ OpenOffice3.x
12. Select the OpenOffice3.x key, and from the Edit menu, point to New, and click Key.
13. Set the name of the new key to “Parameters” (without the quotes).
14. Select the Parameters key, and from the Edit menu, point to New, and click the String Value. Set the name to “Application” (without the quotes).
15. On the Edit menu, click Modify. Change the Value data to the path to soffice.exe and click Ok. For example:
C:\Program Files\OpenOffice.org 3.x\program\soffice -invisible -"accept=socket,host=0,port=8100;urp"
16.
NOTE: To run the Open Office invisible, add another string value under the Parameters key with the following information:
Name Data ---- ---- AppParameters /hidden
In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.
Hi, thanks for the detailed information! We used it to create a step-by-step guide showing how to create an OpenOffice Windows Service with AlwaysUp:
http://localhost/products/AlwaysUp/Apps/RunOpenOfficeAsAService.html
Oops, you will find the guide at:
coretechnologies(dot)com/products/AlwaysUp/Apps/RunOpenOfficeAsAService.html