RE: Installing/Deleting PRC

2002-03-26 Thread Danny Epstein
> One way to do it would be to have your app delete each database > with DmDeleteDatabase() the first time it runs. Store a flag in your > app preferences so your app knows not to delete them the second time it > runs. Except installing the new prc (overwriting the old one) won't delete the app

Re: Installing/Deleting PRC

2002-03-26 Thread Joe
--- Venugopal B <[EMAIL PROTECTED]> wrote: > Maybe I have not made myself clear. We would like to > delete the associated databases whenever the user > installs the new version. We use the same creator ID > for our PRC.After every new install the PRC is getting > updated with the version info, any

RE: Installing/Deleting PRC

2002-03-26 Thread Danny Epstein
> We would like to > delete the associated databases whenever the user > installs the new version. When your new version gets a sysAppLaunchCmdSyncNotify, have it check the version of the existing databases and delete old ones. Make sure your app sets the version of all databases it creates. This

Re: Installing/Deleting PRC

2002-03-26 Thread Venugopal B
Hi, Maybe I have not made myself clear. We would like to delete the associated databases whenever the user installs the new version. We use the same creator ID for our PRC.After every new install the PRC is getting updated with the version info, any other resource changes.But the associated recor

Re: Installing/Deleting PRC

2002-03-26 Thread Dave Carrigan
Venugopal B <[EMAIL PROTECTED]> writes: > We have a Palm application, a conduit and a PC > application.Every time we install a new version of our > software the user has to manually delete the old > version of the PRC from the Palm and then reinstall > the latest PRC that comes along with the sof

RE: Installing/Deleting PRC

2002-03-26 Thread Danny Epstein
> Just give the new version of the app the same creator code and > a higher version number. Exactly. Note that the _version number_ Heather's talking about is the one in the database header. If you're using CodeWarrior, this is specified in the PalmRez Post Linker target settings panel, just belo

RE: Installing/Deleting PRC

2002-03-26 Thread Heather Tufts
> We have a Palm application, a conduit and a PC > application.Every time we install a new version of our > software the user has to manually delete the old > version of the PRC from the Palm and then reinstall > the latest PRC that comes along with the software. > Currently we are working on an U

Installing/Deleting PRC

2002-03-26 Thread Venugopal B
Hi All, I am a newbie to Palm Programming.I will appreciate if any of you guys can answer my question. We have a Palm application, a conduit and a PC application.Every time we install a new version of our software the user has to manually delete the old version of the PRC from the Palm and then