Board index » delphi » Install Shield - BDE Install Question

Install Shield - BDE Install Question

How do I set the Local Share to True during an Install?

Thanks,
--
Michael Akin

 

Re:Install Shield - BDE Install Question


You cannot using InstallShield Express.  InstallShield Express does not
provide very good BDE support. You can write a separate Delphi app that sets
Local Share for users to run after the install. If you are looking for a
better installation program Wise Installation System supports setting all
BDE config file parameters as part of the install.

--
Bill Todd
(Sorry but TeamB cannot answer questions received via email)
(Remove nospam from my email address to contact me for any other reason)

Re:Install Shield - BDE Install Question


Quote
>How do I set the Local Share to True during an Install?

In the InstallShield Redist directory there is an Idapi32.cnf file
This file is used as a template for setting up the BDE config.
You can edit it with the bdeAdmin.exe utility if you specify the full file and
path name.

--
Brian Bushay (TeamB)
Bbus...@DataGuidance.com

Re:Install Shield - BDE Install Question


On Thu, 24 Sep 1998 18:04:00 -0700, "Bill Todd (TeamB)"

Quote
<bill_todd.nos...@compuserve.com> wrote:
>You cannot using InstallShield Express.  InstallShield Express does not
>provide very good BDE support. You can write a separate Delphi app that sets

*erm* Bill, this is a gross misrepresentation of fact. Express CAN set
LOCAL SHARE to TRUE.

Either you modify the registry key directly, or you modify the IDAPI.CNF or
IDAPI32.CNF file (whichever one you have) in the Express\Redist (or
Redist\BDE4.51 or Redist\BDE5.0, depending on which BDE and which version
of Express you use) directory.

You may want to use the registry because it is easier, and specific to your
application (you don't want to have LOCAL SHARE as TRUE for every
application you install).

Stefan
InstallShield Software Corp.

Re:Install Shield - BDE Install Question


Quote
>Either you modify the registry key directly, or you modify the IDAPI.CNF or
>IDAPI32.CNF file (whichever one you have) in the Express\Redist (or
>Redist\BDE4.51 or Redist\BDE5.0, depending on which BDE and which version
>of Express you use) directory.

If I change the registry by setting it up in ISXpress, what order would it
change the key?  Before the BDE install and all the Keys are loaded, or
After the BDE Install?

Thanks,
Mike

Re:Install Shield - BDE Install Question


On Fri, 25 Sep 1998 11:07:48 -0500, "Mike Akin" <a...@theshop.netNOSPAM>
wrote:

Quote
>If I change the registry by setting it up in ISXpress, what order would it
>change the key?  Before the BDE install and all the Keys are loaded, or
>After the BDE Install?

After the BDE is installed and configured. You can set the registry key not
to be uninstalled (this is the default). This is recommended, because you
don't want to uninstall a key/value that is critical to the BDE.

Stefan
InstallShield Software Corp.

Re:Install Shield - BDE Install Question


Sorry to disagree, however, changing the registry entry directly is not
safe.  The BDE maintains the settings in both the registry and the BDE
configuration file if you select the Win 3.1 compatibility option. You must
use this option if you want to use a single configuration file for all users
on a network.  Many, if not most, users do this for ease of administration.
The only Inprise approved and safe way to change settings in the BDE config
file is with the BDE API function DbiOpenCfgInfoList.

Setting Local Share in the IDAPI.CNF file does not work either. If the BDE
has never been installed on the system then setting Local Share to True will
work. However, if the BDE is already installed and if Local Share is set to
False in the existing configuration file the setting in IDAPI.CNF will be
ignored. Once again, the only way to ensure that the setting gets changed is
to use DbiOpenCfgInfoList as Wise does. There is no way to do this with
InstallShield Express.

Note also that InstallShield Express only supports one of the four possible
BDE installation configurations Wise supports all four.

1. BDE and config file on each PC. (IS Express does this.)
2. BDE on each PC, config file on the file server.
3. BDE and config file on the file server.
4. BDE on the file server, config file on each PC.

--
Bill Todd
(Sorry but TeamB cannot answer questions received via email)
(Remove nospam from my email address to contact me for any other reason)

Other Threads