Re: Dia (Installer?) Homedir (was : Re: 0.95-pre1 uploaded)
- From: Alan G Isaac <aisaac american edu>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: Dia (Installer?) Homedir (was : Re: 0.95-pre1 uploaded)
- Date: Tue, 14 Feb 2006 18:37:27 -0500
On Tue, 14 Feb 2006, Luc Cessieux apparently wrote:
1. I have XP but I had not the home in my path.
On 14.02.2006 20:29, Alan G Isaac wrote:
Often on XP %home% expands to %userprofile%, so installers
that assume it expands directly to a directory fail.
On Tue, 14 Feb 2006, Hans Breuer apparently wrote:
AFAIK the installer does not mess at all with the 'home' dir (Steffen?).
The code in GLib looks for both %HOME% as well as %USERPROFILE% - in
that order.
So did you see a concrete problem or did you just suspect one?
I suspected this might be what Luc was referring to.
(I could not tell from his post.)
Cheers,
Alan Isaac
PS Again, the problem with looking for %HOME% first is that
it is often defined to be *literally* %USERPROFILE%, so that
a 2nd expansion is necessary. (Odd but true.) If you look
at %HOME% first, you need to check that you have been handed
an actual directory. (E.g., by using os.path.isdir in Python.)
See http://mail.python.org/pipermail/python-list/2005-February/263921.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]