How to correctly sign smart installer package?
-
[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?
-
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 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.
-
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.
-
[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.
-
[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!
-
[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 :)
-
[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?
-
[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.
-
[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
-
[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.