About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like
Today I needed to package an application that uses the Borland Database Engine (BDE).
The BDE is a database engine/connectivity component commonly used in Delphi and C++ Builder applications. It has been deprecated since 2000 when it was replaced by dbExpress.
But it’s still widely used so you may still find applications that require the BDE.
In my environment I already have a package for the BDE itsself. But the application I needed to package today, needs to have an Alias addded.
This is usually done manually by going into the BDEADMIN control panel applet or by copying the file where BDE saves the aliases (IDAPI32.CFG).
Here is a screenshot of the Alias my application needs (it uses an Interbase database):
I didn’t like the copy approach and didn’t even consider the manual option so I wrote 2 little tools.
The first tool can export an Alias to a config file. First it will read all current Aliases and displays them in a list:
As you can see it doesn’t have a fancy GUI but it does exactly what it needs to do.
Creating the Config file is very simple, just select the desired Alias and press the Save button:
and save the Alias to a configuration file.
The configuration file is a simple, ini like, text file which in my example has the following lines:
SCHEMA CACHE SIZE=8
SQLPASSTHRU MODE=SHARED AUTOCOMMIT
SCHEMA CACHE TIME=-1
ENABLE SCHEMA CACHE=FALSE
SCHEMA CACHE DIR=
BLOBS TO CACHE=64
Now we can import this configuration file into another machine using the second tool.
This tool requires 3 parameters: the Alias name, the Driver name and that path to the Config file.
In my example:
So in my package I just include the AddAlias tool and the SOCR.cfg file and call it.
.NET .NET FrameWork Active Directory Altiris Apple Automation Manager Citrix Dell Delphi Excel Exchange Exchange2003 Exchange2010 Hack HP iOS Java LinkedIn Linux Lync MSI Office Office 2010 Passat Password PowerPoint PowerShell RES RNS510 SasLibEx SCOM Security Terminal Server ThinApp TSAdminEx VBS VCDS Visual Basic Visual Studio VMWare Volkswagen VW Windows PE Wordpress XenApp