PDA

View Full Version : Compiler error GEN1053: Code signing process failed. Error Code: 1



NewsArchive
03-10-2014, 02:59 AM
I had to uninstall then reinstall SetupBuilder, all of my settings (Tools >
Options) were retained. At first I got a compile error related to having mixed
.lib file versions. Doing a clean install of the latest version fix that.

Now, every time I try to compile and code sign either a file using either a
Preprocessor: Code-sign Application or having the setup executable itself
signed, I get the following error:

SIGNTOOL: D:\Projects\ThPro3\Program\ThPro.exe
Compiler error GEN1053: Code signing process failed. Error Code: 1

I have looked back for others experiencing this error and, according to
Friedrich, it is caused by something outside of SetupBuilder. The problem I
have with this is that the signing program (SignTool.exe+capicom.dll) haven't
changed, the certificate (fairly new) hasn't changed or expired, the password
is entered correctly (I re-entered it to be sure) but still I get this error.
The only thing that has changed, so far as I can tell, is a reinstallation of
SetupBuilder.

I tried using SignTool outside of SetupBuilder with the command line:

SIGNTOOL sign /f bcs.pfx /p [MySecretPassword] d:\Projects\ThPro3\Program\ThPro.exe

I get the following error:

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.

I checked and Capicom.dll in the same folder is 2.1.0.1 and is the same one
that used to work. I looked to see if there were any other Capicom.dll files
on the path or in Windows or Windows\System32 folder. Negative.

Anybody have any idea what's going on?

Peter Gysegem
Beaver Creek Software

NewsArchive
03-10-2014, 03:01 AM
Check the attached.

Salt to taste.

--

Russ Eggen
RADFusion International, LLC

NewsArchive
03-10-2014, 03:02 AM
Thanks Russ,

My options are similar to yours, just a different folder and file names (see
attached). Still no joy.

Peter Gysegem
Beaver Creek Software

NewsArchive
03-10-2014, 03:02 AM
Peter,

See this:

http://www.lindersoft.com/forums/showthread.php?p=75570#post75570

Does this help?

Friedrich

NewsArchive
03-10-2014, 03:02 AM
Friedrich, you are an angel!

This fixed it! I'm back in business.

Peter Gysegem
Beaver Creek Software

NewsArchive
03-10-2014, 03:02 AM
Hi Peter,

> Friedrich, you are an angel!
>
> This fixed it! I'm back in business.

PERFECT! :-) Thanks for the update.

Friedrich

NewsArchive
03-10-2014, 03:03 AM
Peter,

> The only thing that has changed, so far as I can tell, is a reinstallation
> of SetupBuilder.

BTW, because you had an "out-of-sync" set of SetupBuilder files (a SB update
will *never* cause this) and now you have even lost the CAPICOM registration
is a very strong indicator that something on your system failed badly. A
system crash? Silent restore point rollback? I don't know. But whatever
it was, it was a serious system failure! You do not just 'lose' CAPICOM
registration.

Friedrich