Is there a tutorial how to integrate GnuPG in Sylpheed portable?
What I tried:
Installation of Gpg4Win (perhaps a problem, because it is not Portable).
Edit the \App\AppInfo\Launcher\SylpheedPortable.ini, added
[Activate]
Registry=true
[RegistryKeys]
GnuPG=HKEY_LOCAL_MACHINE\SOFTWARE\GNU\GnuPG
Create \Data\settings\GnuPG.reg with:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\GNU\GnuPG]
"Install Directory"="C:\\Program Files (x86)\\GnuPG"
"gpgProgram"="C:\\Program Files (x86)\\GnuPG\\bin\\gpg.exe"
But the message "GnuPG is not installed properly, or its version is too old." is still there
Thanks for any help.
I've not used Sylpheed myself but does it allow you to manually specify the path anywhere in the confguration? If so, installing GPG Portable and then pointing to that would be the best option.
Sometimes, the impossible can become possible, if you're awesome!
Sylpheed (GPGME library) first checks for registry:
HKCU\Software\GNU\GnuPG\gpgProgram
If it doesn't exist, GPGME assumes the default location:
%ProgramFiles%\GNU\GnuPG\gpg.exe
I tried
1. HKEY_CURRENT_USER
a) "gpgProgram"="c:\\progra~2\\gnupg\\bin\\gpg.exe"
b) "gpgProgram"="C:\\Program Files (x86)\\GnuPG\\bin\\gpg.exe"
With this the GnuPG.reg is changed after running sylpheed (extra new line), But the error exists.
2. Create a symlink
mklink /J "C:\Program Files\GNU\GnuPG" "C:\Program Files (x86)\GnuPG"
3. HKEY_LOCAL_MACHINE
Your registry path should be with HKLM like this:
HKLM\Software\GNU\GnuPG\
And on x64 systems your registry path should be like this:
HKLM\Software\Wow6432Node\GNU\GnuPG\