×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    19

    Carbide.c++ sis packages signing

    Hi!

    I have a problem with the default example for S60 3rd Edition in Carbide.c++. I create a new Project and generate a sis file. This sis file is (I hope) self signed.

    When I try to install that application I receive the error message: Unable to install a protected application from an untrusted supplier. And the install process fails. The same application works when started in emulator with platsec turned on...

    I hope anyone can help!
    Thanks

  2. #2
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: Carbide.c++ sis packages signing

    Hi,

    Most likely you have a mismatch between UID and certificate. In order to succesfully install an app on a phone with a "selfsign" certificate you need a UID from the unprotected range (xE..... is the "developer range").

    So you either need to get a "better" certificate from SymbianSigned or change your UID to the unprotected range. If your application needs "advanced" capabilities then you must have the SymbianSigned certificate, if you do not need special capabilities you have a choice.

    Some useful links below:
    What are the UID ranges for S60 3.0:
    https://www.symbiansigned.com/app/page/uidfaq

    How to get a developer certificate:
    http://www.symbian.com/symbiansigned...bianSigned.pdf

    If you get a SymbianSigned certificate, you add it to the 3.0 GCCE Build configs under CreateSis->General options.

    To check that your app is actually signed, you should look for output like this in the output window:

    ------- snip --------

    createsis create -pass DefaultPassword "sis/Sign.pkg" C:/Users/Carbide1/Sign/sis/Sign.sis
    Processing sis/Sign.pkg...
    Created sis/Sign-tmp.SIS
    Extracting info. from sis/Sign.pkg ...
    No key/cert found in sis/Sign.pkg.
    making key-gen.key, cert-gen.cer ...
    Generating private key...
    Created certificate cert-gen.cer
    A DSA private key has been generated with a keylength of 1024 bits
    Signing sis/Sign-tmp.SIS with cert-gen.cer and key-gen.key -> C:/Users/Carbide1/Sign/sis/Sign.sis
    'Finished building: sis/Sign.pkg'

    -------- snap -------

  3. #3
    Registered User
    Join Date
    Mar 2005
    Posts
    19

    Re: Carbide.c++ sis packages signing

    Thanks for your help!
    I have tried to change my UID in the specified range xE... The singning process is successful, since the output states no error. But the application still fails while installation? Are there any other switches or settings I have to pay attention at? Do I need to install a certificate on the device? I fear, if it doesn't work to get a simple HelloWorld example running, I will have massive problems writing a "real" programme...

  4. #4
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: Carbide.c++ sis packages signing

    Well, "application fails while installation" means what, exactly? If you need to change the UID, you need to change it in quite a few places, did you change it in all places: xx_reg.rss, .pkg file, xxxApp.h/cpp, build configs?

    And yes, you are right, making a real app will be quite hard unless you study Symbian development, check out the training material on Forum Nokia (http://www.forum.nokia.com/main/0,6566,33_0,00.html) or get one of the books listed in the FN book recommendations (http://www.forum.nokia.com/main/1,,40_22,00.html) or go to http://developer.mopius.com/tutorials/carbide_vs.php for a good tutorial even though it is based on Carbide.vs. Symbian development is no different from other programming skills, you need to learn them..

  5. #5
    Registered User
    Join Date
    Mar 2005
    Posts
    19

    Re: Carbide.c++ sis packages signing

    Thank you very much for your help!
    I double checked my carbide.j settings.
    The error was located in the Project - Properties - Ressource compiler - General options - UID3. This value should be empty. I don't understand why this crashed my installation, but the platsec checks seem to be even more restrictive than I thought.
    No matter, it works now :-)

Similar Threads

  1. Replies: 2
    Last Post: 2009-07-14, 01:16
  2. Multiple programs within single SIS file dilema
    By LongSteve in forum Symbian
    Replies: 6
    Last Post: 2008-03-20, 06:05
  3. How to install sis packages to emulator
    By antti.kauppila in forum Symbian
    Replies: 1
    Last Post: 2004-05-14, 16:49
  4. Signing SIS files
    By LongSteve in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2003-12-10, 17:26
  5. signing sis file for nokia 3650
    By dgobin in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2003-07-11, 03:52

Posting Permissions

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