PDA

View Full Version : Problem with code signing



NewsArchive
02-13-2008, 01:38 AM
My program had been code signed - doesn't seem to be any more. I have
found in the help the screen that shows the window for code signing. I have
previously entered this information. I can't find that screen anymore in SB.
Can anyone show me how to get to that screen.

I am using sb 6.7.2083

Gary Hoffman

NewsArchive
02-13-2008, 01:39 AM
'General information' - Digital signature.
Its pretty low on the screen, so scroll down untill you find it.

Edvard Korsbęk

NewsArchive
02-13-2008, 01:39 AM
Gary,

That link is to code sign the installer

If you need to code sign exe's or dll's inside the installer then in script
at the top of it after global declaration add the code sign function.....for
each of them


Merci - Thank you

JP

Data Management Center
A tool to help you Transfer - Import - Export your data so easily ....

http://www.dm8.fr

NewsArchive
02-13-2008, 01:40 AM
Thanks for the help but I still cant find things. I do not find the code
signing under the general tab anywhere. Under script editing I do not find
#codesigning. The only thing I can find is under options. This allows me
to point to where the comodo files are. I have looked through help and
found noting except a screen shot of the screen I should be using.

Thanks

Gary

NewsArchive
02-13-2008, 01:41 AM
> Thanks for the help but I still cant find things. I do not find the code
> signing under the general tab anywhere. Under script editing I do not find
> #codesigning. The only thing I can find is under options. This allows me
> to point to where the comodo files are. I have looked through help and
> found noting except a screen shot of the screen I should be using.

1) Open your project
2) Make sure the Visualizer (left panel) is displayed
3) Click on "General Information"
4) Click on "Digital Signature"
5) Double-click on "Add a Digital Signature"
6) Fill out the form and "Bob's your Uncle!"

This signs your installer.


To code sign an exe, mouse over the right-hand tab for "Script Editor"

At the point where you want to sign your EXE, insert a row with "#code-sign
application" from the right-hand menu.

Fill out the form (info is similar to that of the installer signing, path
to files, etc.

Repeat as needed for other EXE's

;-)

Does that help?


Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
02-13-2008, 01:42 AM
Gary

I think perhaps that somewhare along the way you have installed the "Professional"
version in lieu of the Developer version. Code signing is not available in the Prof.
edition.

JohnG

NewsArchive
02-13-2008, 01:43 AM
Hi Gary,

Only the SetupBuilder "Developer Edition" flagship allows you to code-sign
your installer and uninstaller (and to code-sign external files using
pre-processor script items). This feature lets you to compile Vista and
Windows Server 2008 compatible installations.

"Professional Edition" does not support this feature. See "Features by
Edition" comparison:

http://www.lindersoft.com/products_setupbuilder_dev_features.htm

BTW, you have a valid (not expired) Professional Edition subscription. If
you are interested in switching to the Developer Edition flagship, please
contact sales@lindersoft.com for a "crossgrade" quote.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.7
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
02-13-2008, 01:48 AM
On 13 Feb 2008 02:07:35 -0500, friedrich linder wrote:

> Hi Gary,
>

Gary,

As Friedrich has explained, you need the Developer Edition.

Let me URGE you to seriously consider the cross-grade to Developer Edition:

While obviously, the Professional Edition is a great advantage in today's
Setup Tool market - the Developer Edition is an amazing value for money
spent:

Imagine sending your programs and even specialized data to your
customers/clients initially and then later, as you update, with a few
clicks of the mouse, automatically updating both programs and specialized
data with VERY little effort on their part!

THAT is just one HUGE advantage to the Developer Edition - many more
including International language support, multi-version patch files,

create subscription based software using setupPROTECT, multiple build
configurations, operating system filtering (with the introduction of
Microsoft Vista - this is a great advantage) and much more!

There are certain tools I would include in a Clarion Developer's power
pack, including CapeSoft File Manager 3, EC Software's Help & Manual,
Tracker Software's PDF-Tools SDK and a few more:

AND SetupBuilder Developer would definitely be leading the pack:

And the best is YET to come - including future SetupBuilder Developer
features AND some dynamite third party tools that should start to surface
soon!

David

> Only the SetupBuilder "Developer Edition" flagship allows you to code-sign
> your installer and uninstaller (and to code-sign external files using
> pre-processor script items). This feature lets you to compile Vista and
> Windows Server 2008 compatible installations.
>
> "Professional Edition" does not support this feature. See "Features by
> Edition" comparison:
>
> http://www.lindersoft.com/products_setupbuilder_dev_features.htm
>
> BTW, you have a valid (not expired) Professional Edition subscription. If
> you are interested in switching to the Developer Edition flagship, please
> contact sales@lindersoft.com for a "crossgrade" quote.
>
> Friedrich


--
From David Troxell - Product Scope 7 - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.encouragersoftware.com/
http://www.profileexchanges.com/blog/

NewsArchive
02-14-2008, 01:29 AM
This is the problem. I didn't know this was 1 of the differences in the 2
versions. I found some information on code Signing in the help. I could
point to where the files were in the options.

I have sent a email to sales.

Gary

NewsArchive
02-14-2008, 01:30 AM
Okay got the correct version. I can fill in the code sign information from
the general tab then digital signature.

When compiling I get this message compiler error gen1053 codesigning process
failed error code -1.

I think this has to do with the key password. I have looked at my original
email and I don't see one. I do see a password for website access. Where
do I find this key password and does that relate to the above error.

Gary

NewsArchive
02-14-2008, 01:32 AM
Gary,

This error means that the Windows SignCode.Exe process failed.

1. Make sure the code-sign certificate is not expired!!!!!!

2. If you are using the timestamp feature, make sure the timestamp server
is accessible.

3. Make sure the password for that certificate is correct. If you lost
it, then you also lost the certificate because the WebTrust agency
cannot send you a new one.

To check what might cause this I would suggest to start the SignCode.Exe
tool located in your SetupBuilder \Lib folder. Then try to code-sign a
"dummy" file with the same information you are using from within the
SetupBuilder IDE and see what kind of error (if any) is reported.

Does this help?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.7
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
02-14-2008, 01:33 AM
When would I have received the password. I have my emails from comodo but I
don't see the password.

Gary

NewsArchive
02-14-2008, 01:35 AM
Gary,

> When would I have received the password. I have my emails from comodo but
> I
> don't see the password.

You did not "receive" the password - Comodo does not know anything about
your password. You entered it and you had to write it down (see attached
screenshot taken from Geoff's excellent Comodo video). The second red
"NOTE:" item is important.

BTW, here is again the link to the video:
http://www.datadownunder.com.au/lindersoft/ComodoPurchaseDemo.html

Does this help?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.7
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
02-14-2008, 01:35 AM
By the way, you told in one of the above messages that you code-signed your
program in the past (perhaps with a SetupBuilder Developer trial). If you
still have that old project (.sb6) file, you can send it to me and I'll try
to extract the Comodo password.

Friedrich

NewsArchive
02-14-2008, 01:36 AM
Thanks to all that helped me through this. My problem seemed to be the time
stamp. Is there any recommended service for the time stamp.

Thanks

Gary

NewsArchive
02-14-2008, 01:36 AM
Hi Gary,

I would suggest to use the Comodo timestamp server (it's up and running
right now).
http://timestamp.comodoca.com/authenticode

You can also use the Verisign timestamp server:
http://timestamp.verisign.com/scripts/timstamp.dll

Does this help?

Friedrich

NewsArchive
02-14-2008, 01:37 AM
Gary,

Did you purchase a certificate to sign your applications from comodo -
through Friedrich or any other site ?

If not then that is the reason.....

If yes then you have to put the same pwd supplied to the certificate vendor
in SB and you have to tell SB where your personal certificate is


Merci - Thank you

JP

Data Management Center
A tool to help you Transfer - Import - Export your data so easily ....

http://www.dm8.fr