newsgroups-index (beta)

Current group: dbase.deployment

BDE after deployment

BDE after deployment  
Larry Hakel
 Re: BDE after deployment  
Jonny Kwekkeboom
 Re: BDE after deployment  
Jonny Kwekkeboom
From:Larry Hakel
Subject:BDE after deployment
Date:Sun, 28 Nov 2004 14:37:20 -0500
Several users after downloading my application have received an
Database Engine Error: Table does not exist. It turns out that they
are installing the application to a different folder than my default
folder. The problem is that I have directed the BDE to look at my
default folder and in it a folder 'tables'..


In my start.prg I have the following:
d = new Database()
d.databaseName = "MEM_DIR"
d.active = true
_app.databases.add(d)

This is looking for the MEM_DIR database in the default location.

Is there a way to (1) either force the user to install at the default
location or (2) to change my start.prg to determine their location and
then change the BDE path?

Larry
From:Jonny Kwekkeboom
Subject:Re: BDE after deployment
Date:Sun, 28 Nov 2004 21:03:34 +0100
> Is there a way to (1) either force the user to install at the default
> location
---
Perhaps user have already installed the BDE so the same folder will be get
in RuntimeEngine by dbase!

or (2) to change my start.prg to determine their location and
> then change the BDE path?
----
You cant change the BDE path ! So other software will not run than....
and it cant be uninstalling the BDE....
only if shared counter= 0 then it will be done with the last installing app
of needed BDE
......

cu
Jonny
From:Jonny Kwekkeboom
Subject:Re: BDE after deployment
Date:Sun, 28 Nov 2004 19:58:10 +0100
Hi,

if you write the Alias correct inside Installing your app
the user user can copied where it will and it works,

If you creating with INNO Setup
Set the Addalias always after the Runtime calling!
Or do a RuntimeEngine "before" install... and then it will be at first
installed
and all works too...

cu
Jonny
   

Copyright © 2006 newsgroups-index   -   All rights reserved   -   Impressum