同一台机器上的多个 Delphi 版本 [英] Multiple Delphi versions on the same machine

查看:35
本文介绍了同一台机器上的多个 Delphi 版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们想要做的是在同一台机器上安装多个Delphi版本,这些版本是D7、D2010和DXE.

What we would like to do is install multiple Delphi versions on the same machine, those versions are D7, D2010 and DXE.

我们之前有过 D7 和 D2010,可以一起工作(由于各种版本的特殊情况,不得不为 D7 和 D2010 复制组件),但是,我不确定 XE,因此问题.

We had previously D7 and D2010, worked OK together(had to duplicate components for D7 and D2010 because of special conditions for various versions), however, I'm not sure about XE, hence the question.

我们当然可以进行实验,但这意味着要浪费相当多的时间,所以如果有人已经进行了类似的设置或积极进行了设置,您能分享一下您的经验吗?

Of course we could experiment, but that means wasting quite a few hours, so if someone already had made a similar setup or actively have, can you please share you experience?

EDIT1:

D7-D2010 安装按版本顺序执行:

The D7-D2010 install was performed in chronological version order:

  • D7 + 更新
  • D2010 + 更新

推荐答案

我在同一台机器上安装许多不同版本的 Delphi 从来没有遇到过任何问题.这是一种受支持的配置,因为例如,组件供应商需要能够测试他们支持的所有版本.

I've had no trouble ever installing many different versions of Delphi on the same machine. It's a well supported configuration because, for example, component vendors need to be able to test all versions that they support.

您可以为每个 Delphi 使用一个 VM,但您同样可以将所有版本的 Delphi 放在同一台机器上.

You can use one VM per Delp but you can equally well put all the versions of Delphi on the same machine.

当我将多个 Delphi 版本放到一台机器上时,我确保系统 PATH 中没有任何版本的 Delphi.然后,当我进行自动命令行构建时,我会在构建脚本的开头添加到 PATH 中.这样我确信我总能得到想要的版本.

When I put multiple Delphi versions onto a single machine I make sure that no version of Delphi is in the system PATH. Then when I do automated command line builds I add to the PATH at the start of the build script. That way I am sure I always get the desired version.

这篇关于同一台机器上的多个 Delphi 版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆