Chapter 1 Installing StarOffice
StarOffice supports the following native installers:
Note –
If you want to use the Java-based setup script on
Solaris and Linux, see Chapter 1, Installing StarOffice 8, in StarOffice 8 Getting Started Guide.
Note –
You cannot install the Adabas database package on a Solaris or Linux file
server.
Installing StarOffice on a Solaris File Server
To install StarOffice on a Solaris SPARC or Solaris x86 file server,
use the pkgadd command.
To Install StarOffice on a Solaris File Server
Steps
-
Log on to the file server and become superuser.
# su
-
Copy the installation packages to a directory on the file server.
-
On the StarOffice CD, the packages are in the /office/packages directory.
-
Unpack the download installation set for StarOffice.
-
Change to the directory that contains the download set, and then run the
installation script.
# ./so8-bin-[solaris version]-en-US_[optional languages].sh
-
When prompted, save the unpacked files to a directory on your file server.
-
Cancel the installation script.
Note –
If the StarOffice Installation Wizard opens, click Cancel.
-
Change to the directory where you copied the installation packages.
-
Create a new directory, for example, client_install,
and move the following client-side packages into the directory:
-
SUNWj5rt
-
SUNWj5cfg
-
SUNWj5man
-
SUNWadabas
-
SUNWstaroffice-desktop-int-root
-
SUNWstaroffice-desktop-integratn
-
SUNWstaroffice-shared-mime-info
Note –
If you use the CDE desktop, move the SUNWstaroffice-gnome-integration package to this directory as well.
-
Install the remaining packages on the file server.
-
Install the packages to the default installation directory.
# pkgadd -d . *
Note –
You only need to install the SUNWfreetype2 package
on the following systems:
-
Use an admin file to install the packages to a different
directory or to customize the installation.
# pkgadd -a path/admin.txt
-d . *
Note –
For example, for a silent installation, use an admin.txt file
with the following lines:
action=nocheck
conflict=nocheck
idepend=nocheck
To Configure a Solaris Client to Use StarOffice
If you want to provide Java support and desktop integration for StarOffice on
a client machine, you need to install the client-side packages for StarOffice. The
packages are in the directory that you created in To Install StarOffice on a Solaris File Server.
Steps
-
Log on to a client and become superuser.
# su
-
In the /etc directory, create a symbolic link to
the staroffice8 application directory on the file server.
# ln -s [StarOffice installation]/staroffice8
/etc/staroffice8
-
To configure the desktop to useStarOffice, install the desktop integration
package.
The desktop integration package configures the desktop mime types
for StarOffice documents as well as adds StarOffice application launchers to the
main desktop menu.
# pkgadd -d . [StarOffice installation]/packages/client_install/SUNWstaroffice-desktop-integratn
Note –
On Solaris 10 and later, you also need to install the SUNWstaroffice-shared-mime-info package.
-
To add Java support for StarOffice, install the following packages:
-
SUNWj5rt
-
SUNWj5cfg
-
SUNWj5man
# pkgadd -d . [StarOffice installation]/packages/client_install/SUNWj5rt SUNWj5cfg SUNWj5man
To Remove StarOffice Packages From a Solaris File Server
Steps
-
Log on to the file server and become superuser.
# su
-
Create a file, for example, so_packages, that contains
a list of the relevant information for the StarOffice packages.
# pkginfo -x | cut -f1 -d " " | grep staroffice /tmp/so_packages
-
Remove the packages that are listed in the file from your file server.
# pkgrm -n 'cat /tmp/so_packages'
-
(Optional) If you installed the FreeType font server, remove
the SUNWfreetype2 package.
# pkgrm SUNWfreetype2
Installing StarOffice on a Linux File Server
To install StarOffice on a Linux file server, use the rpm command.
Note –
On a Debian-based Linux distribution, you need to use the alien command, version 8.51 or later.
To Install StarOffice on a Linux File Server
Steps
-
Log on to the file server and become superuser.
# su
-
Copy the installation packages to a directory on the file server.
-
On the StarOffice CD, the packages are in the /office/RPMS directory.
-
Unpack the download installation set for StarOffice.
-
Change to the directory that contains the download set, and then run the
installation script.
# ./so8-bin-linux-en-US_[optional
languages].sh
-
When prompted, save the unpacked files to a directory on your file server.
-
Cancel the installation script.
Note –
If the StarOffice Installation Wizard opens, click Cancel.
-
Change to the RPMS directory in the StarOffice installation
directory.
-
Create a new directory, for example, client_install,
and move the following files into the directory:
-
jre-[version]-linux-i586.rpm
-
adabas-[version].i586.rpm
-
staroffice-desktop-integration-[version]-noarch.rpm
-
staroffice-suse-menus-[version]-noarch.rpm
Note –
If you do not use the Gnome desktop, move the staroffice-gnome-integration-[version].i586.rpm to this directory as well.
-
Install the remaining packages on the file server.
To Configure a Linux Client to Use StarOffice
If you want to provide Java support and desktop integration for StarOffice on
a client machine, you need to install the client-side packages for StarOffice. The
packages are in the directory that you created in To Install StarOffice on a Linux File Server.
Steps
-
Log on to a client and become superuser.
# su
-
In the /etc directory, create a symbolic link to
the staroffice8 application directory on the file server.
# ln -s [StarOffice installation]/staroffice8
/etc/staroffice8
-
To configure the desktop to useStarOffice, install the desktop integration
package.
The desktop integration package configures the desktop mime types
for StarOffice documents as well as adds StarOffice application launchers to the
main desktop menu.
-
Use the rpm command.
rpm -i [StarOffice installation]/RPMS/client_install/staroffice-desktop-integration-[version]-noarch.rpm
-
On a Debian-based system, use the alien command.
# sudo alien -i -k [StarOffice installation]/RPMS/client_install/staroffice-desktop-integration-[version]-noarch.rpm
Note –
On Suse Linux, you also need to install staroffice-suse-menus-[version]-noarch.rpm
-
To add Java support for StarOffice, install the Java runtime environment
package.
-
Use the rpm command.
rpm -i [StarOffice installation]/RPMS/client_install/jre-[version]-linux-i586.rpm
-
On a Debian-based system, use the alien command.
# sudo alien -i -k [StarOffice installation]/RPMS/client_install/jre-[version]-linux-i586.rpm
To Remove StarOffice From a Linux File Server
Steps
-
Log on to the file server and become superuser.
-
Create a file, for example, so_packages, that contains
a list of the relevant information for the StarOffice packages.
-
Use the rpm command.
# rpm -qa
| grep staroffice > so_packages
-
On a Debian-based system, use the dpkg command.
# dpkg -l | grep '^i. staroffice" | cut -f3 -d ' ' > so_packages
-
Remove the packages that are listed in the file from your file server.
-
Use the rpm command.
# rpm -e
'cat so_packages'
-
On a Debian-based system, use the dpkg command.
# dpkg -P 'cat so_packages'
Installing StarOffice on a Windows File Server
The StarOffice setup.exe application uses the Windows
Installer service.
Note –
For information on how to install StarOffice on a single Windows computer,
see Chapter 1, Installing StarOffice 8, in StarOffice 8
Getting Started Guide.
To Install StarOffice on a Windows File Server
Steps
-
Log on to the Windows file server as administrator.
-
Open a command window and change to the directory that contains the installation
files for StarOffice.
Tip –
To unpack the installation files of a download set without starting the
installation wizard, use the following command:
# so-8-bin-windows-en-US.exe
/EXTRACTONLY=ON
-
Install a server image of StarOffice.
# setup.exe
/a
-
Add the following path to the login script for each user on the network:
StarOffice Server Installation\share\userinstall\userinst.exe.
The userinst.exe installs the system
integration for StarOffice for the current user.
To Remove StarOffice From a Windows File Server
Steps
-
Remove the StarOffice system integration from each client.
-
Use a script to run the following application for each user:
StarOffice Server
Installation\share\userinstall\userdeinst.exe.
-
Log on to the Windows file server as administrator.
-
Delete the StarOffice installation directory.
Creating Custom Installation Sets on Windows
You can use the StarOffice Transformation Wizard to create a Windows Installer transform file
(MST file) where you can store changes to the main Windows Installer package file
(MSI file) for StarOffice. You can create transform files for different installation
scenarios, for example, to deploy StarOffice to multiple users on a computer. This
wizard does not alter the original MSI database file. You can find the StarOffice Transformation Wizard on
the StarOffice Enterprise CD.
When you run the transform file with the MSI database file, Windows Installer
applies the custom settings in the transform file to the original MSI database file.
Customizing the StarOffice Installation
You can use the StarOffice Transformation Wizard to customize the following before you install StarOffice:
-
Specify user information
-
Specify language options
-
Turn features on and off
-
Specify where to install StarOffice
-
Specify the types of Microsoft Office documents that StarOffice opens
Note –
This change affects Microsoft Word, Excel, and PowerPoint documents. To reset
the file associations so that Microsoft Office opens these documents, choose Tools - Options - Load/Save - Microsoft
Office in any StarOffice application.
Applying the Transform File to the StarOffice Installer
Before you apply the transform file, ensure that the transform file and the StarOffice staroffice8.msi file
are in the same directory.
To run the StarOffice staroffice8.msi file with the transform
file Sample.mst, use the following Windows Installer command
line:
msiexec /i staroffice8.msi TRANSFORMS=Sample.mst
Note –
For a silent installation, use the /qn option.
This command line passes the StarOffice staroffice8.msi file
and the options that you specified in the transform file to the Windows Installer
program, msiexec.exe. The TRANSFORMS property
specifies the name and path of the transform file that you want to run.
Note –
Options that you specify in the transform file override the default options
in the staroffice8.msi file.