Using NeoOffice Outside of /Applications

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 10:43, 20 November 2005 (edit)
Sardisson (Talk | contribs)
m (Using NeoOffice/J Outside of /Applications moved to Using NeoOffice Outside of /Applications)
← Previous diff
Current revision (17:06, 30 March 2008) (edit) (undo)
Sardisson (Talk | contribs)
(Installation and Patching Instructions: - update some parts of this that were still old)
 
(7 intermediate revisions not shown.)
Line 1: Line 1:
-== Running NeoOffice/J from a location other than <tt>/Applications</tt> ==+== Running NeoOffice from a location other than <tt>/Applications</tt> ==
-Officially, this '''cannot''' be done. '''<tt>/Applications</tt> is the only supported location for installing [[NeoOffice/J]].'''+Officially, this '''cannot''' be done. '''<tt>/Applications</tt> is the only supported location for installing [[NeoOffice]].'''
There are two very important reasons for this: There are two very important reasons for this:
Line 7: Line 7:
*First, a bunch of the underlying [[OpenOffice.org|OpenOffice.org]] code expects things to be installed in a single known place and never moved, so there are lots of hard-coded pathnames in the app. *First, a bunch of the underlying [[OpenOffice.org|OpenOffice.org]] code expects things to be installed in a single known place and never moved, so there are lots of hard-coded pathnames in the app.
-*Secondly, because of the above and because searching an entire large disk for the NeoOffice/J install location could take "forever," the patch installers only look in <tt>/Applications</tt> for the NeoOffice/J app to update.+*Secondly, because of the above and because searching an entire large disk for the NeoOffice install location could take "forever," the patch installers only look in <tt>/Applications</tt> for the NeoOffice app to update.
-That said, unofficially, if you're really adventurous and careful, you could probably get it to work. Recently, some updates to the installation process and path checking code have been made that will make it easier to install or move NeoOffice/J into other places, but this is still experimental.+That said, unofficially, if you're really adventurous and careful, you could probably get it to work. Recently, some updates to the installation process and path checking code have been made that will make it easier to install or move NeoOffice into other places, but this is still experimental.
-'''N.B.:''' Put the NeoOffice/J app on a drive that does not have any spaces in its name and only in folders that do not have spaces in the folder names. Parts of the OpenOffice.org code do not handle spaces in pathnames.+'''N.B.:''' Put the NeoOffice app on a drive that does not have any spaces in its name and only in folders that do not have spaces in the folder names. Parts of the OpenOffice.org code do not handle spaces in pathnames. If you will be attempting to use NeoOffice from a USB key or "Flash" drive, make sure the drive is formatted as HFS Extended, not FAT-32.
====Installation and Patching Instructions:==== ====Installation and Patching Instructions:====
-#Install NeoOffice/J in <tt>/Applications</tt> for the first time ('''Don't launch it''').+#Install NeoOffice in <tt>/Applications</tt> for the first time ('''Don't launch it''').
#: #:
-#Immediately move NeoOffice/J to your USB key or other disk.+#Immediately move NeoOffice to your USB key or other portable disk.
#: #:
-#'''Never rename''' your USB key or other disk once you have '''ever''' launched NeoOffice/J.+#'''Never rename''' your USB key or other disk once you have '''ever''' launched NeoOffice.
#: #:
-#Copy <tt>~/Library/NeoOfficeJ-1.1</tt> to your key and then into <tt>~/Library/NeoOfficeJ-1.1</tt> on other machines if you want your settings to remain the same/in sync on multiple machines. Repeat after each session.+#Move <tt>~/Library/Preferences/NeoOffice-2.2</tt> to your USB key.
#: #:
-#Move NeoOffice/J back to <tt>/Applications</tt> '''before opening the patch update .pkg''', then immediately move NeoOffice/J back to the same place on your USB key or other disk after the patch installation is complete ('''Don't launch NeoOffice/J''').+# On each machine where you use NeoOffice, use the Finder to make an alias to the <tt>NeoOffice-2.x</tt> folder on your portable drive and place that alias at <tt>~/Library/Preferences/NeoOffice-2.x</tt> (i.e., name the alias <tt>NeoOffice-2.x</tt> and place it in the <tt>~/Library/Preferences</tt> folder) so that NeoOffice will follow the alias to your portable drive. <!--
 + 
 +aliases will work, so hiding this old bit:
 + 
 +and then into <tt>~/Library/Preferences/NeoOffice-2.x</tt> on other machines if you want your settings to remain the same/in sync on multiple machines. Repeat after each session. -->
#: #:
 +<!-- This part is out-of-date, since the patch installer will find the last-used location
 +#Move NeoOffice back to <tt>/Applications</tt> '''before opening the patch update .pkg''', then immediately move NeoOffice back to the same place on your USB key or other disk after the patch installation is complete ('''Don't launch NeoOffice''').
 +#:-->
==Alternatives== ==Alternatives==
===UNIX-style symbolic links=== ===UNIX-style symbolic links===
-If you have <tt>/Applications</tt> symlinked to your USB key or other disk, some of the complexity is removed (NeoOffice/J more-or-less supports situations where <tt>/Applications</tt> is on a second drive/partition and where <tt>/Applications</tt> on the main drive has been replaced by a UNIX symbolic link to its location on the second drive).+If you have <tt>/Applications</tt> symlinked to your USB key or other disk, some of the complexity is removed (NeoOffice more-or-less supports situations where <tt>/Applications</tt> is on a second drive/partition and where <tt>/Applications</tt> on the main drive has been replaced by a UNIX symbolic link to its location on the second drive).
===Installation on another volume=== ===Installation on another volume===
-It's easy to install NeoOffice/J to another volume. +It's easy to install NeoOffice to another volume.
If you have several partitions or physical disks, just create an "Applications" folder at the root of this volume and it will be offered as a choice for the installation and patches thereafter. If you have several partitions or physical disks, just create an "Applications" folder at the root of this volume and it will be offered as a choice for the installation and patches thereafter.
-{{botlangbarEN|[[Fr:Utiliser_NeoOffice/J_hors_du_dossier_/Applications|Français]]}}+{{botlangbarEN|[[Fr:Utiliser_NeoOffice_hors_du_dossier_/Applications|Français]] [[It:Installare_NeoOffice_in_una_directory_diversa_da_/Applicazioni|Italiano]] [[Es:Cómo instalar NeoOffice en un directorio diverso a Aplicaciones|Español]]}}
-[[Category:Tips and Hints]][[Category:NeoOffice/J]]+[[Category:Tips and Hints]][[Category:NeoOffice]]

Current revision

Contents

Running NeoOffice from a location other than /Applications

Officially, this cannot be done. /Applications is the only supported location for installing NeoOffice.

There are two very important reasons for this:

  • First, a bunch of the underlying OpenOffice.org code expects things to be installed in a single known place and never moved, so there are lots of hard-coded pathnames in the app.
  • Secondly, because of the above and because searching an entire large disk for the NeoOffice install location could take "forever," the patch installers only look in /Applications for the NeoOffice app to update.

That said, unofficially, if you're really adventurous and careful, you could probably get it to work. Recently, some updates to the installation process and path checking code have been made that will make it easier to install or move NeoOffice into other places, but this is still experimental.

N.B.: Put the NeoOffice app on a drive that does not have any spaces in its name and only in folders that do not have spaces in the folder names. Parts of the OpenOffice.org code do not handle spaces in pathnames. If you will be attempting to use NeoOffice from a USB key or "Flash" drive, make sure the drive is formatted as HFS Extended, not FAT-32.

Installation and Patching Instructions:

  1. Install NeoOffice in /Applications for the first time (Don't launch it).
  2. Immediately move NeoOffice to your USB key or other portable disk.
  3. Never rename your USB key or other disk once you have ever launched NeoOffice.
  4. Move ~/Library/Preferences/NeoOffice-2.2 to your USB key.
  5. On each machine where you use NeoOffice, use the Finder to make an alias to the NeoOffice-2.x folder on your portable drive and place that alias at ~/Library/Preferences/NeoOffice-2.x (i.e., name the alias NeoOffice-2.x and place it in the ~/Library/Preferences folder) so that NeoOffice will follow the alias to your portable drive.

Alternatives

UNIX-style symbolic links

If you have /Applications symlinked to your USB key or other disk, some of the complexity is removed (NeoOffice more-or-less supports situations where /Applications is on a second drive/partition and where /Applications on the main drive has been replaced by a UNIX symbolic link to its location on the second drive).

Installation on another volume

It's easy to install NeoOffice to another volume.

If you have several partitions or physical disks, just create an "Applications" folder at the root of this volume and it will be offered as a choice for the installation and patches thereafter.


This article in other languages: Français Italiano Español
Personal tools