Reinstalling Delphi components

Posted on 2009-02-10
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.
Question by:ChrisJonesLycos
    LVL 18

    Expert Comment

    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.


    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.


    Author Comment

    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
    LVL 18

    Accepted Solution

    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.


    Author Closing Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
    In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
    The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    761 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now