Christof Wollenhaupt wrote:
> Hi Paul,
>
>> Oh how annoying. First it was \WINNT\Profiles\<user>, then it became
> \Documents and Settings\<user>, and now it is \Users\<user>.
>
> Or just use "%homedrive%%homepath%" which points to whatever the user's home
> directory is. Much better than hard coding, since "Documents and Settings"
> is also localized on Windows 2000/XP.
Oh, yeah, I know. InnoSetup uses {pf} which maps to the Program Files
directory, and {userdata} with maps to the user's Documents and Settings
directory.
I'm not hardcoding anything, but I'm still annoyed. :)
> On Vista they changed that (would you believe! <g>). Hence, the folder is
> now "C:\Users", but Explorer displays and accepts the localized version
> ("C:\Benutzer" on a german system). For some folders like "My pictures" they
> created hard links that point to the new locations, when the new location is
> in a different folder.
That should cut down on confusion.
Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.