×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    27

    About multi-SIS(each has the same embedded SIS ) uninstalled

    I has developed a SIS to be embedded by multi SISes in symbian 9.1 .

    But when a user uninstalled one of them , the embedded SIS is uninstalled completely.And other SISes are not able to work properly.Please tell me why?

    thank a lot!@

  2. #2
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: About multi-SIS(each has the same embedded SIS ) uninstalled

    Hi,

    I too have faced similar problems in the past.

    Now I have found a way... (I am not sure if this really is the best way, but it works for me)
    Instead embedding the sis, you put the sis file in the /private directory of the app.
    Create a simple exe to launch this file with the installer to install.
    This way this component sis will be installed, but not-uninstalled on uninstall of the main app.

    Also, one more thing, how to launch the installer :

    Code:
        TFileName installFile;
        installFile.Append( KSisFile );
    
        RFs fs;
        User::LeaveIfError( fs.Connect() );
        CleanupClosePushL( fs );
    
        if( BaflUtils::FileExists( fs, installFile ) )
            {
            RApaLsSession apaSession;
    
            TThreadId threadId;
    
            User::LeaveIfError( apaSession.Connect() );
            User::LeaveIfError( apaSession.StartDocument( installFile, threadId ) );
            apaSession.Close();
            }
    
        CleanupStack::PopAndDestroy( &fs );
    and finally put this exe to run on installation of the app (FR option)
    Amit Kankani
    Nokia Developer Champion

  3. #3
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: About multi-SIS(each has the same embedded SIS ) uninstalled

    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  4. #4
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: About multi-SIS(each has the same embedded SIS ) uninstalled

    hi Paul,

    thanks for the links...

    so i guess my solution seems to be the better lot, with only one problem !

    that once you have uninstalled all of your applications installing the sis file, the shared sis still remains on the phone !!!

    I am not sure how to solve this....
    Amit Kankani
    Nokia Developer Champion

  5. #5
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: About multi-SIS(each has the same embedded SIS ) uninstalled

    When going to Symbian signed just apply for a waiver citing those two known issues.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  6. #6
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: About multi-SIS(each has the same embedded SIS ) uninstalled

    that sounds fine.

    hey zengjianguang :

    i have another suggestion to make, in case the shared dll is used only within your apps and not given to any third party, then you can as well include the sources directly into your app thereby avoiding all these problems. However the 2 major disadvantage with this is:

    1. your shared dll logic and its binary space will be used as many times as the number of applications...
    2. you cannot give this dll to 3rd party apps
    Amit Kankani
    Nokia Developer Champion

  7. #7
    Registered User
    Join Date
    Dec 2007
    Posts
    27

    Re: About multi-SIS(each has the same embedded SIS ) uninstalled

    Thank you very much!

Similar Threads

  1. Replies: 0
    Last Post: 2008-02-14, 10:27
  2. Embedded sis uninstalled
    By nadav70 in forum Symbian C++
    Replies: 2
    Last Post: 2008-01-29, 19:13
  3. Replies: 6
    Last Post: 2007-03-01, 18:15
  4. Replies: 0
    Last Post: 2006-03-16, 16:50
  5. Embedded SIS & App.Manager's "View Details"
    By vtatti in forum Symbian C++
    Replies: 1
    Last Post: 2004-09-30, 15:01

Posting Permissions

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