Re: [dev] Windows: Help needed

2007-06-06 Thread Stephan Bergmann
Liyuan(Internet) wrote: - An installed URE already announces its location in the Windows registry at HKEY_CLASSES_ROOT\Software\OpenOffice.org\URE. But, even if all the code that needs to know this value can read it (e.g., we introduce additional syntax so that the URE_BIN_DIR deployment varia

Re: [dev] Windows: Help needed

2007-06-06 Thread Stephan Bergmann
Hennes Rohling wrote: Kay Ramme - Sun Germany - Hamburg wrote: Stephan, Stephan Bergmann wrote: Again: If I have two instances A and B of an application installed, and want to have a per-installation deployment variable C for that application stored in the registry, what would the involved

Re: [dev] Windows: Help needed

2007-06-06 Thread Stephan Bergmann
Hennes Rohling wrote: Stephan Bergmann wrote: Hennes Rohling wrote: Stephan Bergmann wrote: [...] I was talking from the consumer's point of view: If a consumer wants to find out the location of the default URE in that consumer's context, it will query HKEY_CLASSES_ROOT/Software/OpenOffice

Re: [dev] Windows: Help needed

2007-05-15 Thread Liyuan\(Internet\)
- Original Message - From: "Stephan Bergmann" <[EMAIL PROTECTED]> Newsgroups: openoffice.dev To: Sent: Wednesday, May 09, 2007 9:57 PM Subject: [dev] Windows: Help needed > Hi all, > > I am currently fiddling around with an OOo installation set from

Re: [dev] Windows: Help needed

2007-05-14 Thread Hennes Rohling
Kay Ramme - Sun Germany - Hamburg wrote: Stephan, Stephan Bergmann wrote: Again: If I have two instances A and B of an application installed, and want to have a per-installation deployment variable C for that application stored in the registry, what would the involved registry keys have to

Re: [dev] Windows: Help needed

2007-05-14 Thread Hennes Rohling
Stephan Bergmann wrote: Hennes Rohling wrote: Stephan Bergmann wrote: [...] I was talking from the consumer's point of view: If a consumer wants to find out the location of the default URE in that consumer's context, it will query HKEY_CLASSES_ROOT/Software/OpenOffice.org/URE. That either

Re: [dev] Windows: Help needed

2007-05-14 Thread Kay Ramme - Sun Germany - Hamburg
Stephan, Stephan Bergmann wrote: Again: If I have two instances A and B of an application installed, and want to have a per-installation deployment variable C for that application stored in the registry, what would the involved registry keys have to look like for instance A to have C with v

Re: [dev] Windows: Help needed

2007-05-13 Thread Oliver Braun
Hi Stephan, Stephan Bergmann wrote: [..] - Executables and shared libraries in OOo-wo-URE find shared libraries in URE they depend on via an RPATH (recorded in those executables and shared libraries) that includes the link to the URE. I don't understand what you need the symbolic link for:

Re: [dev] Windows: Help needed

2007-05-11 Thread Stephan Bergmann
Hennes Rohling wrote: Stephan Bergmann wrote: [...] - An installed URE already announces its location in the Windows registry at HKEY_CLASSES_ROOT\Software\OpenOffice.org\URE. But, even if all the code that needs to know this value can read it (e.g., we introduce additional syntax so that th

Re: [dev] Windows: Help needed

2007-05-10 Thread Hennes Rohling
Stephan Bergmann wrote: Hi all, I am currently fiddling around with an OOo installation set from which the URE has been extracted, see for details. On Unix/ELF, this already works reasonably well. I need a singl

Re: [dev] Windows: Help needed

2007-05-10 Thread Stephan Bergmann
Kay Ramme - Sun Germany - Hamburg wrote: have this information (i.e., the location of its underlying URE) available at runtime. And third, it should be easy for the user to change that information, to at least be able to (a) at installation time combine the OOo-wo-URE with an arbitrary URE (n

Re: [dev] Windows: Help needed

2007-05-10 Thread Stephan Bergmann
Oliver Braun wrote: Hi Stephan, please find my comments inline: Stephan Bergmann wrote: [..] - Executables and shared libraries in OOo-wo-URE find shared libraries in URE they depend on via an RPATH (recorded in those executables and shared libraries) that includes the link to the URE. I d

Re: [dev] Windows: Help needed

2007-05-10 Thread Stephan Bergmann
Stephan Bergmann wrote: Caolan McNamara wrote: On Thu, 2007-05-10 at 10:52 +0200, Oliver Braun wrote: Caolan McNamara wrote: I dropped LD_LIBRARY_PATH in the startup script for a bit, because we have rpath ORIGIN we don't need it in OOo itself. But the snag I ran into is that with the current

Re: [dev] Windows: Help needed

2007-05-10 Thread Stephan Bergmann
Caolan McNamara wrote: On Thu, 2007-05-10 at 10:52 +0200, Oliver Braun wrote: Caolan McNamara wrote: I dropped LD_LIBRARY_PATH in the startup script for a bit, because we have rpath ORIGIN we don't need it in OOo itself. But the snag I ran into is that with the current layout at least we do nee

Re: [dev] Windows: Help needed

2007-05-10 Thread Caolan McNamara
On Thu, 2007-05-10 at 10:52 +0200, Oliver Braun wrote: > Caolan McNamara wrote: > > I dropped LD_LIBRARY_PATH in the startup script for a bit, because we > > have rpath ORIGIN we don't need it in OOo itself. But the snag I ran > > into is that with the current layout at least we do need it so that

Re: [dev] Windows: Help needed

2007-05-10 Thread Oliver Braun
Caolan McNamara wrote: I dropped LD_LIBRARY_PATH in the startup script for a bit, because we have rpath ORIGIN we don't need it in OOo itself. But the snag I ran into is that with the current layout at least we do need it so that third party uno components spawned by OOo which are deployed into /

Re: [dev] Windows: Help needed

2007-05-10 Thread Kay Ramme - Sun Germany - Hamburg
Hi Stephan, Stephan Bergmann wrote: Kay Ramme - Sun Germany - Hamburg wrote: [...] Anyway, even using the mentioned registry entry does not seem to achieve what you want to achieve, as this registry entry is globally unique and does not belong to the office installation. So, what you actually

Re: [dev] Windows: Help needed

2007-05-10 Thread Caolan McNamara
On Thu, 2007-05-10 at 09:30 +0200, Oliver Braun wrote: > For manual overrides (e.g. for debugging), use LD_LIBARRAY_PATH, which was > invented for that purpose (I consider it a bug that we still use it in our > start > script). I dropped LD_LIBRARY_PATH in the startup script for a bit, because

Re: [dev] Windows: Help needed

2007-05-10 Thread Oliver Braun
Hi Stephan, please find my comments inline: Stephan Bergmann wrote: [..] - Executables and shared libraries in OOo-wo-URE find shared libraries in URE they depend on via an RPATH (recorded in those executables and shared libraries) that includes the link to the URE. I don't understand what

Re: [dev] Windows: Help needed

2007-05-10 Thread Stephan Bergmann
Kay Ramme - Sun Germany - Hamburg wrote: [...] Anyway, even using the mentioned registry entry does not seem to achieve what you want to achieve, as this registry entry is globally unique and does not belong to the office installation. So, what you actually want, is an OOo installation specific

Re: [dev] Windows: Help needed

2007-05-09 Thread Kay Ramme - Sun Germany - Hamburg
Hi Stephan, moving out URE stuff of OOo windows installations indeed seems to be more difficult than Unix (IMHO, as always :-). This seems to be more or less rooted in the fact, that windows does not support (symbolic) links on the on hand, while there is a mismatch between the binary world of

[dev] Windows: Help needed

2007-05-09 Thread Stephan Bergmann
Hi all, I am currently fiddling around with an OOo installation set from which the URE has been extracted, see for details. On Unix/ELF, this already works reasonably well. I need a single symbolic link from the