update for a database app

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

update for a database app

Postby sorin » Thu Feb 08, 2007 10:23 am

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:

Postby MichaelNesmith » Thu Feb 08, 2007 1:36 pm

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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

sorin
Posts: 8
Joined: Thu Feb 01, 2007 9:22 am

Postby sorin » Thu Feb 08, 2007 2:06 pm

>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: 207
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Postby Tinus » Mon Feb 12, 2007 8:40 am

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
InstallAware MVP

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware

sorin
Posts: 8
Joined: Thu Feb 01, 2007 9:22 am

Postby sorin » Mon Feb 12, 2007 10:41 am

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:


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 110 guests