Installing multiple versions of the Raize Components

Have a Raize Components question that does not fit into any of the forums below? Post it here.

Installing multiple versions of the Raize Components

Postby Neville Cook » Tue Dec 10, 2013 10:15 pm

Is it possible to have multiple versions of the Raize Components installed, for the same version of Delphi, and to use different component versions for different projects?

If this is possible, how is it done please?

I case it matters, some explanation may be in order...

We have an old version of the Raize Components (4) in use in many existing applications that have all been fine tuned to work just as we want them, but now we are starting a major new project I would like to be able to use the newest version of the Raize components, without any fear of breaking anything in the UI of the existing projects.

We don't have time to re-test all the existing projects, so if we cant leave them using the old version of the Raize components, while the new project uses the newest version, then we will have to stick with the old version forever.

Several of the existing projects are still being actively maintained, so we also need to be able to switch from one project to another quickly and easily, with a reasonably low probability of accidentally compiling the wrong version of the Raise Components into any specific project.

I hope you have a solution for this, as I would love to be using the newer versions of the Raize components in the new projects.
Neville Cook
 
Posts: 4
Joined:
Sun May 29, 2011 11:13 pm

Re: Installing multiple versions of the Raize Components

Postby Raize Support » Wed Dec 11, 2013 2:29 am

Hi Neville,

Yes, it is possible to have multiple versions of Raize Components installed on a computer. This is why each version is installed into its own directory. For example, "C:\Program Files\Raize\RC4" and "C:\Program Files\Raize\RC6".

Delphi only allows one version of a component library to be installed into the IDE at a time. This is controlled by which design-time packages are loaded. For Raize Components, the design packages are located in the Raize\RCn\Bin directory. You can see which design package is loaded by selecting the "Component > Install Packages..." menu item. You can see by the name of the package which version is loaded. Select the package and you can see the full path to the bpl file.

Along with the package that is loaded, the Library Search Path needs to reference the correct version of Raize Components. That is, the directory that contains all of the DCU files for the components. The DCUs are contained in the appropriate Raize\RCn\Lib sub-directory. The key is that the Design package and the Library path need to be in sync for which version of Raize Components you are using.

However, with all of this said, there is another crucial factor that must be considered in your situation. That is, which versions of Delphi (and RAD Studio) are supported by which version of Raize Components. Specifically,

Raize Components 4 supported Delphi 5 through Delphi 2007.
Raize Components 5 supported Delphi 7 through Delphi XE.
Raize Components 6 supports Delphi 2009 through Delphi XE5.

So, given that you are using Raize Components 4 and looking at the list above, which version of Raize Components you will use will depend on which version of Delphi you are going to use. If you are going to stick with the version of Delphi that you are currently using, then you won't be able to use Raize Components 6 because it does not include support for the versions of Delphi supported by RC4. Likewise, if you will be building new projects using a newer version of Delphi, then you will need to use RC6 for the same reason.

So perhaps this will make things a little easier for you. Use RC4 and the older version of Delphi for your existing projects, and then use a newer version of Delphi and RC6 for your new projects.

Ray
Raize Software Support
Raize Software
http://www.raize.com
Raize Support
 
Posts: 613
Joined:
Fri Mar 25, 2011 9:04 pm

Re: Installing multiple versions of the Raize Components

Postby Neville Cook » Wed Dec 11, 2013 8:51 am

Thanks Ray.

That's a great summary.

Regards
Neville
Neville Cook
 
Posts: 4
Joined:
Sun May 29, 2011 11:13 pm


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron