Home
My Page
Projects
gpg4win

Forum: help-en

Monitor Forum | Start New Thread Start New Thread
RE: Nothing working just after installation [ reply ]
By: Maddes B. on 2007-03-09 19:25
[forum:932]
Tip for normal/non-admin accounts:
Choose HKCU as the target in my GPGSelector, select the GPG.exe you want under Custom, and hit set.
That's it.

Maddes

RE: Nothing working just after installation [ reply ]
By: Maddes B. on 2006-09-02 23:13
[forum:596]
Hi everybody,

as it seems that this problem won't be fixed, either in the installer or GPGme, I decided to code a small program to help everyone in creating the necessary registry values.

So check out my GPGselector, download from http://www.maddes.net/freeware/files/GPGselector_20060902.zip (8KB)
Source for Visual C++ 2005 is available too at http://www.maddes.net/freeware/files/GPGselector_src20060902.zip (13KB)

I hope that a future GnuPG installer will ask you to create/update this registry value when installing to a non-default directory.

Regards
Maddes

RE: Nothing working just after installation [ reply ]
By: Maddes B. on 2006-06-13 16:43
[forum:464]
COrrect is http://wald.intevation.org/tracker/index.php?func=detail&aid=132&group_id=11&atid=126

RE: Nothing working just after installation [ reply ]
By: Maddes B. on 2006-06-13 16:42
[forum:463]
Posted at
http://wald.intevation.org/tracker/index.php?group_id=11&atid=126

RE: Nothing working just after installation [ reply ]
By: Maddes B. on 2006-06-13 16:36
[forum:462]
Posted at GnuPG.org:
http://bugs.gnupg.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=default&pr=668

RE: Nothing working just after installation [ reply ]
By: Maddes B. on 2006-06-13 08:58
[forum:461]
It's a problem in Werner Koch's GPGme, I will post a bug report in the GPG4win tracker and also try to contact Werner about this problem.

Maddes

RE: Nothing working just after installation [ reply ]
By: Jan-Oliver Wagner on 2006-06-13 07:47
[forum:459]
Thanks for the detailed analysis!

Can you make a bug report out of it?
(since it is related more to Gpg4win,
the bug tracker on this site is appropriate
rather than the ugly GpgOL one).

RE: Nothing working just after installation [ reply ]
By: Maddes B. on 2006-06-13 01:48
[forum:455]
The last information is correct: installing into the default folder fixes this problem.

The reason for this is as following:
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 GPGol defaults to "%program_files%\GNU\GNUPG".

Workarounds:
Have GPG.exe in "%program_files%\GNU\GNUPG" or create regkey "HKLM\Software\GNU\GnuPG\gpgProgram" that points to your GnuPG installation.

So I copied the GPGOL.DLL and the SHARE folder to my existing GnuPG installation, added the following registry settings and everything works fine.

[HKEY_CLASSES_ROOT\CLSID\{42d30988-1a3a-11da-c687-000d6080e735}]
@="GPGol - The GPG Outlook Plugin"

[HKEY_CLASSES_ROOT\CLSID\{42d30988-1a3a-11da-c687-000d6080e735}\InprocServer32]
@="D:\\Programme\\Security\\GnuPG\\gpgol.dll"
"ThreadingModel"="Neutral"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Client\Extensions]
"GPGol"="4.0;D:\\Programme\\Security\\GnuPG\\gpgol.dll;1;11000111111100"

[HKEY_LOCAL_MACHINE\SOFTWARE\GNU\GNUPG]
"gpgProgram"="D:\\Programme\\Security\\GnuPG\\gpg.exe"

If any weird errors occur when starting Outlook, then just rename the file "extend.dat" from "%USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook"


Possible code solutions:
a) GPGol 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)?

Regards
Maddes

RE: Nothing working just after installation [ reply ]
By: lba asdf on 2006-06-10 20:20
[forum:448]
I'd hit the same problem.
Deinstallation from a custom directory and install into the default directory solved it.

RE: Nothing working just after installation [ reply ]
By: Ravan H on 2006-04-21 11:57
[forum:309]
Hi all,

Had the same problem and it turned out that removing all files and reg-keys of an old gnupg-installation by hand was the only way to get it fixed...

RE: Nothing working just after installation [ reply ]
By: Jan-Oliver Wagner on 2006-04-13 21:02
[forum:269]
I am pretty sure that your old GnuPG installation causes the trouble.

But I have no idea how or why.
Can you double-check you removed all the
old stuff from the disk?

RE: Nothing working just after installation [ reply ]
By: al kay on 2006-04-11 09:10
[forum:256]
I'm using Windows XP Professional SP2,
gpg4win version 1.0.0 (released 2006-04-06)
and there has been the original GnuPG package from gnupg.org, which I uninstalled. I also cleaned the registry before installing gpg4win so I can't imagine that there has been some rest of the gnupg-package.

RE: Nothing working just after installation [ reply ]
By: Jan-Oliver Wagner on 2006-04-10 22:19
[forum:250]
Which Windows Version are you using?

Which gpg4win version did you install?

Have there been other gpg installations on
your system?

Nothing working just after installation [ reply ]
By: al kay on 2006-04-08 09:02
[forum:245]
Hello everyone!

I got a serious problem with the current version of gpg4win:

When I start GPA I get the error message (translated from my german version) "invalig crypto-engine". I can proceed and GPA comes up but I can't create any keys or import anything. GPGOL isn't working too since I cannot open the keymanager.

Anyone got an idea? I just installed it and everything went fine during the installation...

Greets,

lynix


This site is hosted by Intevation GmbH
(Datenschutzerklärung und Impressum | Privacy Policy and Imprint)