Reply to Thread

Post a reply to the thread: Code Sign error

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 04-13-2012, 03:38 AM
    linder

    Re: Code Sign error

    Perfect

    Friedrich
  • 04-12-2012, 01:41 PM
    kkolo

    Re: Code Sign error

    Thank you! Thank you! Thank you! once again.

    Changing the [INSTALLDIR] and changing the MediaType to 'Single File Image' did the trick!

    You are the BEST!

    - Kathy
  • 04-12-2012, 01:26 PM
    linder

    Re: Code Sign error

    Kathy,

    BTW, you are working on a very interesting project. If we could be of any help, please do not hesitate to send your .sb7 to our support [at] lindersoft [dot] com (e.g. for a quick review, some tips & tricks, etc.).

    Friedrich
  • 04-12-2012, 01:06 PM
    kkolo

    Re: Code Sign error

    Incidentally the files I was checking were not literally setup.exe and untinstall.exe - that's just the generic name I used to communicate what was happening.

    But, I will check all of you suggestions and, like I said before, will let you know how it turns out.

    - Kathy
  • 04-12-2012, 01:02 PM
    kkolo

    Re: Code Sign error

    Thanks again,

    I'll re-check everything and let you know how it goes. ;-)

    - Kathy
  • 04-12-2012, 12:18 PM
    linder

    Re: Code Sign error

    Aha, wait. And set "Media Type" to "Single-file image". Don't use the CD-ROM option any longer in the modern UAC-world. This will then code-sign both the setup.exe and the uninstall.

    And if you really have to create multiple volumes, use the "Custom (for UAC-aware systems) Media Type option.

    Friedrich
  • 04-12-2012, 11:53 AM
    linder

    Re: Code Sign error

    See attached screenshot. If you set "Executable File [EXENAME]" to "%_SB_RELEASEID%.exe" then the compiler will generate a "%_SB_RELEASEID%.exe" file and not a "setup.exe"

    Friedrich
  • 04-12-2012, 11:47 AM
    linder

    Re: Code Sign error

    Kathy,

    I think you are checking the wrong file(s). And in your "Executable File [EXENAME]" you are still using a runtime variable (%_SB_RELEASEID%). Runtime variables are only available (and resolved) at installer runtime, not at compile time!

    Next problem I see is your use of [INSTALLDIR]. You set "Installation Directory [INSTALLDIR]" to [INSTALLDIR]. That is not possible because you try to define a compiler variable with itself ;-) What you can do is to set "Installation Directory [INSTALLDIR]" to [MY_INSTALLDIR] and programmatically set the value of [MY_INSTALLDIR] which defines the [INSTALLDIR] value.

    Does this help?

    Friedrich
  • 04-12-2012, 11:09 AM
    kkolo

    Re: Code Sign error

    Also,

    I just checked the Uninstall.exe and it also is not actually code-signed.
    There is no 'Digital Signatures' tab and when I run it - next to Publisher -- it says 'Unknown'
  • 04-12-2012, 11:04 AM
    kkolo

    Re: Code Sign error

    Because when I go to the Setup.exe - and right click - Properties - there should be a 'Digital Signatures' tab with the code-signing information. But, there is not.

    - Kathy
This thread has more than 10 replies. Click here to review the whole thread.

Posting Permissions

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