Monday, September 7, 2009

DevExpress Components : Installing D5 & D7 (or later) on the same PC

Issue :

The DevExpress Team announced in 2007 that wef from v28, the Delphi IDE will no longer be supported.

Of course, you can continue using Build 27, however, DevExpress cannot guarantee that this will be able to apply code fixes designed for newer builds of our components to the libraries from this build. From DevExpress point of view, it is best to migrate to a newer version of Delphi if you wish to use the latest versions of their components.

The Solution

Although you can't use the latest  DevExpress setup for this purpose, you can do the following to have both versions installed:-

1. Install v27 under the required IDE. Backup all the binary (and other necessary files). It's easy, since our setup copies files only under the product's root folder.

2. Install latest version #46 as at 7th Sept 2009

3. Restore backed up file to a folder, and install the required components from v27 manually, by registering packages via the IDE.

3 comments:

carlmon said...

I am experiencing a problem after following your steps...

My v27 is installed to "C:\Components\Developer Express.VCL" and v46 to "C:\Components\Developer Express Latest".

Delphi 2010 works when the DXVCL environment variable points to the v46 build, but Delphi 5 complains about the BCLs. Pointing to the v27 build fixes D5 and breaks D2010. Is there a clean way around this? (I am going to try a batch file to set the env variable before starting Delphi, but this is a pain.)

carlmon said...

Update: Fixed the problem by adding both paths to the PATH env variable. In my case these were:
C:\Components\Developer Express.VCL\Library\Delphi5
C:\Components\Developer Express Latest\Library\Delphi14

Chee Chong Hwa, CA(M), CPA said...

Hi Carlmon

Take a look at theis newer article
http://delphi3x.blogspot.com/2009/10/how-to-manually-install-developers.html

CCH

Welcome to Delphi... Delphi... Delphi

I have been a Delphi Developer since Delphi 3 when I finally decided on Delphi in 1996 as my programming language of choice for the Windows 32 environment. So what have I created with Delphi ?

Would you believe that I had single-handedly created a full ERP2 system comprising ERP+CRM where ERP=Sales Distribution+MRP+ Procurement Management+Planning & Production +Finacial Management + Human Resources Management System.

Since 15th February 2009, we have visitors from more than 60 countries including Malaysia, United States, Brazil, Italy, Australia, India, Turkey, Russian Federation, Spain, Indonesia, Hungary, South Africa, Germany, Mexico, Argentina, Singapore, Saudi Arabia, Colombia, Czech Republic, Canada, France, Croatia,Thailand, Bulgaria, Slovenia, Hong Kong, Poland, Sri Lanka, Chile, Japan, Austria, Ukraine, Azerbaijan, Ireland, Tunisia, Greece, Taiwan, Egypt, Bolivia, Paraguay, Iran, Islamic Republic , Morocco, Angola, Belgium, Portugal, Norway, Venezuela, United Arab Emirates, Algeria, Korea, Republic Of, Slovakia, Georgia, Lebanon, Macedonia, Sweden, Philippines, Vietnam, Dominican Republic