Delphi Install Utility

Posted on 2005-05-05
Last Modified: 2012-05-05
I know this isn't strictly a programming question, but it is a Delphi question...

I have to install a new hard drive and will obviously have to install XP and re-install Delphi.

The problem is that I have absolutely loads of third-party components which also have to be re-installed - along with the hassle of making sure I put them in the same place, setting all the search paths, re-organising my component palette and so on.

The point is, this is *very* time consuming and wondered if anyone knew of any way to simplify the task. There probably isn't, but if you don't ask...

What would be nice is an 'export settings' option in Delphi which exports all the program settings, components, paths and associated files.

After re-installing Delphi, you would use the 'import settings' option to load back all the settings and restore all the components, files and paths.

Wishful thinking I know, but anyone any suggestions to make the job any easier?

Question by:tdk_man
    LVL 1

    Expert Comment

    Ghost the old drive, unless it is broken.
    LVL 1

    Author Comment

    No, it isn't broken, but Windows is! :)

    As I have to install Windows again, I'm using the opportunity to install a bigger hard disk and add some more memory. As such, ghosting will only give me the same problems back I'm afraid...

    LVL 10

    Accepted Solution

    Hi, the best way is to follow these steps:

    1) save registry branches for Delphi (for CURRENT_USER and LOCAL_MACHINE)
    2) save registry branches for any advanced component pack (which is using the registry)
    3) remember system environment variable PATH
    4) backup Delphi directory and after reinstallation of the system return it to the exact path as it was before
    5) after reinstallation register all saved *.reg files
    6) return all environment variable PATH elements regarding to Delphi or any of it's component
    7) you're back again

    LVL 1

    Author Comment

    Thanks for that Kate.

    Will try this weekend and report how I get on. Looks promising though... :)


    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
    Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    755 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

    21 Experts available now in Live!

    Get 1:1 Help Now