windows registry

Rich rich@cnylug.org
Tue, 23 Jan 2001 20:17:11 -0500


On Tue, 23 Jan 2001 20:15:40 +0100 or Thereabouts
The voices in my head told me that Jan-Oliver Wagner <jan@intevation.de> said:


> > Curious why this is needed if GNUPGHOME is properly defined?
>
> AFAIK it is not that easy to properly define
> a system variable in Windows that is
> * immediately valid
> * working the same on all W's
That's a good point You would need to reboot in order for that environment variable to be in effect. I was under the impression however that defining environment variables could be done under all (current) Windows versions the same way.
> I dont't know much about Windows, but why do installer
> programs not allow to set environment variables?
I haven't looked at any of the installer programs, but you should be able to get the installer to call a batch file that said something like: echo SET GNUPGHOME=C:\GNUPG >> AUTOEXEC.BAT (or something like that) But as I said, I haven't used any of the installers so that might not be possible.
> Perhaps it is official concept of MS to drop
> environment variables and instead use the registry?
That might be. But for myself, I hate the registry and registry corruption is often a big problem. Often, clients of mine will have problems with registry corruption (that I have to fix), and I wonder if it isn't because so many programs are writing to it. Timo was writing to the registry with later versions of WinPT and I encouraged him to simply put everything in a config file instead of using environment variables or the registry. That might be complicating things too much for the typical windows user however. Rich... ________________________________________ The Central New York Linux User Group Now with one of them web page thingies! www.cnylug.org <-> rich@XXXcnylug.org