[Patch21.5] Find a relative package root at runtime
glynn at gclements.plus.com
Tue Mar 7 20:42:33 EST 2006
Vin Shelton wrote:
> > What is your preferred place, Mike?
> That is not the way that Windows installs work, Stephen. There is no
> one path that will work for all systems. Even the stereotypical
> 'C:\Program Files' is not valid for all systems (some systems install
> into other drives - note the email sent by Robinows on 2/24).
And "Program Files" is specific to English-language versions of
Windows. AIUI, the correct directory is is determined by the
%ProgramFiles% variable, corresponding to the registry key:
Also, a default install of Windows XP Pro using NTFS gives that
directory an ACL which overrides the one for the drive's root
directory, and which is inherited by all subdirectories which don't
explictly replace it. The ACL for %ProgramFiles% is more restrictive
than that for the drive root.
If you install elsewhere (e.g. "C:\Program Files" on a system where
that isn't the %ProgramFiles% directory), the XEmacs installation will
typically end up inheriting the ACL from the drive's root directory
Glynn Clements <glynn at gclements.plus.com>
More information about the XEmacs-Beta