Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to correctly sign smart installer package?
Forum Update on Monday, May 27th 2025

How to correctly sign smart installer package?

Scheduled Pinned Locked Moved Mobile and Embedded
21 Posts 2 Posters 9.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    harbaum
    wrote on last edited by
    #6

    Argh ... what i've done now:

    • Installed the sis with my developer certificate
    • Added the .crt and .key to my project
    • Added TARGET.UID3=0x20045CF8 to the main executables .pro and all dlls .pro

    Still my package fails to install with the message "Unable to install protected application from an untrusted supplier"

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #7

      [quote author="harbaum" date="1310236402"]
      Still my package fails to install with the message "Unable to install protected application from an untrusted supplier"[/quote]

      If you want to test your application on Symbian device you should use a development (or self-signed) certificate to signing it. The certificate depends on the "capabilities of your app":http://developer.qt.nokia.com/wiki/Symbian_Capabilities

      http://anavi.org/

      1 Reply Last reply
      0
      • H Offline
        H Offline
        harbaum
        wrote on last edited by
        #8

        I am using the developer certificate and i have been installing the certificate also on my dev unit. Still i get that error message ...

        1 Reply Last reply
        0
        • L Offline
          L Offline
          leon.anavi
          wrote on last edited by
          #9

          [quote author="harbaum" date="1310300302"]I am using the developer certificate and i have been installing the certificate also on my dev unit. Still i get that error message ...[/quote]

          Have you configured Qt Creator to sign your application with it after the app is built?

          http://anavi.org/

          1 Reply Last reply
          0
          • H Offline
            H Offline
            harbaum
            wrote on last edited by
            #10

            Sure, as already mentioned i added the .crt and .key file to qtcreator and selected "signed". Also sisxplorer shows that the resulting sis file is signed. Still the device itself claims it isn't ... Also the device itself claims the the vendor is "Unknown" while sisxplorer sais the vendor is me.

            1 Reply Last reply
            0
            • L Offline
              L Offline
              leon.anavi
              wrote on last edited by
              #11

              [quote author="harbaum" date="1310320843"]Sure, as already mentioned i added the .crt and .key file to qtcreator and selected "signed". Also sisxplorer shows that the resulting sis file is signed. Still the device itself claims it isn't ... Also the device itself claims the the vendor is "Unknown" while sisxplorer sais the vendor is me.

              [/quote]

              The vendor should be described as follows at the pro file:
              @
              symbian:
              {
              vendorinfo = "%{"Your Name"}"
              ":"Your Name""
              my_deployment.pkg_prerules = vendorinfo
              DEPLOYMENT += my_deployment
              }
              @

              Please make sure that the certificate that you are using matches the required "capabilities":http://developer.qt.nokia.com/wiki/Symbian_Capabilities of your application which should be also describe at the pro file.

              http://anavi.org/

              1 Reply Last reply
              0
              • H Offline
                H Offline
                harbaum
                wrote on last edited by
                #12

                I also set it that way and the sisxplorer shows that this is really set. And the capabilities also shouldn't be the problem as i only need and set location and network.

                I have submitted the application despite the fact that i myself cannot install it. I hope that if that fails the reply will give me clue where my problem is.

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  leon.anavi
                  wrote on last edited by
                  #13

                  [quote author="harbaum" date="1310495582"]And the capabilities also shouldn't be the problem as i only need and set location and network.[/quote]

                  If you are using just NetworkServices and Location you should be able to use even a self-sign certificate to install it on Symbian^3 devices because these are basic capabilities.

                  http://anavi.org/

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    harbaum
                    wrote on last edited by
                    #14

                    Yes, indeed. I have been doing that during the development process. But for OVI i need to sign it.

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      leon.anavi
                      wrote on last edited by
                      #15

                      [quote author="harbaum" date="1310498703"]Yes, indeed. I have been doing that during the development process. But for OVI i need to sign it.[/quote]

                      No you do not if you are enrolled at "Nokia signing Symbian and Java apps for free":http://www.developer.nokia.com/Distribute/Packaging_and_signing.xhtml for free program:

                      bq. 5. The publisher submits the app (the unsigned SIS file with the UID provided) via the Ovi Publish tool.

                      So just set the UID and submit the unsigned sis file!

                      http://anavi.org/

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        harbaum
                        wrote on last edited by
                        #16

                        Oh, i missed that. Thanks!

                        1 Reply Last reply
                        0
                        • L Offline
                          L Offline
                          leon.anavi
                          wrote on last edited by
                          #17

                          [quote author="harbaum" date="1310579997"]Oh, i missed that. Thanks![/quote]

                          You are welcome! I will add a solved tag and hope that your app will pass Ovi QA successfully asap :)

                          http://anavi.org/

                          1 Reply Last reply
                          0
                          • H Offline
                            H Offline
                            harbaum
                            wrote on last edited by
                            #18

                            [quote author="leon.anavi" date="1310594286"]
                            You are welcome! I will add a solved tag and hope that your app will pass Ovi QA successfully asap :)
                            [/quote]

                            Argh ... qtcreator doesn't allow me to create an unsigned smart installer. So either i submit without installer (which imho is a bad idea) or i have to sign. Or am i once more missing something?

                            1 Reply Last reply
                            0
                            • L Offline
                              L Offline
                              leon.anavi
                              wrote on last edited by
                              #19

                              [quote author="harbaum" date="1310626033"]
                              Argh ... qtcreator doesn't allow me to create an unsigned smart installer. So either i submit without installer (which imho is a bad idea) or i have to sign. Or am i once more missing something?[/quote]

                              If you do not use "smart installer":http://developer.qt.nokia.com/wiki/Nokia_Smart_Installer_for_Symbian your application will be rejected by Ovi QA.

                              To create unsigned version of your application follow these steps:

                              Open your project from Qt Creator.

                              Select Project and click on* Symbian Device* and Run.

                              Under Create SIS Package select Not signed and check Create Smart Installer Package.

                              http://anavi.org/

                              1 Reply Last reply
                              0
                              • H Offline
                                H Offline
                                harbaum
                                wrote on last edited by
                                #20

                                [quote author="leon.anavi" date="1310627227"]
                                To create unsigned version of your application follow these steps:

                                Open your project from Qt Creator.

                                Select Project and click on* Symbian Device* and Run.

                                Under Create SIS Package select Not signed and check Create Smart Installer Package.

                                [/quote]

                                Once i select "Not Signed", the option to enable "smart installer" is automatically being disabled (grayed out). The qtcreator ui just doesn't allow this combination.

                                Edit: I am using the remote compiler as i am running linux. I can't tell whether a local build under win32 allows for this combination

                                1 Reply Last reply
                                0
                                • L Offline
                                  L Offline
                                  leon.anavi
                                  wrote on last edited by
                                  #21

                                  [quote author="harbaum" date="1310627549"]
                                  Once i select "Not Signed", the option to enable "smart installer" is automatically being disabled (grayed out). The qtcreator ui just doesn't allow this combination.
                                  [/quote]

                                  I am using Qt Creator 2.2.1 on Windows XP and the combination not signed, using Smart Installer is allowed.

                                  http://anavi.org/

                                  1 Reply Last reply
                                  0

                                  • Login

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Search
                                  • Get Qt Extensions
                                  • Unsolved