Release: gpgme 1.1.2 in GPG4win's GPGol (according to its released source)
Problem posted at http://wald.intevation.org/forum/forum.php?thread_id=94&forum_id=21
The code of "_gpgme_get_gpg_path()" in "w32-util.c" searches for a GPG regkey named "gpgProgram" in "Software\GNU\GnuPG" of HKCU and HKLM, but this key is no more available since GnuPG 1.41, so GPGme defaults to "%program_files%\GNU\GNUPG".
So if you a user doesn't install into the default directory then GPG.EXE will not be found.
How To Repeat
Clean system of GnuPG (remove all reg keys), clean install of GnuPG 1.4.3 in *non-default* path (e.g. D:\GnuPG), let GPGme try to find GPG.EXE, e.g. via GPG4win's GPGol, etc.
Possible code solutions:
a) GPGme should try the regkey "Install Directory" plus "\bin" to find GPG.exe
b) Call "gpg.exe" without any path, as the correct GPG folder should be always in a user's path, isn't it?
c) Maybe different ways to determine the path depending on the version
d) Does another function provide this info similar to the GPG name (gpg->filename)?