×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    May 2007
    Posts
    65

    Question Uninstall extra SIS files at uninstall time

    Hi,

    I have an application which during the normal course of operations will download and install extra "extension" components as SIS files. When I uninstall my application, I want the application and all the extensions to go. The extension SIS files have a dependency on the main application in their pkg files.

    I have an exe which will remove all the extensions, which I run at the start of the uninstallation using the filerun and runremove options. Unfortunately this doesn't do the trick, because I believe the installer system gives an "in use" error because it is in the middle of uninstalling the main application.

    Is there any way to achieve what I am after?


    Thanks,

  2. #2
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Bangalore
    Posts
    91

    Re: Uninstall extra SIS files at uninstall time

    Cheers
    Subhasis

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

    Re: Uninstall extra SIS files at uninstall time

    You should'nt be using it like that.

    The dependency options should remove the dependant sis files.

    It also depends on how you have defined the extra sis files. Have you defined them as being an update to the existing sis file or an upgrade to the sis file?

    As it currently stands the dependancy option is broken in 3rd edition devices. I beleive it is fixed or being fixed in FP1 devices.

  4. #4
    Regular Contributor
    Join Date
    May 2007
    Posts
    65

    Re: Uninstall extra SIS files at uninstall time

    Thanks for the replies. The standard Symbian OS dependency options don't help at all, because they don't work in this scenario:

    I manually install one SIS - my core SIS.

    This program downloads and installs several other extension SIS files. These do not replace, update or upgrade the core SIS, they depend on it - i.e. they use APIs it provides.

    When I uninstall my core SIS, I want to remove the extensions.

    As I understand it, the Symbian OS SIS dependency feature only works the other way round - that when the last extension is removed, it should remove the core.

    As an analogy, imagine I had written a media player (media.sis), which played mp3 files. When I attempt to play an Ogg file, the player connects to the internet and downloads ogg.sis and installs it. Later, I attempt to play a Wmv file, and it installs Wmv.sis. When I uninstall my media player, I want to uninstall ogg.sis and wmv.sis. How do I do that?

    Cheers

    Rob

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

    Re: Uninstall extra SIS files at uninstall time

    Have you read the following? I thjink the SP option is the one you want.

    http://developer.uiq.com/devlib/uiq_...dingRules.html

  6. #6
    Regular Contributor
    Join Date
    May 2007
    Posts
    65

    Smile Re: Uninstall extra SIS files at uninstall time

    Ah fantastic stuff! No, I'd never seen those before. I think you're right - the SP package type looks like exactly the right thing.

    Thanks very much,

Similar Threads

  1. Uninstall Passive Content sis??
    By AbuElElla in forum Symbian
    Replies: 2
    Last Post: 2007-08-23, 07:44
  2. Embedding SIS Data At Delivery Time
    By ben.wilson in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-05-22, 19:17
  3. Replies: 0
    Last Post: 2006-02-08, 19:40
  4. Replies: 2
    Last Post: 2005-08-05, 07:09
  5. Large sis files
    By nikohaatainen in forum Symbian
    Replies: 1
    Last Post: 2002-09-22, 14:30

Posting Permissions

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