System Requirements for OpenOffice.org 2
- Windows 98, Windows ME, Windows 2000 (Service Pack 2 or higher), Windows XP, Windows 2003, Windows Vista (enhanced Vista integration from version 2.2)
- 128 Mbytes RAM
- At least 800 Mbytes available disk space for a default install (including a JRE) via download. After installation and deletion of temporary installation files, OpenOffice.org will use approximately 440 Mbytes disk space.
- 800 x 600 or higher resolution with at least 256 colours
Unpack and install the downloaded OpenOffice.org 2.2 files
- Download the OpenOffice.org file (OOo_2.2.0_Win32Intel_install_en-US.exe) and Doubleclick to install it. The unpacking program will start.
The Welcome window is displayed to note that you have downloaded OpenOffice.org 2.0. Click Next to continue.
- The Select Folder window is displayed. Accept the folder name displayed in the text box or enter the name of the folder in which to save the unpacked files, and click Unpack.
- Once the files are unpacked, the OpenOffice.org 2.0 Installation Wizard is displayed. Click Next to continue installing OpenOffice.org 2.0.
Follow the prompts, and OpenOffice.org will be installed on your system, ready for use.
- Read the information in the Welcome window and then click Next.
The License Agreement window appears.
Note: You will need to use the scroll bar to view all of the license text If you do not wish to accept the license, you will be prompted to confirm this before the installation programme closes.
- Read the license, select "I accept the terms in the license agreement", and click Next.
The Customer Information window appears.
You may leave this form blank, or enter your User Name and if applicable, Organisation.
Note: If you logged in as administrator you will be prompted to install for all users.
- Complete Customer Information form and click Next.
The Setup Type window appears.
- Select a setup type (we recommend Complete) and click Next.
The File Type window is displayed.
- Select the file types that you wish to open with the OpenOffice.org program.
The default configuration is that all the file types are selected. This means that the OpenOffice.org programme will start when these file types are opened. De-select (click on the ticks) to view, edit and print these file types with your existing word processing, spreadsheet or presentation program.
Note: If you change your mind, returning to the prior state is tedious. You will need to reassociate all word processing, spreadsheet or presentation files with the appropriate file type. To read more, please see the file associations FAQ on the OpenOffice.org web site.
You can use file types not associated with OpenOffice.org, by starting Openoffice.org then open the file by choosing Open from the File menu.
- Once you have selected the file types click Next.
The Ready to Install the Program window is displayed.
Click the Back button to return to previous windows to change your installation options, otherwise click Install to begin the installation process.
Click the Finish button when the Installation Wizard Finished window is displayed.
If you logged in as administrator, logout. Each user can then invoke OpenOffice.org from the program menu which will allow the user to configure OpenOffice.org as a workstation copy with no further effort on the part of the user.
Start OpenOffice Servcie
This can be achieved in either of the two ways given below.
1. As Windows Service
Creating a Windows Service lets you have an OpenOffice.org instance always running as a service and listening for connections. That's what you usually want to do on a server machine.
Here's how to create a Windows Service using the SRVANY utility that you can download for free as part of the Resource Kit. (This was done on an XP SP2, YMMV.)
1. OpenOffice.org is already installed and started at least once under the current user
2. Download and install the Windows Server 2003 Resource Kit Tools
3. Read How To Create a User-Defined Service
4. Create a service named OpenOfficeUnoServer following the instructions above;
Command Prompt>"C:\Program Files\Windows Resource Kits\Tools\Instsrv.exe" OpenOfficeUnoServer "C:\Program Files\Windows Resource Kits\Tools\Srvany.exe"
This will create some registry keys for a new service called "OpenOfficeUnoServer".
5. Modify the registry keys
Open the registry editor (use the start/execute/regedit.exe or regedit32.exe) and locate the following registry key:
Create a subkey named "Parameters" and create two string values (update the paths to your local settings):
- Application, with a value of C:\Program Files\OpenOffice.org 2.2\program\soffice.exe (the path of 'soffice.exe')
- AppParameters, with a value of -headless -accept=socket,port=8100;urp;StarOffice.ServiceManager
6. From Control Panel / Administrative Tools / Services open the Properties for the new service and change the Log On account to be Local Service which is a more secure option than SYSTEM
7. If we stop here the service will start but not actually work. That's because the service runs as a special account and OpenOffice.org will try to show the license agreement dialog as if it was a new user instead of starting the application. To avoid this, you need to edit share\registry\data\org\openoffice\Setup.xcu
(it's an XML file) inside the OpenOffice.org installation directory and replace this bit.
with this other one (ideally you should replace the date with the one when you accepted the license)
<prop oor:name="ooSetupInstCompleted" oor:type="xs:boolean">
<prop oor:name="LicenseAcceptDate" oor:type="xs:string">
<prop oor:name="FirstStartWizardCompleted" oor:type="xs:boolean">
8. Start your new service (e.g. from Control Panel / Administrative Tools / Services). You may need to unblock the new service at the firewall level
9. From a command prompt do
Command Prompt> netstat -anp tcp
this should show a listening on port 8100. Chances are that the service will only listen on the 127.0.0.1 interface; this means you can only connect from the same machine and it's good from a security point of view. However, if you want to be able to connect from other machines as well you need to change the accept string to "socket,host=0.0.0.0,port=8100;...." in the AppParameters registry value
2. From Command Prompt
From the command prompt C:\Program Files\OpenOffice.org 2.2\program>
type soffice -accept="socket,host=<HOST NAME>,port=8100;urp;StarOffice.ServiceManager" and press Enter to start the OpenOffice Service Manager.
eg: C:\Program Files\OpenOffice.org 2.2\program>soffice -accept="socket,host=<HOST NAME>,port=8100;urp;StarOffice.ServiceManager"
Note: i) The port number can be given according to your preference.
ii) HOST NAME can be either localhost or the ip address
Configure OpenOffice for SamePage
Start SamePage Server. Login as System user. Click and select Administration, and click System Parameters.
Select Global Properties (if the value in the drop-down box is not 'Global Properties').
Type openoffice as the 'Name Like' value and click 'Go'.
net.etouch.wiki.openofficeintegration, net.etouch.wiki.openofficehost & net.etouch.wiki.openofficeserverport are displayed.
Select net.etouch.wiki.openofficeintegration, and type in the value as true
Select net.etouch.wiki.openofficehost, and type in the value as localhost or the ip address
Note: This value should be the same as <HOST NAME> specified in the parameter of soffice (previous step).
Select net.etouch.wiki.openofficeserverport, and type in the value of the port as given in the command prompt, to start the OpenOffice Service Manager. (in this case, 8100)
This enables 'Import content from MS Word Document' (from files with doc extension) in SamePage from the Edit Page mode.
Important Note: Make sure OpenOffice service is running and is listening on the desired port (eg. 8100) by the following
From a command prompt do Command Prompt> netstat -anp tcp
This should show a listening on the desired port (here, 8100).