• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 291
  • Last Modified:

Reinstalling Delphi components

Can anyone tell me if there is a simple way of "exporting" or "saving" all the Delphi components that have been installed over the years. I want to reinstall on a new machine and some were a complete pain to install and others I may not have the original installations for.

Many thanks.
0
ChrisJonesLycos
Asked:
ChrisJonesLycos
  • 2
  • 2
1 Solution
 
JohnjcesCommented:
The simplest way that I have found is to:

1). Copy all of your components and ensure that they are in the exact same folders and child folders as the originals.

2). Before uninstalling Delphi, if you were going to do that, export the Delphi registry keys as a .reg file.

3). After installing Delphi, updating etc. import the Reg file you exported.

4). Start up Delphi and all 'should' be just like it was before.

Worked very well for me several times.

Details:

From PC A go into the registry under HKLM\Software\Borland and export the whole Delphi KEY.
Do the same Under HKCU\Software\Borland

Then on the PC B first do a Backup of the whole registry!!!

Then simply copy to PC B the 2 exported .reg files and double click both of them. This will write into the registry the whole configuration that was in PC A.

John
0
 
ChrisJonesLycosAuthor Commented:
Thanks John. Just to check on a couple of things there before I go for it.

In point 1). you say copy the components. Do you mean the folders as listed when you look at the individual component from within Delphi? For example, "C:\Program Files\Developer Express.VCL\*.*" with its dozens of sub-folders.

Also, some of the components come with their own installs. I'm assuming these just update the registry for Delphi. Or is there a chance that they put all their own registry entries in as well?

Cheers, Chris
0
 
JohnjcesCommented:
Yes. Absolutely the source folders must match the destination folders since all that is stored in the registry. SO if one source was c:\D2009Comps with a bunch of subfolders, this must be copied verbatim to the new PC.

Installable components write their info under those sections of Delphi. Now there is a chance, especially on some specialty licensed components that they may write some info elsewhere in the registry. And such "could" preclude them loading depending upon how they wrtie the components/libraries. I have not run across that however.

So, there is no 100% guarantee that this will work in every case and every instance, but it has worked perfectly me for me on several occasions.

John
0
 
ChrisJonesLycosAuthor Commented:
Many thanks John. Tried that and it all worked fine. One Indy component was problematic but I think that's something to do with a previous Indy install that puts odd dll's in \System.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now