PDA

View Full Version : Finally moving to SB8, but getting error



NewsArchive
06-24-2013, 01:31 AM
I'm migrating a little installer from SB7 to SB8. It simply creates a
bunch of shortcuts for the user. I've loaded the SB7 file into SB8,
and saved it as an SB8 file. When I build it, I get the following bit
in my log:

Adding Dibital Certificate to Uninstall...
SIGN CODE
Compiler warning GEN1061: File not found:
Compiler warning GEN1061: File not found:
Compiler error GEN103: Code sgning process failed. Error Code: -1
OK

Yes, that one line appears twice. I've verified that it works fine in
SB7. Any thoughts?

Mike Hanson
www.boxsoft.net

NewsArchive
06-24-2013, 01:32 AM
Hi Mike,

> I'm migrating a little installer from SB7 to SB8. It simply creates a
> bunch of shortcuts for the user. I've loaded the SB7 file into SB8,
> and saved it as an SB8 file. When I build it, I get the following bit
> in my log:
>
> Adding Dibital Certificate to Uninstall...
> SIGN CODE
> Compiler warning GEN1061: File not found:
> Compiler warning GEN1061: File not found:
> Compiler error GEN103: Code sgning process failed. Error Code: -1
> OK
>
> Yes, that one line appears twice. I've verified that it works fine in
> SB7. Any thoughts?

Yes. You forgot to switch from SIGNCODE.EXE to SIGNTOOL.EXE (you are not
using .spc/.pvk but a .pfx to code-sign your stuff).

"Tools" | "Options..." | File Locations tab -> change the SignCode utility
to SignTool and you are done ;-)

Friedrich

NewsArchive
06-24-2013, 07:24 AM
So you're saying that's not stored in the SB7, but is rather a
system-wide setting. Got it! <g> Thanks.

Mike Hanson
www.boxsoft.net