Page 1 of 1

update for a database app

Posted: Thu Feb 08, 2007 10:23 am
by sorin
Hi,

I have IA Developer and I created a Install Kit single compressed file for a database app.
Now, I modified the app (no database file is affected) and I want to create a new kit that is able to update the app but leave the database file unaffected (the database is a directory with many files - something like an foxpro or paradox app).

Is posible that?

Posted: Thu Feb 08, 2007 1:36 pm
by MichaelNesmith
I think you want to mark the files as permanent in your original install (and manually delete them using Delete Files Recursive after an Apply Uninstall - this way they will be removed only when doing a manual uninstall but never during an auto-upgrade new install scenario).

If that is not possible any longer, I would build a patch for the original install, after taking out the references to the database files in the latest setup project.

Posted: Thu Feb 08, 2007 2:06 pm
by sorin
>I think you want to mark the files as permanent in your original install
>(and manually delete them using Delete Files Recursive after an Apply
>Uninstall - this way they will be removed only when doing a manual
>uninstall but never during an auto-upgrade new install scenario).

:D i.e. my database files will be never affected by a new version?
Great. How can do this?

I searched in the help/contents and I found nothing about "mark the files as permanent"

Posted: Mon Feb 12, 2007 8:40 am
by Tinus
i.e. my database files will be never affected by a new version?
Great. How can do this?

Switch to visual view, double click the "Install Files" command. At the bottom are the Copy Options.

Another approach (if your application is already in use):
Rename the database directory before you do an auto-upgrade. Then rename back. This should be done in the

Code: Select all

[DEFINE REGION: Install Application Pre-Requisites]

region before and after

Code: Select all

      Install/Remove MSI Package $OLDPRODCODE$[REMOVE=ALL] (get result into variable REMOVEOLD)

Posted: Mon Feb 12, 2007 10:41 am
by sorin
Tinus wrote:
Switch to visual view, double click the "Install Files" command. At the bottom are the Copy Options.

Another approach (if your application is already in use):
Rename the database directory before you do an auto-upgrade. Then rename back. This should be done in the

Code: Select all

[DEFINE REGION: Install Application Pre-Requisites]

region before and after

Code: Select all

      Install/Remove MSI Package $OLDPRODCODE$[REMOVE=ALL] (get result into variable REMOVEOLD)


I'm beginer with IA and I not understood your advice :(
how i can rename the database directory
Please give me an example and, if is posible, tell me where I can foun a manual about scripting :idea: