Publish Problem with signtool

I keep getting the following message when attempting to do a publish build of my programme....

Error2SignTool reported an error 'Failed to sign bin\Release\WindowsApplication1.publish\\setup.exe. SignTool Error: Signtool requires CAPICOM version 2.1.0.1 or higher. Please

copy the latest version of CAPICOM.dll into the directory that contains

SignTool.exe. If CAPICOM.dll exists, you may not have proper

permissions to install CAPICOM.

'.WindowsApplication1

Ive done the obvious as detailed in the error message, but the problem remains.

Any ideas ?

[2319 byte] By [Bigmo] at [2007-12-28]
# 1

I'm assuming by now you have this fixed...

Just incase or if anyone else comes across this - this is what you do

Using CMD.exe go to the C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin directory

type regsvr32.exe capicom.dll

Apparently the dll didn't get registered properly. All you have to do is re-register it.

Make user you capicom.dll is Version 2.1.0.1

Ken_L at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 2

Hi Ken,

Thanks for sharing this information.

It saved me hours to solve this problem!!

Jerry

JerryvandeBeek at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 3
This did not do the trick to me, I had to copy the file to

c:\windows\system32. I presume that uninstalling it from the system32

directory would also be good. Anyhow, it works again. Thank you for

pointing me in the correct direction.

Danny

Danny.Springer at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 4

Thanks for the tip about registring capicom.dll

It was in another directory, but it did the trick

Thanks a lot

Arjen

ArjenStolk at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 5

capicom.dll does not exist on my computer according to search?

ideas?

TIA

Jetpilot86 at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 6
I've found the file in the windows mobile 6.0 SDK and also in the VS common tools folder.

I suppose you can also found this file in the platform SDK.

--> c:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin

SteveB. at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 7

Thanks for the answer.

I have found the capicom.dll in the C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin directory but by using the CMD prompt, I was able to register the dll from there by using the REGSVR.EXE CAPICOM.DLL command.

Thanks again.

I hope it will help others too.

Frenchie at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic IDE...