Page 1 of 1

BDE requirements

Posted: Tue Nov 29, 2005 9:32 am
by Orionizer
Is there a plugin available or a scripting method available to do the following:

1. Determine if the Borland BDE is installed and determine the version
2. If it is not detected, install BDE

Thanks!

Posted: Tue Nov 29, 2005 6:29 pm
by sinan
Sorry, none at this time. You can merge the BDE merge modules with your project though - that should take care of installing BDE when its missing.

Posted: Tue Nov 29, 2005 6:32 pm
by Orionizer
sinan wrote:Sorry, none at this time. You can merge the BDE merge modules with your project though - that should take care of installing BDE when its missing.


Thanks for the reply! Do you have an example of how to do this? Also, is this something that is planned for a future release?

Posted: Tue Nov 29, 2005 6:35 pm
by sinan
Sorry, no samples...I apologize. Just find the BDE merge modules in your Borland product folders, add them to your project.

Because BDE is by now a retired legacy technology, we will not be developing new plug-ins to support it - although other users of InstallAware might be able to do so using our open plug-in architecture.

Posted: Tue Nov 29, 2005 6:38 pm
by Orionizer
Thanks Sinan...

Yes, I know it's OLD and RETIRED and I plan on moving every project I have to DBISAM eventually. I just haven't had the time, but guess I'll have to make it... :wink:

Re: BDE requirements

Posted: Mon Dec 19, 2005 8:03 am
by Frede
Orionizer wrote:Is there a plugin available or a scripting method available to do the following:

1. Determine if the Borland BDE is installed and determine the version
2. If it is not detected, install BDE


1a. Determine if BDE is installed:
function BDEInstalled: boolean;
//Check if BDE is installed by trying to init the BDE
begin
result := (dbiInit(nil) = 0);
if result then
dbiExit;
end;


1b. Determine the version:
See http://www.delphifaq.com/faq/delphi/database/f72.shtml

2. Install BDE
You can find the latest BDE merge modules here:
http://info.borland.com/devsupport/bde/bdeupdate.html

The examples are in Delphi. I have it in an MSI dll. Let me know if you need the source and I get send it to you.

/Fredrik

Posted: Mon Dec 19, 2005 8:09 am
by Orionizer
Thanks Frede!