×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    62

    [moved] Executing an .exe after uninstall with FR,RR options

    Hi there,

    I am embedding an .sis file in my project that i want to run when the base program gets uninstalled.
    Ive read a lot of articles on the FR and RR options but to me its not exactly clear.

    pls tell me what i am doing wrong?

    Here is what i do so far.

    In the base .pkg file i embed the other .sis file.

    @"testing_S60_3_X_v_1_0_0.sis",(0xE7EE4623)

    Then i call these options

    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\myapp.exe" -"!:\sys\bin\myapp.exe",FR,RI

    Then in the embedded programs .pkg file i add

    "$(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\testing.exe" -"!:\sys\bin\testing.exe ,RR

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Re: Executing an .exe after uninstall with FR,RR options

    R* option will go along with FR.

    Code:
    "$(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\testing.exe"             -"!:\sys\bin\testing.exe ,FR,RR
    Nokia Developer Wiki Moderation team

  3. #3
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: Executing an .exe after uninstall with FR,RR options

    hi,

    to be precise
    check your sdk help..
    Symbian OS v9.2 » Symbian OS Tools And Utilities » Software Installation Toolkit - reference » Package file format » package-body » install-file » Installing language independent files

    run-options (which can be used after FR or FM has been specified) can be any of the following:

    Name Abbreviation Description
    RUNINSTALL
    RI Run on install

    RUNREMOVE
    RR Run on uninstall

    RUNBOTH
    RB Run on both install and uninstall
    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  4. #4
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Re: Executing an .exe after uninstall with FR,RR options

    By the way, when the parent sis will be unistalled then the Embedded sis will be uninstalled as well. You don't need to embedd sis for this case. Just a normal entry will be enough. Remove embedding sis lines from your .pkg and see my previous reply.
    Nokia Developer Wiki Moderation team

  5. #5
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    62

    Re: Executing an .exe after uninstall with FR,RR options

    Hi kiran10182,

    Thanks for your reply, but i think i didn't make myself clear. Sorry for that.

    I wish to run the testing.exe when i uninstall myapp.exe.

    testing.exe is the sis i have embedded in myapp.

    How would i do that, my guess is putting this line in the myapp.pkg file

    "$(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\testing.exe" -"!:\sys\bin\testing.exe" ,RR

  6. #6
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Re: Executing an .exe after uninstall with FR,RR options

    You can supply entries for myapp.exe and testing.exe and in one single .pkg file. So you don't need embedded sis file here as far as I understood your problem. Remove embedded sis file lines from your .pkg file and use FR,RR together. Something like below:

    Code:
    Contents of myapp.pkg
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\myapp.exe" -"!:\sys\bin\myapp.exe",FR,RI
    
    "$(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\testing.exe" -"!:\sys\bin\testing.exe ,FR,RR
    Nokia Developer Wiki Moderation team

  7. #7
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    62

    Thumbs up Re: Executing an .exe after uninstall with FR,RR options

    Thanks Kiran,

    You are a great help, sometimes things can be so easy when there someone to point you in the right way! :-)

    This solved it for me and also answered some other question marks for me in the future!

    Code:
    "$(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\testing.exe"             -"!:\sys\bin\testing.exe",FR,RR

Similar Threads

  1. [moved] Uninstall files
    By shahidur.rahman in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 6
    Last Post: 2009-08-12, 09:30
  2. [moved] Unchecked options defined in PKG file
    By elviin in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 3
    Last Post: 2009-07-14, 08:33
  3. [moved] .exe not found
    By zlmay007 in forum Feedback - Nokia Developer Services & Infrastructure
    Replies: 3
    Last Post: 2009-03-23, 08:52
  4. Executing .exe from a programme Yes or No ?
    By belikethat in forum Mobile Java General
    Replies: 2
    Last Post: 2009-01-24, 14:42
  5. [Moved] Not Showing Access points options in E61i while creating a connection
    By Changeme123 in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2008-10-03, 06:18

Posting Permissions

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