How to get unsigned sis version using Nokia Qt SDK 1.0 for Symbian online signing
Hi,
I am looking for a way to create unsigned unsigned sis version using Nokia Qt SDK 1.0 for Symbian online signing. Qt Mobility requires most examples to be signed with capabilities beyond self signing.
[QUOTE]SIS files can be signed for all Platform Security Capabilities except CommDD, MultimediaDD, NetworkControl, DiskAdmin, DRM, AllFiles, TCB.[/QUOTE]
This means using
[URL="https://www.symbiansigned.com/app/page/public/openSignedOnline.do"]https://www.symbiansigned.com Open Signed Online[/URL]
This is a quick,less than hour, no cost (free) without the cost of public ID,developers cert, during development of Qt Mobility applications.
To do this the following in Symbian 5th edition use makesis
[CODE]MAKESIS Version 5.1.0.4
A utility for creating Software Installation (SIS) files
Copyright (c) 2000-2007 Symbian Software Ltd. All rights reserved.
Usage : MakeSIS pkgfile [sisfile]
Options : [pkgfile] Name of the PKG file
Options : [sisfile] Output SIS filename.
If not specified, the filename will be derived from the name of the PKG file
[/CODE]
This produces the unsigned sis. In Nokia Qt SDK this output file is deleted after self signing signSIS has finished.
This deletion is controlled by Nokia Qt SDK command script.
What IMHO we need is a way of stopping the deletion of the unsigned MakeSIS output.
For example I have patched the createsis.pl to comment out the lines
[CODE] # delete the temporary file
unlink $sisfile_ip;
[/CODE]
and simply left
[CODE] # delete the temporary file
#unlink $sisfile_ip;
[/CODE]
now when I do
[CODE]
qmake lightmaps.pro
make release-gcce
make sis
[/CODE]
There are two sis files
[B]lightmaps.sis[/B] The self-signed sis
l[B]ightmaps_unsigned.sis [/B] the unsigned version uploaded to [URL="https://www.symbiansigned.com/app/page/public/openSignedOnline.do"]https://www.symbiansigned.com Open Signed Online[/URL] for signing via email.
Clearly an official version would be better than have to "patch" modify the Nokia Qt SDK.
Beginners and developers new to Symbian QtMobility will need this low cost feature
Thanks,
Jim Gilmour
Forum Nokia Wiki Administrator
Re: How to get unsigned sis version using Nokia Qt SDK 1.0 for Symbian online signing
Hi,
Found a possible answer in the file at C:\NokiaQtSDK\Symbian\SDK\bin and createpackage.pl
[QUOTE]Usage: createpackage.pl [options] templatepkg [target]-[platform] [certificate key [passphrase]]
Where supported [options] are as follows:
[-u|unsigned] = Preserves the unsigned package
[/QUOTE]
there is a switch -u to preserve the unsigned file.
Now just have to figure out where createpackage.pl is called from so that I can add the switch
Preferably this would be better than patching the file like
[QUOTE]
# remove temporary pkg and unsigned sis
if (!$preservePkgOutput) {
unlink $pkgoutput;
}
if (!$preserveUnsigned) {
unlink $unsigned_sis_name;
}
[/QUOTE]
to patch
if (!$preserveUnsigned) {
# unlink $unsigned_sis_name;
Thanks
Jim
Re: How to get unsigned sis version using Nokia Qt SDK 1.0 for Symbian online signing
Hi,
the easiest way is:
after you've created the self-signed sis go to:
start->all programs->nokia qt sdk->symbian-> Qt command prompt
browse to the directory of the project, then write:
signsis -u Your_SelfSigned_App.sis Your_Unsigned_App.sis
this command will remove the self sign from the sis file, and create the unsigned version.
Re: How to get unsigned sis version using Nokia Qt SDK 1.0 for Symbian online signing
Thanks for that. I found that the Qt Creator will allow an additional custom build process so I have updated my article on the Nokia Qt SDK remote Compiler to describe how to build an unsigned sis file automatically at [url]http://wiki.forum.nokia.com/index.php/How_to_install_and_use_the_Nokia_Qt_SDK_Remote_Compiler#Generating_a_Symbian_unsigned_sis[/url]
Thanks
Jim