Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor handle_cn's Avatar
    Join Date
    May 2004
    Posts
    73
    I downloaded the carbide c++ and S60 3rd MR SDK, and created a simple "hello world" application, built it, and run it successfully on the emulator.

    However, when I try to install it on my phone(N91), it stoped with error message "Unable to install a protected application from an untrusted supplier".

    My UID3 is 0xAxxxxxxx,which is made from unprotected range. 0xExxxxxxx, 0xFxxxxxxx is also tested, but no effects.

    Who can tell me how to solove this problem?

    Thanks very much

  2. #2
    Registered User kraja's Avatar
    Join Date
    Jun 2006
    Location
    London
    Posts
    22
    All S60 3rd edition apps have to be signed, otherwise the phone simply rejects the install.

    Since you are using 0xAxxxxxxx UID (which is in the unprotected range) you can self sign the application. Refer to "signsis" in the SDK, you would need a certificate and a private key for digitally signing your app. If you don't have a certificate use "createsis" which creates public/private key pairs n self signed certificate. Refer to "createsis" in SDK for the entire process.

    Kishore.

  3. #3
    Regular Contributor handle_cn's Avatar
    Join Date
    May 2004
    Posts
    73
    Yes, my sis file had been self-signed, the carbide do this for me. Because I see these text in the carbide console window.

    'Building file: sis/HelloCarbide.pkg'
    'Invoking: CreateSis (Installation File Generator)'
    createsis create -pass DefaultPassword "sis/HelloCarbide.pkg" D:/WorkSpace/HelloCarbide/sis/HelloCarbide.sis
    Processing sis/HelloCarbide.pkg...
    Created sis/HelloCarbide-tmp.SIS
    Extracting info. from sis/HelloCarbide.pkg ...
    No key/cert found in sis/HelloCarbide.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/HelloCarbide-tmp.SIS with cert-gen.cer and key-gen.key -> D:/WorkSpace/HelloCarbide/sis/HelloCarbide.sis
    'Finished building: sis/HelloCarbide.pkg'
    ' '
    Build complete for project HelloCarbide

    thanks

  4. #4
    Registered User kraja's Avatar
    Join Date
    Jun 2006
    Location
    London
    Posts
    22
    hmm.. I really don't know what the problem is. If you have not managed to solve the problem, try alternatives, like switching to a protected range UID (0x2xxxxxx), but for this you need to get a developer certificate from Symbian rather than self-signed certificate.

    Kishore.

  5. #5
    Regular Contributor handle_cn's Avatar
    Join Date
    May 2004
    Posts
    73
    Hi,kraja
    I solved it. when I change the UID3, I only chnaged it in the .cpp, .pkg and .rss file, But I frogot to change it in the menu "Project->Properties", and now I have installed my .sis to my N91.
    Thanks very much!!!

  6. #6
    Registered User jeanxian's Avatar
    Join Date
    Aug 2006
    Posts
    6
    Hi,

    I solved it. when I change the UID3, I only chnaged it in the .cpp, .pkg and .rss file, But I frogot to change it in the menu "Project->Properties

    I have same error but I changed UID *only* in Project->Properties and it doesn't work. How do you change it for a specific file ?

    Thanks,

    JeanXian

  7. #7
    Regular Contributor handle_cn's Avatar
    Join Date
    May 2004
    Posts
    73
    you should both change the uid3 for winscw and gcce build in the Properties setting

  8. #8
    Registered User jeanxian's Avatar
    Join Date
    Aug 2006
    Posts
    6
    Thanks, it worked fine when changing UID in project properties and .pkg file.

    Now installation goes until the Installing message with progression bar but stops when progression bar is at about half and I get "unable to install" message. Any idea?
    Note: I copy .sis file onto a media card and try installing to phone memory or media card without success.

  9. #9
    Registered User jeanxian's Avatar
    Join Date
    Aug 2006
    Posts
    6
    Now it's working.
    To be able to run Carbide example on my target, I had to change project properties (UIDs), but also .pkg UIDs and directories, and UIDs in various source files.
    JeanXian

Similar Threads

  1. error msg while making .sis file
    By halofolks in forum Symbian C++
    Replies: 11
    Last Post: 2007-07-05, 11:44
  2. Replies: 1
    Last Post: 2005-05-26, 14:22
  3. .SIS file download saving folder for Nokia 3650
    By jowsaki in forum Symbian C++
    Replies: 2
    Last Post: 2004-01-08, 19:48
  4. Nokia 6600: Unable to delete a .SIS file in my INBOX!
    By sneakerpimp in forum Symbian C++
    Replies: 2
    Last Post: 2004-01-03, 09:38
  5. Recogniser DLL in a .sis file blew away my 7650!
    By colinward in forum Symbian C++
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved