[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Reinstalling Delphi components

Posted on 2009-02-10
4
Medium Priority
?
286 Views
Last Modified: 2013-11-23
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
Comment
Question by:ChrisJonesLycos
  • 2
  • 2
4 Comments
 
LVL 18

Expert Comment

by:Johnjces
ID: 23601026
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
 

Author Comment

by:ChrisJonesLycos
ID: 23601377
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
 
LVL 18

Accepted Solution

by:
Johnjces earned 1000 total points
ID: 23606449
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
 

Author Closing Comment

by:ChrisJonesLycos
ID: 31545026
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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
Suggested Courses
Course of the Month19 days, 15 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question