PDA

View Full Version : Code Sign Compile Error



NewsArchive
08-02-2010, 02:00 PM
Why am I getting the compile error (compileerror.jpg) when I have defined
(and saved) code signing variables shown in Signature.jpg)?

Lynn Howard

NewsArchive
08-02-2010, 02:01 PM
Lynn,

That's an easy one (I think!)

Where it's failing - you are referencing (I assume) your old, expired
certificate - mycert.spc (pvk) - you probably moved those files out of the
C:\Comodo folder.

Make sure ALL your references are to C:\Comodo\mynewcert2010.spc (pvk)

Locations to check -

Tools - Options - File Locations

Certificate Profile

Script Editor - #code-sign application

David

--
From David Troxell - Encourager Software
Microsoft Forums NNTP Bridge - Instructions to use
http://profileexchanges.com/blog/?p=397

NewsArchive
08-02-2010, 02:02 PM
Yes David it does seem simple. But ~~

See the attached images.

I have no idea where the old names are coming from. Could they be embedded
in the sign.exe program?

A code signing adventure from Hell. ;-)

Lynn Howard

NewsArchive
08-02-2010, 02:03 PM
Lynn,

The code signing setup you showed in the first post is for the install
executable. Your script hasn't got that far yet.

Look in your script for the code signing of your application exe. It looks
like it is immediately following where you are adding the manifest to the
app.

--
Regards,

Lee
http://www.cya2day.com

NewsArchive
08-02-2010, 02:03 PM
Lynn,

Lee's right, of course! :-D

If you haven't found it already -

In the script editor - look for

#code-sign application "C:\Ship MMSV\Programs\vista\mms6.exe"

Correct your spc and pvk locations.

David

--
From David Troxell - Encourager Software
Microsoft Forums NNTP Bridge - Instructions to use
http://profileexchanges.com/blog/?p=397

NewsArchive
08-02-2010, 02:04 PM
Thank you Lee and David,

I had forgotten that each #code sign statement was independent of the global
setup.

All is well. This was a long and torturous process for me. But thanks to
you all for your help and encouragement.

Although Comodo is sometimes confusing to me they hung with me and issued a
new certificate without charge after I carelessly lost my password.

If they ever have a 10 year certificate I'll buy it. <G>

Thanks again everyone!

Lynn

NewsArchive
08-02-2010, 02:04 PM
> Thank you Lee and David,
>
> I had forgotten that each #code sign statement was independent of the global
> setup.

Lynn,

You're welcome!

Actually, one of those - IF you're not doing something often, easy to
forget...

>
> All is well. This was a long and torturous process for me. But thanks to
> you all for your help and encouragement.
>
> Although Comodo is sometimes confusing to me they hung with me and issued a
> new certificate without charge after I carelessly lost my password.

Definitely a Comodo strength - their support crew!

> If they ever have a 10 year certificate I'll buy it. <G>

Actually ONE of the reasons, I decided to finally update with a new Code
Sign - Order Process help topic:

Product Description - App Data UAC Safe, MFG - Encourager Software
Internet Link - http://profileexchanges.com/blog/?p=120

Code Sign - Order Process help topic

The Comodo Code Sign Certificate Order Process, specifically through the
Lindersoft Code Signing order link will be discussed here - however, some
information will be useful to anyone using any Code Signing order process.

David

--
From David Troxell - Encourager Software
Microsoft Forums NNTP Bridge - Instructions to use
http://profileexchanges.com/blog/?p=397

NewsArchive
08-02-2010, 02:05 PM
Hi David,

Three years is not the problem that three days is anymore. ;-)

I think it would be possible for LinderSoft (or someone ) to simplify the
extraction of the pvk and spc files once you have downloaded the openssl
program. The syntax is a bit messy. JAT

Still living in Lakeland?

Lynn

NewsArchive
08-02-2010, 02:06 PM
> Hi David,
>
> Three years is not the problem that three days is anymore. ;-)
>
> I think it would be possible for LinderSoft (or someone ) to simplify the
> extraction of the pvk and spc files once you have downloaded the openssl
> program. The syntax is a bit messy. JAT

Lynn,

In my Code Sign - Order Process help topic - App Data UAC Safe CHM, I have
added this (in comparing the conversion processes - receive in spc and pvk
convert to PFX - export from browser to PFX, then convert to spc and pvk):

"Suggestion - Comparing these conversion processes - it might be less
difficult for some to use XP and Internet Explorer to order their
certificate in spc and pvk file format and then use the pvk2pfx program to
covert these files to a PFX file."

If minimially you have Windows 7 Professional - and I would think most
developers at least have that - you can use the free VirtualBox and XP Mode
to order your certificate in XP Pro to receive it in spc and pvk format.

> Still living in Lakeland?

Yes, of course, this is the HOT time of the year - Florida residents (some)
learn to visit the theme parks in the cooler months of the year, and let
the REAL tourists visit them in the HOT months! :-D

David

--
From David Troxell - Encourager Software
Microsoft Forums NNTP Bridge - Instructions to use
http://profileexchanges.com/blog/?p=397