Running OpenOffice as a service in Windows 2003 R2

80 views
Skip to first unread message

Seth Galitzer

unread,
Dec 9, 2011, 12:19:52 PM12/9/11
to openmeet...@googlegroups.com
I've been trying to follow the instructions in these various places:

but have had no luck.  I can run soffice.exe manually with the correct commandline flags and that works, but have been completely unable to configure it to run as a service.  I am using the latest release of OpenMeetings (1.9.0, from this week) and latest release of OpenOffice (3.3.0), and running on Windows Server 2003 R2.

Here is my registry dump for the service I created:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OpenOfficeService]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):22,00,63,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,\
  6d,00,20,00,46,00,69,00,6c,00,65,00,73,00,20,00,28,00,78,00,38,00,36,00,29,\
  00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,52,00,65,00,73,00,\
  6f,00,75,00,72,00,63,00,65,00,20,00,4b,00,69,00,74,00,73,00,5c,00,54,00,6f,\
  00,6f,00,6c,00,73,00,5c,00,73,00,72,00,76,00,61,00,6e,00,79,00,2e,00,65,00,\
  78,00,65,00,22,00,00,00
"DisplayName"="OpenOfficeService"
"WOW64"=dword:00000001
"ObjectName"="W2K\\Administrator"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OpenOfficeService\Parameters]
"Application"="\"C:\\Program Files (x86)\\OpenOffice.org 3\\program\\soffice.exe\""
"AppParameters"="-headless -nofirststartwizard -accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\""

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OpenOfficeService\Security]
"Security"=hex:01,00,14,80,b8,00,00,00,c4,00,00,00,14,00,00,00,30,00,00,00,02,\
  00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
  00,00,02,00,88,00,06,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
  05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
  20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,04,00,00,00,00,\
  00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,06,00,00,00,00,00,14,00,00,01,\
  00,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,00,18,00,fd,01,02,00,01,02,00,\
  00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,00,00,00,00,00,05,12,00,00,00,\
  01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OpenOfficeService\Enum]
"0"="Root\\LEGACY_OPENOFFICESERVICE\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001

Am I missing something important here?  Any advice is welcome.

Thanks.
Seth

greenes

unread,
Dec 9, 2011, 12:47:10 PM12/9/11
to OpenMeetings User
Hi Seth,

Here is a tutorial to make on XP but
can give you an idea. Is in spanish
and called:

Montar servicio de OpenOffice en XP.pdf

https://docs.google.com/leaf?id=0B2B7CuoLiRX2NGViMDc5ODUtYzBiNy00MDIyLWJmODItMGVjNTU0Y2VjODQ1&sort=name&layout=list&num=50

I have and it works.

.....

On 9 dic, 20:19, Seth Galitzer <sethg...@gmail.com> wrote:
> I've been trying to follow the instructions in these various places:https://groups.google.com/d/topic/openmeetings-user/8ONkb-1QBLk/discu...http://code.google.com/p/openmeetings/wiki/OpenOfficeConverterhttp://www.artofsolving.com/node/11http://support.microsoft.com/kb/q137890/

Seth Galitzer

unread,
Dec 9, 2011, 12:56:42 PM12/9/11
to openmeet...@googlegroups.com
I did manage to find a solution.  Turns out there was a small error in the howto in the first link I posted.  the AppParameters value should actually look like this:
-headless -nofirststartwizard "-accept=socket,host=localhost,port=8100;urp;StarOffice.Service"

Specifically, the " needs to go *before* -accept, and not after.  I hope this helps someone else in the future.

Cheers.
Seth
Reply all
Reply to author
Forward
0 new messages