Now sis file unable to install?

Login to reply to this topic.
Thu, 2008-06-26 14:28
Joined: 2008-03-06
Forum posts: 7

What could be the reasons why my application’s Sis file won’t install based on the behaviour explained below? Any help please?
The problem started after I added capabilites to the mmp file.

Problem description:
---------------------------
I mentioned my application-Sis does not install on any phone. If I do either of the following 2 actions and make a new Sis file, it does install (but I lose some features).

Action A:
If I remove all capabilities it installs and runs fine. However I can’t access functionality that requires capabilities. e.g. reading the SMS inbox.

Action B:
If I remove (comment out) the auto-start resource from the package file the application installs and runs fines. In this case the application has all its functionality (and capabilities) but don’t start with bootup time.

Background detail:
------------------------
Capabilities: NetworkServices, LocalServices, ReadUserData, WriteUserData, UserEnvironment, ReadDeviceData, WriteDeviceData

What I need capabilities for: Read the SMS inbox, Send an SMS, and make socket connections with remote servers.

UID: in the 0x2xxx range (requested from Symbian)

Signed: Dev Signed

Environment: Carbide 1.3 on Nokia 3rd Edition + phones.


Thu, 2008-06-26 16:02
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 1902
Re: Now sis file unable to install?

Have you checked that your reg file for the startup list is named correctly ?


Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Fri, 2008-06-27 09:38
Joined: 2005-04-13
Forum posts: 120
Re: Now sis file unable to install?

Action B: Can you try introducing some time delay (e.g. 5 Secs) once your process starts.


Jupitar

Fri, 2008-06-27 14:01
Joined: 2008-03-06
Forum posts: 7
Re: Now sis file unable to install?

Thanks for the feedback. It is really appreciated.

I am sorry, I was wrong about Action B and that it solves the "Unable to Install sis file" problem". It does not. I came to that incorrect conclusion because I through that if I modify the MMP and PKG files, and do a "Build Project", that my changes will have taken affect. It doesn't. If I however, do a "Clean Project" and then "Build Project" I see it sill still failes.

Thus, only when I remove all the capabilities (from the MMP file) does it install (Action A). When I install the Sis file (with capabilities NetworkServices, LocalServices, ReadUserData, WriteUserData, UserEnvironment, ReadDeviceData, WriteDeviceData ) it rungs to the end of the progress bar and then reports "Unable to install".

My project does not compile in the "emulator" mode so I can't use the "Epocwind.out" to find the required capabilities.

Fri, 2008-06-27 15:11
Joined: 2008-03-06
Forum posts: 7
Re: Now sis file unable to install?

Problem resolved.

My sis file containts 1 main GUI EXE, 2 console EXEs, and 1 DLL. After assigning the same set of capabilities to each of the mmp files, for each of the binary files the Install worked. Even if the capability was not used by the console and DLL files.

Smiling

  • Login to reply to this topic.