Wednesday, December 18, 2013

Creating openoffice service

edit registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\service name

1. Key Name: Parameters
   Class : <leave blank>
   Select the Parameters key.

2. From the Edit menu, click Add Value. Type the following and click OK:


      Value Name: Application
      Data Type : REG_SZ
      String : <path>\<application.ext>

3. service named OpenOfficeUnoServer
      path:  C:\Program Files\OpenOffice.org 2.0\program\soffice.exe
4. Add another value to the Parameters key named AppParameters and set it to -headless -accept=socket,port=8100;urp;
5.start service.
6. replace share\registry\data\org\openoffice\Setup.xcu
office 3.x--> OpenOffice.org 3\Basis\share\registry\data\org\openoffice

        <prop oor:name="ooSetupInstCompleted">
        <value>false</value>
        </prop>
       <prop oor:name="ooSetupShowIntro">
       <value>true</value>
       </prop>
with
       <prop oor:name="ooSetupInstCompleted" oor:type="xs:boolean">
       <value>true</value>
       </prop>
       <prop oor:name="LicenseAcceptDate" oor:type="xs:string">
       <value>2006-07-25T17:34:04</value>
       </prop>
       <prop oor:name="FirstStartWizardCompleted" oor:type="xs:boolean">
       <value>true</value>
       </prop>


7. restart service

verification : netstat -anp tcp
create a folder called "reskit" --> in C drive
put all the .exe files from srvany

C:\>cd reskit
C:\reskit>C:\reskit\instsrv.exe "OpenOfficeUnoServer" C:\reskit\srvany.exe

edit key
key name - application
D:\OpenOffice.org 3\program\soffice.exe
C:\reskit\instsrv.exe "OpenOfficeUnoServer" C:\reskit\srvany.exe

No comments:

Post a Comment