Search code examples
delphiexportcomponentsdelphi-xe2

Export components delphi xe2


I have a virtual machine with the delphi xe2 installed and expired, I would like to know how export all components used in my projects from this machine to other that has the delphi xe2 installed and activated.

I done it: I copied the program folder into my new machine, also was exported the register from the virtual machine and installed. I copied the *.bpl files from the system32 folder to the other machine.

I imported a project from virtual machine that works normally, and in my new machine occur many problems with components not found.

How can I solve this?

Notes: I have only this project in this virtual machine, I bought it. I dont have many knowledges in Delphi. I am starting. I'm a Java Developer.

Thanks


Solution

  • Come to think of it: what is expired? If Delphi XE2 is expired, it is probably a trial version (which is usually an Architect SKU). You can not copy its components and use them. They will not work in a normal environment. Otherwise, someone could buy the much cheaper Professional and simply copy everything from the (Architect) trial version over to their Professional install and use them. The trial components are not compatible with anything but the trial of the same version.

    If you mean third party components: usually, these components are installed with an installer. Copy these installers to your other installation and install them like before.

    That is perhaps a bit slower, but the only proper way to do this. Anything else means fuddling with the registry and perhaps .ini files and what not, and a lot of frustration etc. The installers know what to install and how.

    Your project sources can simply be copied over as they are, i.e. copy the entire directories. But first install all necessary components. If you used components from a trial version, and your XE2 doesn't have them, you must abandon them.