|
Using NeoOffice Outside of /Applications
From NeoWiki
Revision as of 10:43, 28 May 2005 (edit) Sardisson (Talk | contribs) m (category) ← 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) |
||
(12 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
- | == Running NeoOffice | + | == 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 | + | 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 | + | *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 | + | 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 | + | '''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:==== | |
- | + | #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. <!-- | ||
- | + | 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== | |
+ | ===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). | ||
- | + | ===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. | ||
- | [[Category:Tips and Hints]][[Category:NeoOffice | + | {{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:
- Install NeoOffice in /Applications 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 ~/Library/Preferences/NeoOffice-2.2 to your USB key.
- 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.