update for a database app

Got a problem you cannot solve? Try here.
Post Reply
sorin
Posts: 8
Joined: Thu Feb 01, 2007 9:22 am

update for a database app

Post 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?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post 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.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
sorin
Posts: 8
Joined: Thu Feb 01, 2007 9:22 am

Post 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"
Tinus
Posts: 209
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Post 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)
Martin Rothschink

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware
sorin
Posts: 8
Joined: Thu Feb 01, 2007 9:22 am

Post 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:
Post Reply