×

Discussion Board

Results 1 to 14 of 14
  1. #1
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    56

    Unnecessary question when installing a SIS bundle

    My application is dependant on the camerawrapper from S60 Platform Camera Example v3.0, and hence I have embedded that SIS in my application's SIS like below
    Code:
    ;CameraWrapper
    IF NOT package(0x2001ec5f)
    ; install camerawrapper.sisx only if not already installed
    @"..\..\3rdPartyComponents\CameraWrapper\epoc32\InstallToDevice\CameraWrapper\sis\camerawrapper.sisx", (0x2001ec5f)
    ENDIF
    To avoid the camerawrapper being accidentally uninstalled I've added a dependency in the pkg-file
    Code:
    ;Dependencies
    ;Prevents other applications from uninstalling packages we depend upon
    ;Dispalys a warning message if a dependant SIS is uninstalled
    (0x2001ec5f), 1, 10, 0, {"CameraWrapper"}
    When installing my application I get a dialog saying "Component Camerawrapper is missing. Continue?"

    I think this query is rather unnecessary since the camerawrapper SIS is embedded in my application's SIS.

    Is there a way to prevent this query??

    Thanks!

    /Mathias

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Unnecessary question when installing a SIS bundle

    I suppose it is not there yet then, and the question is thus asked, the dependency I suppose it not supposed to be used like that, it is supposed to check for the actually required dependencies to be already in the device when installing this package.

  3. #3
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    56

    Re: Unnecessary question when installing a SIS bundle

    You are right, the camerawrapper is not installed yet. But it will be when my app is installed.

    Are you sure dependencies are supposed to give warnings for embedded SIS's?? That feels like a bug in the installer framework.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Unnecessary question when installing a SIS bundle

    I wouldn't really see it as a bug, I would see it a simply feature that the requirements specified in the sis, should indeed be already present in the device when the sis file is installed..

  5. #5
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    56

    Re: Unnecessary question when installing a SIS bundle

    Hrmm, OK

    So I have to choose between having a user friendly installation and to be warned when a dependant SIS is uninstlled?

  6. #6
    Registered User
    Join Date
    Jul 2007
    Posts
    111

    Re: Unnecessary question when installing a SIS bundle

    Quote Originally Posted by Larsson73 View Post
    Hrmm, OK

    So I have to choose between having a user friendly installation and to be warned when a dependant SIS is uninstlled?
    Hi, I have similar problem, could somebody give response for this question ?

  7. #7
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Unnecessary question when installing a SIS bundle

    What is the question really?

    An embedded SIS file will show that addition prompt. The only way to avoid it is not to have an embedded sis file in your installation.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  8. #8
    Registered User
    Join Date
    Jul 2010
    Posts
    32

    Re: Unnecessary question when installing a SIS bundle

    I would like to re-raise the question by Mathias.

    I'm developing a sis A that depends on another sis B. I need to do two things :
    1) Bundle B as an embedded sis inside A (so it will be installed with it)
    2) Make sure no one removes B by adding a dependency.

    This causes the user , when he installs A, to get a question regarding the fact the B is missing.
    Indeed, it is missing but will be installed in a second (because it is bundled in A). This question
    may confuse the user to think that there is a problem and B Indeed is missing.

    Is there any solution? Is this a known installer issue?

    Thanks,
    dany

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,748

    Re: Unnecessary question when installing a SIS bundle

    Embedding may already imply dependency, have you tried?
    Otherwise yes, explicit dependency says that the given component should be present prior to installing anything from your package.

  10. #10
    Registered User
    Join Date
    Jul 2010
    Posts
    32

    Re: Unnecessary question when installing a SIS bundle

    Hello,

    I doesn't - If you just embed , you don't get dependency (also verified in a nokia article I found).

    Another question, a harder one - I found out that when I try to uninstall my application, it will fail with "removal failed".
    If I remove the embedded sis before uninstalling, the uninstallation will succeed. WTF?

    dany

  11. #11
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,748

    Re: Unnecessary question when installing a SIS bundle

    Generally it works (I mean the uninstallation issue), so it may matter what particular package you are embedding. Is it some active component (some kind of server running all the time perhaps?)? For library-like components (like the camera stuff mentioned earlier in this thread, or the Open C/C++ libraries) uninstalling works for me.

  12. #12
    Registered User
    Join Date
    Jul 2010
    Posts
    32

    Re: Unnecessary question when installing a SIS bundle

    BTW, Things get even worse on N97 - It won't allow you to install if you have missing dependencies so can't use the dependencies at all with embedded SIS.

    This is a major Issue!!! Can any of you Nokia guys give us some help regarding it?

    dany

    About the thing you said wizrd_hu_ - did you embed the sis + create a dependecy?
    I know it works only with embedded sis. but when I add a dependency line to the embedded sis, things stop working.

    dany

  13. #13
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,748

    Re: Unnecessary question when installing a SIS bundle

    Quote Originally Posted by dancohen View Post
    About the thing you said wizrd_hu_ - did you embed the sis + create a dependecy?
    No.
    I know it works only with embedded sis.
    Yes
    but when I add a dependency line to the embedded sis, things stop working.
    Yes :-) In the meantime I wrote more or less the same into the other thread.

  14. #14
    Registered User
    Join Date
    Jul 2010
    Posts
    32

    Re: Unnecessary question when installing a SIS bundle

    Great

    So I'm dropping the issue but I'm really pissed off.
    The SW Installer is sooo buggy. how am I supposed to use it like that?!

    anyway, Thank you so much for your help.

    dany

Similar Threads

  1. how can i use emulator for installing my sis file
    By amit.mangal in forum Symbian
    Replies: 14
    Last Post: 2009-10-23, 12:20
  2. Bundle seperate application sis and data sis
    By ralle@envicon.de in forum [Closed] Publishing to Nokia Store
    Replies: 0
    Last Post: 2009-04-29, 15:10
  3. Creating and installing SIS on emulator
    By pbmau in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 2
    Last Post: 2007-07-02, 08:29
  4. Problem with Cabride.c++ v1.1
    By markovuksanovic in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2007-01-24, 20:05
  5. installing sis file via wap
    By pappago in forum Symbian
    Replies: 1
    Last Post: 2002-12-04, 11:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×