Once the document preview is tested and verified to run properly, it will be necessary to make the Openoffice as a windows service. These instructions are tested on Windows 7 64bit, Windows 2003 Server:
Open a command prompt with administrator privileges. Run the following command.
Now open the registry editor(Go to Run and give regedit). Navigate to the key HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\ooservice.
Create a new key named "Parameters".
For the new key "Parameters", create a string value named "Application" with following value.
Note: Update path to open office as necessary.
Finally your registry setting should like this:
Start the service "OpenOffice Server" from the control panel. Go to Administrative Tools | Services and then click on Open Office Server to start.
Check if the open office service is started and running fine.
If FileCloud service is set to run with a different account (needed for accessing UNC Paths), then make sure OO service is also set to run with the same account in Windows Services .