>> 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 




_______________________________________________
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia

Reply via email to