PDA

View Full Version : Codesigning fails if armadillo protected



NewsArchive
01-12-2010, 01:38 PM
I've protected some files using armadillo and I also have them set to be
codesigned but SB7 wont codesign the files if they have been protected.

It fails with a Gen1053 and -1 errors.

Can I code sign armadillo protected files?

Any ideas ?

Cheers

Richard

NewsArchive
01-12-2010, 01:38 PM
Richard,

> I've protected some files using armadillo and I also have them set to be
> codesigned but SB7 wont codesign the files if they have been protected.
>
> It fails with a Gen1053 and -1 errors.
>
> Can I code sign armadillo protected files?
>
> Any ideas ?

Make sure that all configuration settings are correct (e.g. you do not use
an expired code-sign certificate, the password is correct, etc.). And make
sure that the timestamp server is accessible.

Jane and Charles are the Armadillo experts, but as I understand it,
Microsoft Authenticode can code-sign Armadillo protected applications
without any problem.

Friedrich

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

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
01-12-2010, 01:39 PM
> Can I code sign armadillo protected files?

The sequence is important, but it works fine.

We use this in all our apps:

( all tasks done within SetupBuilder )


1) Embed your Windows 7 manifest

2) Bind to one processor with ImageCfg.exe (if your doing that)

3) Apply Armadillo protection

4) Code Sign


Does that help?

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious 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
01-12-2010, 01:39 PM
Hi Charles

Re order of operation, thats what I've been doing.

I've just protected the files this time on the VM machine where the
development is taking place, then copied these files over to the VM running
SB7 and its worked but when I armadillo-ed the files in the SB7 shipping
files folder it didnt like it. Weird! <g>

Anyway going again.

Thanks

Richard

NewsArchive
01-12-2010, 01:40 PM
Richard,

Be sure you understand the implications of the "permanent" check boxes in SB
for manifest and code-signing. (The main documentation discusses them, as
does the "Learning SB" document that installs with the examples.)

As just a WAG, perhaps your app had already been manifested or signed on a
prior SB compile and then doing it again made Armadillo choke.

jf

NewsArchive
01-13-2010, 03:34 AM
> As just a WAG, perhaps your app had already been manifested or signed on a
> prior SB compile and then doing it again made Armadillo choke.

Another possibility is that Richard is doing something with the PreArm
files. That can mess things up.

BTW Richard if your using wildcards in SB7 to include files to add to the
installer (within a certain folder) be sure to go into the wildcard and add
an exclusion for *.PreArm.

That is a unprotected version of your file and I'm guessing you don't want
to distribute that<g>.

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious 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
01-13-2010, 03:35 AM
HA! That would suck<g>

Jeff Slarve

NewsArchive
01-13-2010, 03:35 AM
> HA! That would suck<g>

Indeed<g>

:-)

Charles




--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious 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
01-13-2010, 03:36 AM
> Re order of operation, thats what I've been doing.

Ok - good.

> I've just protected the files this time on the VM machine where the
> development is taking place, then copied these files over to the VM running
> SB7 and its worked but when I armadillo-ed the files in the SB7 shipping
> files folder it didnt like it. Weird! <g>

The ARM project file holds specific paths to the files to be protected, so
quite possibly it did not like the path to the VM files or you had not
added them there.

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious 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"
-------------------------------------------------------------------------------------------------------