View Full Version : SetupBuilder Compile error
NewsArchive
12-30-2008, 07:26 AM
Freidrich,
I have a setupbuilder file that compiled just fine till I updated to
6.9.2454
that would register the template in C7.
I am now getting a code signing error on just one file.
Nothing else has changed since the last compile in older version.
See attached screen shots.
Suggestions ?
Best regards,
Bo
NewsArchive
12-30-2008, 07:27 AM
Bo,
> I have a setupbuilder file that compiled just fine till I updated to
> 6.9.2454 that would register the template in C7.
>
> I am now getting a code signing error on just one file.
> Nothing else has changed since the last compile in older version.
>
> See attached screen shots.
>
> Suggestions ?
Yes, check the information in the code-signing properties. I assume the
password is incorrect or the timestamp server is not accessible, etc.
And of course, make sure that the code-signing certificate you are using
is not expired :)
Hope this helps.
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
12-30-2008, 07:27 AM
BTW, and if you are sure that your certificate is still valid and all the
code-sign information you entered is correct, then please also see the
following thread:
http://www.lindersoft.com/forums/showthread.php?t=10464
And this old (but still valid) thread:
http://www.lindersoft.com/forums/showthread.php?p=8879
HTH,
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
12-30-2008, 07:27 AM
Hi Bo,
> I have a setupbuilder file that compiled just fine till I updated to
> 6.9.2454 that would register the template in C7.
>
> I am now getting a code signing error on just one file.
> Nothing else has changed since the last compile in older version.
>
> See attached screen shots.
>
> Suggestions ?
I see your problem (in your attached screenshot). You code-sign and then
add the Vista-manifest <bg> This is NOT allowed ;-)
So I am pretty sure this project never worked!!!!!! It has nothing to do
with updating to 6.9.2454
http://www.lindersoft.com/forums/showthread.php?p=25527
Does this help?
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
12-31-2008, 03:00 AM
Friedrich,
>I see your problem (in your attached screenshot). You code-sign and then
>add the Vista-manifest <bg> This is NOT allowed ;-)
>So I am pretty sure this project never worked!!!!!! It has nothing to do
>with updating to 6.9.2454
It compiled fine in following version.
SetupBuilder Compiler: 6.9.2390
Compilation Date/Time: 10/31/2008 -- 2:10:15PM
But I will certainly change it to see if that works.<g>
Best regards,
Bo
NewsArchive
12-31-2008, 03:00 AM
Hi Bo,
>>So I am pretty sure this project never worked!!!!!! It has nothing to do
>>with updating to 6.9.2454
>
> It compiled fine in following version.
>
> SetupBuilder Compiler: 6.9.2390
>
> Compilation Date/Time: 10/31/2008 -- 2:10:15PM
>
>
> But I will certainly change it to see if that works.<g>
Yes, compiles fine but after the first compile you already had a destroyed
code-signature. If you had compiled the same again then the destroyed
code-signature would have resulted in the very same -1 code-signing error
because you do not have a valid Win32 PE header format any longer ;-)
It has *nothing* to do with the update to 6.9.2454.
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
12-31-2008, 03:01 AM
Hi Bo,
By the way, if you don't believe me, rollback to 6.9.2390 and see what
happens with the same project ;-)
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
01-01-2009, 11:29 AM
Friedrich,
Funny thing is that it was ok on the ones with Vista manifest added last,
but failed on the one without Vista manifest added.
I have not revisited it yet, and will recompile the exe's first.
I will move the add Vista manifest to before the code signing.
My next question is if my script contains
add vista manifest
code sign exe [permanent]
and then recompile the setupbuilder a second time, will it add
the vista manifest on the second compile and corrupt the file?
It should already have the code signing in place and skip it.
Do I need to change this?
Bo Schmitz
NewsArchive
01-01-2009, 11:29 AM
Hi Bo,
> Funny thing is that it was ok on the ones with Vista manifest added
> last, but failed on the one without Vista manifest added.
>
> I have not revisited it yet, and will recompile the exe's first.
> I will move the add Vista manifest to before the code signing.
>
> My next question is if my script contains
>
> add vista manifest
> code sign exe [permanent]
>
> and then recompile the setupbuilder a second time, will it add
> the vista manifest on the second compile and corrupt the file?
> It should already have the code signing in place and skip it.
>
> Do I need to change this?
Yes, the correct sequence is:
#embed Vista manifest [Permanent] [Skip]
#code-sign application [Permanent] [Skip]
This will embed the Vista-manifest into your application file and then
code-sign it. After that you have a perfectly valid Vista-manifested and
code-signed application.
BTW, make sure you have "Skip if file is already Vista manifested" and "Skip
if file is already code-signed" options enabled.
Does this help?
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
01-01-2009, 11:30 AM
Friedrich,
Yes, that helps. I had skip and permanent on both, just wrong order.
Thanks for the pointers.
Bo
NewsArchive
01-01-2009, 11:30 AM
Hi Bo,
> Yes, that helps. I had skip and permanent on both, just wrong order.
> Thanks for the pointers.
You are very welcome.
Happy New Year.
Friedrich
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.