Reply to Thread

Post a reply to the thread: Again Code signing

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)

  • 02-29-2008, 08:55 AM
    linder

    Re: Again Code signing

    Thank you for your kind words

    BTW, in SetupBuilder 7 it will be possible to switch on/off code-signing for the installer/uninstaller from the script!

    Have a great weekend.

    Friedrich
  • 02-29-2008, 08:46 AM
    Phil

    Re: Again Code signing

    Hm ok.
    I know i should.
    Much Much thanks for your help!
    You are awesome!

    Best wishes!
    Your fan Phil
  • 02-29-2008, 08:26 AM
    linder

    Re: Again Code signing

    Phil,

    You can't enable/disable the installer/uninstaller code-signing based on a compiler variable.

    But you really should ALWAYS code-sign your installer/uninstaller!!!!

    Friedrich
  • 02-29-2008, 08:03 AM
    Phil

    Re: Again Code signing

    works perfect!
    thanks!
    but i still need a way to compile my project without signin itself. now it doesnt sign the files (#code sign app), but thats not enough :-P

    (i love you for your ensurance!)
  • 02-29-2008, 08:00 AM
    Phil

    Re: Again Code signing

    i know. i defined it with a compilervar ... ^^

    set %code% to [code] ...
    ^^
    but ill try with this one, thanks!
  • 02-29-2008, 07:50 AM
    linder

    Re: Again Code signing

    Phil,

    But %CODE% is an installer "runtime" variable ;-) It does NOT have any value when you COMPILE the script! It has a value when you RUN the installer.

    You can use compiler variables here, e.g. [CODE]

    Then use "#ifcompvar" and you are done.

    Does this help?

    Friedrich
  • 02-29-2008, 07:28 AM
    Phil

    Re: Again Code signing

    ah ok, i didnt know.

    First: i want both.

    2nd: i want sb6 to compile my project without signin my files and withough signin the setup itself IF the %CODE% variable isnt 1.

    i need it for test compilations.
  • 02-29-2008, 07:18 AM
    linder

    Re: Again Code signing

    Phil,

    I fear it's still not clear, sorry :-(

    1. The General Information -> Digital Signature code-signs your installer and uninstaller. No file name required.

    2. The "#code-sign application" compiler directive can be used to code-sign your own application files (DLL, EXE, etc.). File name required.

    So what would you like to do: 1. or 2. or both

    And what should the #if statement do?

    Thanks,
    Friedrich
  • 02-29-2008, 06:34 AM
    Phil

    Re: Again Code signing

    Thanks.

    I want to build a if-statement around the #code-sginin. (for test compilations)
    In my script you can see:
    If %CODE% equals "1" then
    #code-signin application C:\....\Project_[MAKE].exe
    End

    it doesnt care wich value the %CODE% variable contains, my setup is always code-signend.
  • 02-29-2008, 06:24 AM
    linder

    Re: Again Code signing

    Phil,

    No bug in PKEY.EXE

    Please see:
    http://www.lindersoft.com/forums/showthread.php?t=2170

    and:
    http://www.lindersoft.com/forums/showthread.php?t=2202

    I don't understand question 2, sorry. Code-signing in the script editor for your applications can be done with the "#code-sign application..." compiler directive.

    Friedrich
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
  •