Sis file for Symbian 9.2 Application

Login to reply to this topic.
Thu, 2008-05-01 13:23
Joined: 2007-07-31
Forum posts: 140

Hi everybody,

I am facing a problem when i create sis file of an application developed in Symbian 9.2
but when i install the sis file on Nokia E51 it gives a message format not supported.

Following is the content of the pakage file.

; S60_31_ARMv5_UREL.pkg
; ---------------------
;
; Copyright (c) 2006 Rapidsoft Technologies, Inc.  All rights reserved.
;

; Languages
;
; AM=10, EN=01, FR=02, IT=05, GE=03, SP=04
;

&AM,EN,FR,IT,GE,SP

; Package Header
;
; IMPORTANT: Don't forget to update the version # values in AppUi.cpp - CAppUi::ApplicationVersionL - when
;            you change the version # here!
;

#{"Rapidsoft ","Rapidsoft ","Rapidsoft ","Rapidsoft ","Rapidsoft ","Rapidsoft "},(0x20001BAA),3,32,5,TYPE=SISAPP

; Vendor
;

%{"Rapidsoft , Inc.", "Rapidsoft , Inc.", "Rapidsoft , Inc.", "Rapidsoft ", "Rapidsoft , Inc.", "Rapidsoft , Inc."}
:"Rapidsoft , Inc."

; Logo
;

="C:\Rapidsoft \Common\Symbian\S60\About.bmp", "image/bmp", ""

; Package Signature
;

; for Symbian Signed program:
; *"C:\SplashData\Common\Symbian\Rapidsoft .key","C:\SplashData\Common\Symbian\Rapidsoft .cer"

; Package Body
;

"C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\winscw\udeb\Rapidsoft .exe"-"!:\sys\bin\SplashID.exe"

"C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\winscw\udeb\Z\Resource\Apps\Rapidsoft .mbm"-"!:\resource\apps\SplashID.mbm"

"C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\winscw\udeb\Z\Resource\Apps\Rapidsoft _icon.mbm"-"!:\resource\apps\SplashID_icon.mbm"

{
        "C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\winscw\udeb\Z\Resource\Apps\Rapidsoft .r10"
        "C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\winscw\udeb\Z\Resource\Apps\Rapidsoft .r01"
        "C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\winscw\udeb\Z\Resource\Apps\Rapidsoft .r02"
        "C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\winscw\udeb\Z\Resource\Apps\Rapidsoft .r05"
        "C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\winscw\udeb\Z\Resource\Apps\Rapidsoft .r03"
        "C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\winscw\udeb\Z\Resource\Apps\Rapidsoft .r04"
}-"!:\resource\apps\SplashID.rsc"

"C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\winscw\udeb\Z\Resource\Apps\Rapidsoft _loc.rsc"-"!:\resource\apps\SplashID_loc.rsc"

"C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\winscw\udeb\Z\private\10003a3f\apps\Rapidsoft _reg.rsc"-"!:\private\10003a3f\import\apps\SplashID_reg.rsc"

""-"c:\private\20001BAA\SplashID.ini",FILENULL

""-"c:\private\20001BAA\SplashID.db",FILENULL

"C:\Rapidsoft \Rapidsoft \Symbian\backup_registration.xml"-"!:\private\20001BAA\backup_registration.xml"

; Dependency
;

;[0x101F7961],0,0,0,{"S60ProductID","S60ProductID","S60ProductID","S60ProductID","S60ProductID","S60ProductID"}

; Capabilities
;

Please help me in solving my problem.

Thank you ,
Brajesh Kumar


Life is too short ! so do as many good things as you can do...
Brajesh Kumar...
Beginner in Symbian C++


Thu, 2008-05-01 17:44
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Sis file for Symbian 9.2 Application

Usually this message is when your application is compiled with the wrong SDK, one which the device doesnt support. But since you have used the correct SDK, its a little difficult to guess what could be the proble. One very wild guess would be to check on the grounds of this:

; IMPORTANT: Don't forget to update the version # values in AppUi.cpp - CAppUi::ApplicationVersionL - when
; you change the version # here!
;

#{"SplashID","SplashID","SplashID","SplashID","SplashID","SplashID"},(0x20001BAA),3,32,5,TYPE=SISAPP

Thu, 2008-05-01 21:02
Joined: 2008-03-26
Forum posts: 3
Re: Sis file for Symbian 9.2 Application

Of course you will get "message format not supported" as you try create sis using the executable image for emulator.
Change your pkg file will probably solve your problem.
if you are using gcce
"C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\gcce\UREL\SplashID.exe"-"!:\sys\bin\SplashID.exe"
you probably want to use the resources built for gcce too.

Good luck...

Thu, 2008-05-01 21:17
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Sis file for Symbian 9.2 Application

Thanks Symbiandeveloper,
I probably was looking so deep that I forgot to see the basics (embarassing!!) Just a glance at the poster joining date did this overlooking!!

@Brajesh: when you are compiling for device you compile for gcce or arm(not free). Like Symbiandeveloper suggested, you should have the source paths in the pkg file which reflect these builds.
I am led to believe at this point that you might not have the RVCT compiler (unless you already have bought it), so sticking to gcce build is the way to go, also reflect the same in the pkg file.

Fri, 2008-05-02 07:11
Joined: 2007-07-31
Forum posts: 140
Re: Sis file for Symbian 9.2 Application

hello Symbian_Neil,
i am very thankfull to you for giving me suggestion .But i dont know where should i do modification in the pakage file.

there is no any folder named gcce in C:\Symbian\9.2\ directory.

So i request you to tell me where should i modify my pakage file?

i am telling you what i have done ....

First i had 9.1 ver sdk , at that time everything was fine but the sis file was not able to install itself in nokia E51

2. I installed 9.2 sdk and and created the posted pakage file myself.
3. when i clicked on make after selecting S60_31.ARMv5.UREL
it gives lot of error like
Error: 'Int64' does not name a type
e32def.h line 868

4.Then i done makesis from command line and made sis file but the sis file does not install itself on the mobile and giving message unsupported format.

Please help me
Thanks in advance.

Brajesh


Life is too short ! so do as many good things as you can do...
Brajesh Kumar...
Beginner in Symbian C++

Fri, 2008-05-02 09:36
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Sis file for Symbian 9.2 Application

Well, if you are using carbide, your source can look something like this
"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\SplashID.exe"

But if you want to hardcode to use commandline you could try something like this:
"C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\gcce\urel\SplashID.exe

Remember to change other paths relatively.

if you are using command line to build, you could go to the directory where you have bld.inf, and type:

bldmake bldfiles
abld build gcce urel

That should build for release on the device. Then you can makesis and signsis.

SDK document has full details of this.

Getting Started >> Creating Applications from the Command Line Interface >>Building an Application for a Target Device from the Command Line Interface

Or if you are using IDE, you can check with respect to your ide in the SDK doc of how to do it

Getting Started >> Creating Applications with an IDE

Fri, 2008-05-02 11:25
Joined: 2007-07-31
Forum posts: 140
Re: Sis file for Symbian 9.2 Application

SplashID.exe is not found on my computer

C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\gcce\urel\SplashID.exe

it is found at

C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\winscw\udeb\SplashID.exe

Brajesh


Life is too short ! so do as many good things as you can do...
Brajesh Kumar...
Beginner in Symbian C++

Fri, 2008-05-02 11:43
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Sis file for Symbian 9.2 Application

what you find at C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\winscw\udeb\SplashID.exe is for emulator debug and not for device. Possibilities as to why you dont find C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\gcce\urel\SplashID.exe are : either you havent built for gcce urel as described above in my post and in SDK or there are errors when you are trying to build for gcce urel. So which one is true ?

Sat, 2008-05-03 06:05
Joined: 2007-07-31
Forum posts: 140
Re: Sis file for Symbian 9.2 Application

Actually when i click on make (F7) after setting target S60_31.ARMv5.UREL it displays lot of errrors in the files e32const.h
e32def.h
e32cmn.h
e32des8.h etc.

so it means the path C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\gcce\urel\SplashID.exe is not created.

Please tell me what should i do to solve this problem.
and why it gives errors in file e32const.h.

Two of the errors are

Error: 'Int64' does not name a type
e32def.h line 868

and
IMPORT_C does not name a Type
e32cmn.h line(90)

Brajesh


Life is too short ! so do as many good things as you can do...
Brajesh Kumar...
Beginner in Symbian C++

Sat, 2008-05-03 12:27
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Sis file for Symbian 9.2 Application

setting target S60_31.ARMv5.UREL

Note that is for ARM5 urel and not gcce urel and ARM5 compiler(RVCT) does not come free. So I would build it for gcce urel and not arm5 unless I have RVCT compiler.

Mon, 2008-05-05 05:48
Joined: 2007-07-31
Forum posts: 140
Re: Sis file for Symbian 9.2 Application

ok thanks.

I think this is the main problem.

Brajesh


Life is too short ! so do as many good things as you can do...
Brajesh Kumar...
Beginner in Symbian C++

Mon, 2008-05-05 14:26
Forum Nokia Champion
Joined: 2006-10-12
Forum posts: 463
Re: Sis file for Symbian 9.2 Application

Also hope you have installed the CSL toolchain(GCCE) which would have come free with the SDK if you are planning to build it for gcce.

  • Login to reply to this topic.