Applications on Windows are notorious for having problems with long file
system paths. Some expert on Windows can probably give more insight
into the topic in general. For OOo, the situation has always been that
it can start to fail in mysterious ways if the installation path or the
user installation path is too long (whatever "too long" is exactly).
Since DEV300m4, the situation has become slightly worse, in that "too
long" has apparently become a little shorter:
- For one, since OOo is now in three layers where the upper layers need
to create paths to the lower ones, on Windows there is now a function
(resolveLink, desktop/win32/source/extendloaderenvironment.cxx:1.4, l.
115 ff) to create a new path from an absolute path and a text file
containing a relative path. The text file (basis-link resp. ure-link)
typically contains a relative path starting with one or more ..
segments, but resolveLink does not bother to remove these from the
resulting new path. That is, instead of the path
C:\Program Files\OpenOffice.org\Basis 3.0\program
you get the path
C:\Program Files\OpenOffice.org 3.0\..\OpenOffice.org\Basis 3.0\program
which is somewhat longer. I will see to improve resolveLink in one of
the next milestone builds.
- For another, at least so called "administrative installations"
(msiexec /a) let you chose an installation path (other than C:\Program
Files), and in older versions the chosen path replaced part of the
prefix of an OOo's installation path. That is, if you chose D:\Foo as
installation path, for example the OOo 2.4 soffice.exe ended up at
D:\Foo\program\soffice.exe
(the OpenOffice.org 2.4 segment of the corresponding default
C:\Program Files\OpenOffice.org 2.4\program\soffice.exe
was dropped). However, since we now install three adjacent trees
instead of just one, we can no longer drop the OpenOffice.org 3.0
segment, so if you now chose D:\Foo as installation path, soffice.exe
ends up at the path
D:\Foo\OpenOffice.org 3.0\program\soffice.exe
which is somewhat longer.
In short: If your OOo installation on Windows behaves strange, maybe
you should install it into a shorter path. :(
-Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]