Difference between revisions of "OpenOffice for Windows"

From SME Server
Jump to navigationJump to search
(fixed installation instructions for repo install)
Line 8: Line 8:
 
{{Warning box|This contrib has been successfully tested on Windows XP and 2000 computers, but there is no guarantee that it will work on every Windows XP/2000 installation. It may depend on the servicepacks or other software you have installed. Please also note, that (optional) scripts add commands to the netlogon.bat that modify the Windows Registry. Take the usual precautions!}}
 
{{Warning box|This contrib has been successfully tested on Windows XP and 2000 computers, but there is no guarantee that it will work on every Windows XP/2000 installation. It may depend on the servicepacks or other software you have installed. Please also note, that (optional) scripts add commands to the netlogon.bat that modify the Windows Registry. Take the usual precautions!}}
  
=== Download ===
 
==== Download SME Server Package====
 
Download the RPM from http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/OpenOffice/
 
  
 +
=== Installation ===
 +
====RPM Installation====
 +
/usr/bin/yum install --enablerepo=smecontribs smeserver-openoffice-portable
 +
 +
signal-event workgroup-update
  
==== Download OpenOfficePortable Setup Program for Windows ====
+
==== OpenOfficePortable Windows Binary Installation====
 
On a Windows computer log into the domain as domain user 'admin' with the SME admin password. Download and save the OpenOfficePortable setup program from [http://sourceforge.net/project/showfiles.php?group_id=151265&package_id=255647 Soureforge download page]. There are serveral localized versions available. In the installation chapter below the English version OpenOffice_Portable_2.3.1_Rev_2_en-us.paf.exe is used.
 
On a Windows computer log into the domain as domain user 'admin' with the SME admin password. Download and save the OpenOfficePortable setup program from [http://sourceforge.net/project/showfiles.php?group_id=151265&package_id=255647 Soureforge download page]. There are serveral localized versions available. In the installation chapter below the English version OpenOffice_Portable_2.3.1_Rev_2_en-us.paf.exe is used.
  
 +
Run the OpenOfficePortable installation program.
  
=== Installation ===
+
Enter '''exactly''' the the destination folder as shown in the screenshot, where MYPDC is to be replaced by the SMB servername of your SME Server.
====RPM Installation====
 
/usr/bin/yum localinstall smeserver-openoffice-portable-*.noarch.rpm
 
 
 
signal-event workgroup-update
 
  
==== OpenOfficePortable Binary Installation====
 
On the Windows computer log into the domain as domain user 'admin' with the SME admin password. Run the OpenOfficePortable installation program. Enter '''exactly''' the the destination folder as shown in the screenshot, where MYPDC is to be replaced by the SMB servername of your SME Server.
 
 
[[Image:Oo-install-1.png]]
 
[[Image:Oo-install-1.png]]
  

Revision as of 21:56, 28 February 2008

Maintainer

Michael Weinberger


Introduction

This contrib provides a RPM that integrates the OpenOfficePortable application (Windows Version) into the SME Server. The OpenOffice executables are installed in a Samba share so that users can run all modules like Writer, Calc, Impress etc. immediately after domain logon without any installation or configuration on their Windows XP/2000 computers. The individual OpenOffice user profiles are stored on the SME Server in a hidden Samba share.


Warning.png Warning:
This contrib has been successfully tested on Windows XP and 2000 computers, but there is no guarantee that it will work on every Windows XP/2000 installation. It may depend on the servicepacks or other software you have installed. Please also note, that (optional) scripts add commands to the netlogon.bat that modify the Windows Registry. Take the usual precautions!



Installation

RPM Installation

/usr/bin/yum install --enablerepo=smecontribs smeserver-openoffice-portable
signal-event workgroup-update

OpenOfficePortable Windows Binary Installation

On a Windows computer log into the domain as domain user 'admin' with the SME admin password. Download and save the OpenOfficePortable setup program from Soureforge download page. There are serveral localized versions available. In the installation chapter below the English version OpenOffice_Portable_2.3.1_Rev_2_en-us.paf.exe is used.

Run the OpenOfficePortable installation program.

Enter exactly the the destination folder as shown in the screenshot, where MYPDC is to be replaced by the SMB servername of your SME Server.

Oo-install-1.png


Now walk through the setup dialog...

Oo-setup-1.png


Accept the license.

Oo-setup-2.png


Leave these fields empty.

Oo-setup-3.png


Uncheck automatic updates.

Oo-setup-4.png


Do not register.

Oo-setup-5.png


When you have finished the setup, OpenOffice starts. Open the 'Options' dialog.

Oo-options-1.png


Now walk through the options and adjust them to your needs. Note that you are about creating the initial default user profile for all existing and future new users. Once you have initialized the user profile, you cannot change it after that without starting from the scratch.

When finished click OK and log off from the domain.

Oo-options-2.png


Setup and Configuration on the SME Server

Initializing the User Profiles

Run the script

openoffice-init

This creates the user profile directories for all existings users and copies the default profile into them. The OpenOffice bootstrap.ini file is patched to use the new path. The user profiles are stored in /home/e-smith/files/ooSettings. When new SME users are created, the OpenOffice profile will be created automatically by an action script in the create-user event.

Users now can start OpenOffice by running \\MYPDC\openoffice\OpenOfficePortable\OpenOfficePortable.exe

Important: From now on you should never run OpenOffice as domain user admin again!


Register OpenOffice File Extensions (optional)

On the SME Server run as root the script

openoffice-assoc-oo

This registers the file extensions .odb, .odg, .odm, .odp, .ods, .odt and .rtf and associates them to the OpenOfficePortable application. It is done by adding Windows Registry commands to the netlogon.bat file, which are executed at domain user logon.

Register Microsoft Office File Extensions (optional)

On the SME Server run as root the script

openoffice-assoc-ms

This registers the file extensions .doc, .xls and .ppt and associates them to the OpenOfficePortable application. It is done by adding Windows Registry commands to the netlogon.bat file, which are executed at domain user logon.

Assign Windows Drive Letter (optional)

On the SME Server run as root the script

openoffice-drive-letter <LETTER>:

This assigns a drive letter to the openoffice share. It is done by adding a 'net use' command to the netlogon.bat file.

Users now can start OpenOffice by running <LETTER>:\OpenOfficePortable


Uninstall

Cleaning up netlogon.bat

openoffice-assoc-oo remove
openoffice-assoc-ms remove
openoffice-drive-letter remove
rm -f /home/e-smith/files/samba/netlogon/file-assoc-ms.*

Removing the RPM

/usr/bin/yum erase smeserver-openoffice-portable

Removing the OpenOffice installation

rm -rf /opt/openoffice

Removing the user profiles

rm -rf /home/e-smith/files/ooSettings

References