problem when installed sis
Login to reply to this topic.
lun, 2008-02-04 17:38
Joined: 2006-07-21
Forum posts: 165

Hi,
i work for porting one application from 2nd to 3rd.
Now, application compiled, but when installed sis on the phone appear message "Corrupted file" and application not installed, where is the problem?
Thanks
Silvia


lun, 2008-02-04 17:51
Joined: 2006-10-12
Forum posts: 463

Hard to say with so limited information. But one of the checklists would probably be are you compiling for the right version or your device? is the signing happenning correctly..verbose output to check.

mar, 2008-02-05 15:25
Joined: 2006-10-06
Forum posts: 8

Recheck IDs (Vendor, Secure, Package) in your files (cpp, pkg...) - i think problem is probably in pkg. Also you have to sign your sis. Maybe these sites will be helpful for You:

http://blogs.forum.nokia.com/index.php?op=ViewArticle&blogId=34687&articleId=93
http://www.whythefuckwontmysisfileinstall.com/
http://bloggy.kuneri.net/2006/05/04/helloworld-sis-installation-for-s60-3rd-edition/


Jozef Prídavok - http://pridavok.sk/
Mothiva, s.r.o - http://mothiva.com/

mar, 2008-02-05 15:53
Joined: 2006-10-12
Forum posts: 463

I think I read in some other thread of Silvia. It appeared there that Silvia might have missed signing the application.

mer, 2008-02-06 09:33
Joined: 2006-07-21
Forum posts: 165

Hi,
Problem isn't signed of sis, I sign sis without problem, I just work with 3rd Smiling
Now I control sites of oxy
Best regard Smiling
Silvia

mer, 2008-02-06 10:09
Joined: 2006-07-21
Forum posts: 165

Insert my pkg and mmp Sad



TARGET          app.exe
TARGETTYPE      exe
UID             0x0 0xXXXXXXXX 


SOURCEPATH      ..\src

....




SOURCEPATH        ..\data

START RESOURCE    app.rss
HEADER
TARGETPATH resource\apps\nameapp
END //RESOURCE



START RESOURCE    app_reg.rss
TARGETPATH 	  \private\10003a3f\apps\nameapp
END //RESOURCE



USERINCLUDE     ..\inc
SYSTEMINCLUDE   \epoc32\include





LIBRARY         euser.lib       
LIBRARY         msgs.lib       
LIBRARY         apparc.lib     
LIBRARY         cone.lib        
LIBRARY         eikcore.lib     
LIBRARY         eikctl.lib      
LIBRARY         eikcoctl.lib   
LIBRARY         eikcdlg.lib     

....

VENDORID	  	  0
CAPABILITY	  	  ReadUserData Location NetworkServices ReadDeviceData WriteDeviceData WriteUserData
LANG 			  SC
SECUREID		  0xXXXXXXXX  //same of uid


//end of file




;Language - standard language definitions
&EN

;Nome dell'applicazione sia in EN che in IT
#{"app"},(0xXXXXXXXX),208,0,0


;Localised Vendor name
%{"Vendor-EN"}

;Unique Vendor name
:"Vendor"


;Supports Series 60 v 3.0
[0x101F7961], 208, 0, 0, {"Series60ProductID"}


	
"app.db"-"!:\system\apps\app\app.db" 
"ssaver.mbm"-"!:\system\apps\slc\ssaver.mbm" 

"C:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\release\gcce\urel\app.exe"-"!:\sys\bin\appname\app.exe"
"C:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\data\z\resource\apps\app.rsc"-"!:\resource\apps\appname\app.rsc"
"C:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\data\z\private\10003a3f\apps\app_reg.rsc"    -"!:\private\10003a3f\import\apps\appname\app_reg.rsc"
"C:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\release\winscw\udeb\z\resource\apps\app.mif" -"!:\resource\apps\appname\app.mif"

Are there some error?
Thanks
Silvia

mer, 2008-02-06 11:06
Joined: 2003-01-14
Forum posts: 2133

"C:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\data\z\resource\apps\app.rsc"-"!:\resource\apps\appname\app.rsc"
"C:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\data\z\private\10003a3f\apps\app_reg.rsc" -"!:\private\10003a3f\import\apps\appname\app_reg.rsc"
"C:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\release\winscw\udeb\z\resource\apps\app.mif" -"!:\resource\apps\appname\app.mif"

Should be:

"C:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\data\z\resource\apps\app.rsc"-"!:\resource\apps\app.rsc"
"C:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\data\z\private\10003a3f\apps\app_reg.rsc"    -"!:\private\10003a3f\import\apps\app_reg.rsc"
"C:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\release\winscw\udeb\z\resource\app.mif" -"!:\resource\apps\app.mif"

(remove appname from target path)


Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

mer, 2008-02-06 11:10
Joined: 2006-07-21
Forum posts: 165

Yes, Now sis install, thanks Smiling
But my app not start...is possible becose at startup I load mbm? I not change loading of mbm for 3rd, Now I work on this Sad
Thanks
Silvia

mer, 2008-02-06 16:13
Joined: 2006-07-21
Forum posts: 165

When Installation of sis finish not appear message "installation complete", and application icon appear on menu of phone, but it have a strange icon and if I push on it, application don't do nothing, what is the problem?Sad
Thanks
Silvia

mer, 2008-02-06 16:22
Joined: 2006-10-12
Forum posts: 463

Maybe it has something to do with registration file. Do you have one written?

mer, 2008-02-06 16:54
Joined: 2006-07-21
Forum posts: 165

hem...what is it? Sad
How found it?

You tell of this?


#include "app.hrh"
#include <appinfo.rh>
#include <app.rsg>

UID2 KUidAppRegistrationResourceFile
UID3 _UID3

RESOURCE APP_REGISTRATION_INFO
  {
  app_file="app";
  localisable_resource_file =  "\\resource\\apps\\app";
  localisable_resource_id = R_LOCALISABLE_APP_INFO;

  embeddability=KAppNotEmbeddable;
  newfile=KAppDoesNotSupportNewFile;
  }

mer, 2008-02-06 17:31
Joined: 2006-10-12
Forum posts: 463

Yes I meant the same. Like suggested in your other post, the next check could be the UIDs

mer, 2008-02-06 17:35
Joined: 2006-07-21
Forum posts: 165

Ok, now message "installetion complete" appear, but icon is strange (I insert .mif Sad ) and application don't start, It do nothing Sad
Many many thanks
Silvia

jeu, 2008-02-07 09:53
Joined: 2006-07-21
Forum posts: 165

Hi,
I generate uid code in symbiansigned;
I copy/paste this in my application, in particular:
app.mmp (UID and SECUREID), app.pkg and app.h, but application not open, i don't undestand why Sad

jeu, 2008-02-07 10:32
Joined: 2006-10-12
Forum posts: 463

Am not sure, but a suggestion is you havent mentioned changing it in the registration file. So maybe that you could check too

jeu, 2008-02-07 10:35
Joined: 2006-07-21
Forum posts: 165

Yes, of couse, I modify also this Sad


copyright 2003-2009 NewLC SARL