Using NeoOffice Outside of /Applications

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:14, 21 April 2005 (edit)
Ovvldc ( | contribs)
(Running NeoOffice/J from a location other than <tt>/Applications</tt>)
← 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)
 
(13 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:
-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 nad 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.
-1. Install Neo/J in <tt>/Applications</tt> for the first time ('''Don't launch it''').+====Installation and Patching Instructions:====
-2. Immediately move Neo/J to your USB key or other disk.+#Install NeoOffice in <tt>/Applications</tt> for the first time ('''Don't launch it''').
 +#:
 +#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.
 +#:
 +#Move <tt>~/Library/Preferences/NeoOffice-2.2</tt> to your USB key.
 +#:
 +# 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. <!--
-3. '''Never rename''' your USB key or other disk once you have ever launched Neo/J.+aliases will work, so hiding this old bit:
-4. 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.+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''').
 +#:-->
-5. Move Neo/J back to <tt>/Applications</tt> '''before opening the patch update .pkg''', then immediately move Neo/J back to the same place on your USB key or other disk ('''Don't launch Neo/J''').+==Alternatives==
 +===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 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 (Neo/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).+===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.
 + 
 +{{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]]

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