View Full Version : SetupBuilder Error Code
NewsArchive
02-21-2014, 03:13 AM
Hi all!
SB8 Code-signing is giving me a GEN 1055 Error Code 1 error (not -1).
Anybody know what that means?
--
Craig E Ransom
Tracker Software Products, Ltd.
http://www.tracker-software.com/
NewsArchive
02-21-2014, 03:14 AM
Craig,
> SB8 Code-signing is giving me a GEN 1055 Error Code 1 error (not -1).
>
> Anybody know what that means?
Error code -1 means that the Microsoft Authenticode code-signing process
failed.
It's caused by:
1. The code-signing certificate expired.
-or-
2. The configuration for the code-signing process is incorrect (wrong
password?)
-or-
3. The PE Header structure (if you are using the "#code-sign application..."
directive to sign external files) is invalid. To fix this, you can try to
recompile the file and make sure that you have the "Skip if file is already
code-signed" checkbox option enabled.
-or-
4. If you are using timestamping, the timestamp server is not accessible or
down. Make sure your latest virus-/spyware- definition update does not
block the timestamp server. To check this, you can disable timestamping.
Don't forget to re-enable it!
-or-
5. Your protection software received an update and is over-protective. It
blocks the Microsoft Authenticode tool. Try to add the tool to the
exclusion list.
It's one or more of the above <g>.
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
--Helping You Build Better Installations
--SetupBuilder "point. click. ship"
--Create Windows 8 ready installations in minutes
--Official COMODO Code Signing and SSL Certificate Partner
NewsArchive
02-21-2014, 03:14 AM
Hi Friedrich!
On 2/21/2014 3:03 AM, Friedrich Linder wrote:
> Error code -1 means that the Microsoft Authenticode code-signing process
> failed.
Actually it is Error Code 1 (not -1).
--
Craig E Ransom
Tracker Software Products, Ltd.
http://www.tracker-software.com/
NewsArchive
02-21-2014, 03:15 AM
Craig,
>> Error code -1 means that the Microsoft Authenticode code-signing process
>> failed.
>
> Actually it is Error Code 1 (not -1).
Sorry, fat fingers problem <g>. Should read "Error code 1 means..." But it
does not make a difference. It's caused by the same issue.
BTW, see this new threrad:
http://www.lindersoft.com/forums/showthread.php?t=42169
Friedrich
NewsArchive
02-24-2014, 08:02 AM
Hi Friedrich!
I went through your checklist and still no luck:
1.-2. I go9t new copy of the PFX file and corresponding password.
3. We are not using #code-sign lines at all.
4. We are using http://timestamp.comodoca.com/authenticode. I tried
disabling the time-stamping by blanking out this field but still error
code 1.
5. I also added it to my exceptions list but still errored.
I am using signtool.exe version 6.0.4002.0
Is there any way to verify PFX/password combination?
--
Craig E Ransom
Tracker Software Products, Ltd.
http://www.tracker-software.com/
NewsArchive
02-24-2014, 08:02 AM
Hi Craig,
If the certificate in form of an .PFX is valid and timestamp is disabled and
the SignTool.exe is whitelisted (and assuming you have the required
Authenticode components installed on your machine), then it seems to be
caused by an incorrect password.
To check the password, just code-sign a "dummy" executable or dynamic link
library from the command line:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa387764(v=vs.85).aspx
You can also try signtool.exe /signwizard
With some luck, the Microsoft tool displays a human readable error message.
Friedrich
NewsArchive
02-24-2014, 08:02 AM
I tried signwizard but that wasn't helpful. It does not accept pfx files.
So I tried command line "sign" and look what popped up:
"SignTool Error: Signtool requires CAPICOM version 2.0.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."
Looks like there's a reason #6 to be added to your list. :D
--
Craig E Ransom
Tracker Software Products, Ltd.
http://www.tracker-software.com/
NewsArchive
02-24-2014, 08:04 AM
Craig,
>
> Looks like there's a reason #6 to be added to your list. :D
>
Not really <g>. Because that was my "...(and assuming you have the required
Authenticode components installed on your machine)..." statement.
http://www.lindersoft.com/forums/showthread.php?p=53010#post53010
Friedrich
NewsArchive
02-24-2014, 08:04 AM
Craig,
You had the very same problem one year ago <vbg>
http://www.lindersoft.com/forums/showthread.php?t=38434
http://www.lindersoft.com/forums/showthread.php?p=69103#post69103
Friedrich
NewsArchive
02-24-2014, 08:04 AM
Hi Friedrich!
Point taken! Even so what worked then isn't working now. After copying
capicom.dll 2.0.0.3 into the signtool folder, still getting the same
error message.
I went to Microsoft looking for Authenticode installer, but that site is
just lots of bad links now.
--
Craig E Ransom
Tracker Software Products, Ltd.
http://www.tracker-software.com/
NewsArchive
02-24-2014, 12:27 PM
Hi Craig,
> Point taken! Even so what worked then isn't working now. After copying
> capicom.dll 2.0.0.3 into the signtool folder, still getting the same error
> message.
>
> I went to Microsoft looking for Authenticode installer, but that site is
> just lots of bad links now.
Did you download and install this?
http://www.lindersoft.com/capicom_v2102.exe
Friedrich
NewsArchive
02-25-2014, 02:50 AM
Hi Friedrich!
That did it! Thanks very much!
--
Craig E Ransom
Tracker Software Products, Ltd.
http://www.tracker-software.com/
NewsArchive
02-25-2014, 02:50 AM
Hi Craig,
>
> That did it! Thanks very much!
>
Perfect! Thank you for the update!
Friedrich
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.