windows registry

Jan-Oliver Wagner jan@intevation.de
Wed, 24 Jan 2001 06:34:20 +0100


On Tue, Jan 23, 2001 at 08:17:11PM -0500, Rich wrote:

> > 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.
_current_ might not be enough if you look at M$ strategy.
> > 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
then you set the same home for all users on a Windows System. Not a good idea, why should they share one keyring?
> That might be. But for myself, I hate the registry and registry
> corruption is often a big problem.
true.
> 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.
keeping the registry entries to a minimum is definitely a good idea and that is what we have done for gnupg/gpa (3 entries so far). Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/