A newer app with completely overwrite the older app provided they have the
same PRC file name.  Thus there is no need to delete an older version of
your app.  Data is a different matter.  If you need to delete an older DB in
lieu of a newer format, just installing the new file (again, as long as it
has the same name as the original PDB file) will overwrite the old one.  If
you have a different PDB data file that will not over write the old one,
then have your app look for and delete the older PDB every time it starts
up.  (or you can be slick and have your app respond to the post-hotsync or
reset message and delete your older data file only during that time)

If you are using some 'custom' serial app to receive the new file (not
hotsync), pass the new file through the exchange manager (as if you were
beaming the file).  This will enforce the same rules as if you had performed
a hotsync and installed the file that way.

----- Original Message -----
From: "M. Paramasivan " <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, July 25, 2003 12:20 AM
Subject: Install application


> Hi,
>
> I want to delete the existing version of the application and
> install a new version of the application programmatically from an
> application in a PC(Windows) through serial or socket or cradle
> communication.
>
> My application in the PC would check the version number of the
> Palm, application. If the version number is old then it need to
> delete the older version application and install the newer version
>  from the PC application itself programmatically.
>
> Regards,
> Paramasivan
> ___________________________________________________
> Download the hottest & happening ringtones here!
> OR SMS: Top tone to 7333
> Click here now:
> http://sms.rediff.com/cgi-bin/ringtone/ringhome.pl
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to