gnupg windows installer

Werner Koch wk at gnupg.org
Wed Jan 3 17:03:11 CET 2001


On Wed, 3 Jan 2001, Jan-Oliver Wagner wrote:

> forward slashes: gnupg must accept backslashes, because it is not
> in our hand where a user decides to install gnupg.

It is a matter of the install program to use normal slashes for the
"HomeDir" key.  That is trivial.

> In that case HomeDir is D:\Programme\GnuPG

Yes it is, but you have to to enter "d:/Programme/GnuPG" for the
field.

> Do you think it is a problem to have gnupg interpret
> backslashes in the Registry entries?

Let the installer do this.  The format of "HomeDir" is a GnuPG
property and the installer simply has to use the right stuff.

BTW, the GDK_PATH_SEPARATOR macro is an ugly and uneeded thing - it
is better to let the file entryboxes change \ to /.  / is not a
valid filename character under Windows but \ is one under Unix.
Using backslashes in C is quite errorprone, so better avoid them
where you can do it.


  Werner
  



More information about the Gnupg-devel mailing list