×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    32

    Problems when bundling OpenC with my application

    Hello,

    I have been trying to release my package with OpenC bundled in it and encountered many issues.
    I would like to :

    a) Bundle the OpenC sis - did that with @"pips_s60_1_7_SS.sis",(0x20013851)
    b) Avoid removal of it by the user - I added dependencies, but I found out that the openC sis installs
    a number of sub-sis so I had to create dependencies to each sub-sis. (needed to use sis-explorer to
    find out their uids) - Is there a better way?

    my result was :
    ;(0x20013851), 1, 7, 5, {"PIPS Installer"}
    ;(0x20009A80), 1, 7, 5, {"PIPS"}
    ;(0x20009A7E), 1, 4, 0, {"PIPS Pipes"}
    ;(0x2002372A), 1, 7, 5, {"PIPS Signal Server"}

    c) After doing that I found out that I couldn't remove my application from the phone, I got an "removal failed"
    error when trying to remove and needed to manually uninstall all of the sub-sis files (through the application manager) in order to be able to remove the sis. This is of course unacceptable. What am I missing?

    d) Last question - how can I handle version issues? If someone would installer a newer OpenC version
    In the future on the phone - is there a way for me to remain with the old version (against which I tested)?

    Is there a way to avoid all of this and statically link with the OpenC dlls?

    thank you,
    dany

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,752

    Re: Problems when bundling OpenC with my application

    Unfortunately there is no easy and reliable way for current devices, packages can be uninstalled and/or downgraded. A wild hack is to deploy the installers with your application, and have a launcher application which check presence and version of the extra libraries (via loading them manually), install them if necessary, then launch the main application (which can be linked normally with the libraries, since this time the libraries are present). I think this approach would work, but I am not aware of an actual implementation for it.
    A thing which popped into my mind is that the c) might be caused by the dependency line.

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

    Re: Problems when bundling OpenC with my application

    I agree (c) is caused by that.

    BTW, on the N97 this makes the dependency unusable because the phone won't let me instll at all in this case.

Similar Threads

  1. OpenC FTP Client Example problems
    By steverino2 in forum Open C/C++
    Replies: 12
    Last Post: 2010-07-08, 14:16
  2. Problems when mixing STDLIB and OpenC++
    By Larsson73 in forum Open C/C++
    Replies: 5
    Last Post: 2009-09-17, 11:35
  3. Bundling python dll (3rd)
    By nokia_e70 in forum Symbian
    Replies: 2
    Last Post: 2008-04-10, 00:52
  4. [OpenC][resolv.h][dn_skipname] compile problems.
    By KyleMLee in forum Open C/C++
    Replies: 0
    Last Post: 2007-08-05, 12:01
  5. Bundling of Applications
    By ritam.banik in forum Series 40 & S60 Platform Feedback Archive
    Replies: 0
    Last Post: 2006-10-27, 07: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
  •  
×