×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Aug 2012
    Posts
    15

    upgrading my app

    Hi
    I made an app a year ago, now i have a newer version, The app usually creates some settings storage file runtime in its private directory during its first run. so when I intsall the newer version over the oldversion it usually asks me whether to uninstall oldversion. and wit removes old and puts the new version , So my question here is will it remove the old settings files created by the old version!?
    -S

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

    Re: upgrading my app

    You could check that very easily by testing it on any device really, so why wouldn't you just try it out ?

    Basically if the re-installation is to other drive, or if the pkg file has anything for the file, then the file will be replaces/deleted.

  3. #3
    Registered User
    Join Date
    Aug 2012
    Posts
    15

    Re: upgrading my app

    Of course i did try myself before asking , it gave me some unexpected results, so just thought of asking whether the upgrade flushes the private directory

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

    Re: upgrading my app

    What kind of results ? , basically its often better if you could provide more information on the things you have tried sofar. As said if you have some things defined in your pkg file, which would make the re-installation to remove or replace the files, that would definetely happen, also if you change the drive the app is installed, then also files are removed.

    if you replace in same drive, i general they should be left there if the files are not handled by the pkg file in any ways, though have tested this only some years ago last time.

  5. #5
    Registered User
    Join Date
    Aug 2012
    Posts
    15

    Re: upgrading my app

    Does your Y file browser help to locate private files!.. I bought it for 2 eur but seems like it doesnot show private dir , or am i missing something?

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

    Re: upgrading my app

    in general there are no file managers which would show private folders, Symbian signed will not be giving AllFiles capability to the general file managers, thus according to that rule, it can not be made.

    Anyway, what is the behavior you are getting ?

    You could have simple BafUtil lines added for debugging whether the files are there on starting your app, and use Global notes to show the debugging information. that way you could get rather reliable information rather quickly.

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,740

    Re: upgrading my app

    For the behaviour of reinstallation and upgrade/patch packages, consider checking the documentation, topic upgrading rules. Direct link for the on-line version: http://library.developer.nokia.com/i...dingRules.html (you usually have to open library links twice in order to get to the 'real' page).

Similar Threads

  1. Upgrading an app
    By Utumno in forum [Closed] Publishing to Nokia Store
    Replies: 1
    Last Post: 2010-01-04, 09:27
  2. Upgrading N95 from S60 3.1 to S60 3.2 firmware?
    By Donald.Eaves in forum General Development Questions
    Replies: 2
    Last Post: 2009-01-29, 10:04
  3. Upgrading Symbian OS
    By it3.vaibhav in forum Mobile Java General
    Replies: 8
    Last Post: 2006-10-20, 07:25
  4. upgrading to midp 2.0
    By jackw432 in forum Mobile Java General
    Replies: 1
    Last Post: 2004-06-09, 11:49
  5. Upgrading from 2.01 to 2.1
    By arveb in forum WAP Servers
    Replies: 0
    Last Post: 2002-09-26, 09:52

Posting Permissions

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