Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Compiler error GEN1053: Code signing process failed.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Compiler error GEN1053: Code signing process failed.

    We keep getting a "Compiler error GEN1053: Code signing process failed." on the
    setup.exe file.
    All other files in the installation package code sign without issue.

    Any suggestions would be appreciated.

    Ken Stone

  2. #2

    Default Re: Compiler error GEN1053: Code signing process failed.

    Ken,

    > We keep getting a "Compiler error GEN1053: Code signing process failed."
    > on the
    > setup.exe file.
    > All other files in the installation package code sign without issue.
    >
    > Any suggestions would be appreciated.

    If you are using the same certificate and configuration information, then
    it's caused by your protection software (false-positive bug). If you are
    interested, post the compiler window information. Perhaps we can see what
    it going wrong.

    BTW, are you using the "Global SHA Code-Signing Type" (Tools... | Options...
    | Code-Signing)?

    Friedrich

  3. #3

    Default Re: Compiler error GEN1053: Code signing process failed.

    We have disabled McAfee for the duration of the build.
    Still getting the attached error.

    Thanks

    Ken Stone
    Attached Images Attached Images  

  4. #4

    Default Re: Compiler error GEN1053: Code signing process failed.

    We've found the issue. Had an ELSE statement in the wrong sequence...

    Ken Stone

  5. #5

    Default Re: Compiler error GEN1053: Code signing process failed.

    Ken,

    >
    > We've found the issue. Had an ELSE statement in the wrong sequence...
    >

    Hmmmm, an ELSE statement in the wrong sequence caused this? Could you
    please give some more information? You can reproduce this with a wrongly
    set ELSE statement?

    Thanks,
    Friedrich

  6. #6

    Default Re: Compiler error GEN1053: Code signing process failed.

    See the attached..

    Ken Stone
    Attached Images Attached Images  

  7. #7

    Default Re: Compiler error GEN1053: Code signing process failed.

    Ken,

    >
    > See the attached..
    >

    From the technical point-of-view, it is impossible that the "Else" Statement
    sequence caused this. Microsoft Authenticode handles the code-signing
    process after the compilation process and this is not related to the script.
    All the script commands are executed at installer runtime and not script
    compile time. See attached screenshot. I have created a script snippet
    with your code and it code-signs fine.

    Friedrich
    Attached Images Attached Images   

  8. #8

    Default Re: Compiler error GEN1053: Code signing process failed.

    Friedrich,

    > From the technical point-of-view, it is impossible that the "Else" Statement
    > sequence caused this. Microsoft Authenticode handles the code-signing
    > process after the compilation process and this is not related to the script.
    > All the script commands are executed at installer runtime and not script
    > compile time. See attached screenshot. I have created a script snippet
    > with your code and it code-signs fine.

    You missed one extraneous ELSE but I tried it and everything signed as
    expected. Unsure how the runtime would handle it but...<g>

    Lee White
    Attached Images Attached Images  

  9. #9

    Default Re: Compiler error GEN1053: Code signing process failed.

    Lee,

    > You missed one extraneous ELSE but I tried it and everything signed as
    > expected. Unsure how the runtime would handle it but...<g>

    Else
    Else

    Ouch! Very interesting <g>. The compiler should catch this error. I'll
    fix this.

    Thank you!!!!!

    Friedrich

  10. #10

    Default Re: Compiler error GEN1053: Code signing process failed.

    Hi Friedrich,

    Thanks for the followup.
    - When we corrected the ELSE statement, the errors stopped.
    - The ELSE statement was the only thing we changed.

    We are completely puzzled...

    Ken Stone

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •