Visual Studio 2008 – SignTool reported an error SignTool Error: Signtool requires CAPICOM version 188.8.131.52 or higher. Windows 7 and regsvr32.
Today I ran into an interesting error while trying to deploy a new version of a ClickOnce application that I maintain. When publishing my solution from Visual Studio 2008 (9) the following error would occur:
SignTool reported an error SignTool Error: Signtool requires CAPICOM version 184.108.40.206 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.
Follow these steps
The weird part was that I hadn’t change anything sine my last deployment and my solution would still build!
So, a quick google showed nothing much of interest until I found this page: http://geekswithblogs.net/hinshelm/archive/2007/02/07/105684.aspx
However that wasn’t the complete solution as Windows 7 should be using CAPICOM 220.127.116.11; additionally I was on a 64bit version of the operating system. Luckily I found the location where Visual Studio 2008 holds it Capcom.dll by default (C:Program Files (x86)Common Filesmicrosoft sharedCAPICOM); so with this knowledge, I was able to fix my issues with the following steps:
- COPY C:Program Files (x86)Common Filesmicrosoft sharedCAPICOMCapiCom.dll TO C:WindowsSysWOW64
- Then simply run a command prompt as an administrator, navigate to windowssystem32 and run the RegSrv command: regsrv32.exe capicom.dll
I’ve got no idea what caused this issue, but hopefully this helps other because I wasn’t able to find a complete solution elsewhere on the internet