在装有 Delphi 2007 的机器上安装 D5(及第三方组件)?

发布于 2024-07-25 22:34:56 字数 492 浏览 4 评论 0原文

我有一个 Delphi 2007 VM,其中包括相当最新的 Report Builder 和 Dev Express Suite。 我将它用于特定客户的特定项目。

对于同一客户端,我还有一个 D5 VM,它恰好使用(不同的、较旧的)版本的 Report Builder 和某些 Dev Express 组件的不同(较旧的)版本。

如果我可以将 D5(及其使用的组件版本)安装到 D2007 VM 上,并拥有一个包含该客户端所有内容的“uber VM”,这将使我对该客户端的工作进行测试和一般维护变得更加简单。 当然,我必须将组件的各个版本保持“独立”。

希望你们还没有因为无聊而入睡——只是想知道在我尝试这样做之前是否有任何我应该知道的技巧或技巧。 我认为将 D5 放到 D2007 机器上会更容易(更大的现有 VM 驱动器等,再加上避免重新注册 D2007 安装等的过程),但如果将 D2007 添加到 D5 会更容易,那么我可以这样做我猜是这样。

有什么建议吗? :-)

I've got a Delphi 2007 VM which includes a reasonably up-to-date Report Builder and Dev Express Suite. I use it for a particular project for a particular client.

For that same client, I also have a D5 VM which just so happens to use a (different, older) version of Report Builder and a different (older) version of some of the Dev Express components.

It would make testing and general maintenance of my work for this client a lot more straightforward if I could install D5 (and the versions of the components it uses) onto the D2007 VM, and have one 'uber VM' that contained everything for that client. Naturally I'd have to keep the various versions of the components 'separate'.

Hope you haven't all drifted off to sleep with boredom yet - just wondered if there were any tricks or tips I should be aware of before I try to do this. I figured that putting D5 onto the D2007 machine would be easier (larger existing VM drive etc, plus avoiding the process of re-registering a D2007 installation etc), but in if would be easier to add D2007 to D5 then I could do it that way round I guess.

Any advice? :-)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你的笑 2024-08-01 22:34:56

如果您按照正确的顺序安装它们,新版本在旧版本之后安装。 这对于虚拟机和真实机器都适用。 如果您有一个具有快照功能的 VM 管理器,您可以尝试在 Delphi 2007 上安装 Delphi 5,看看是否有任何问题 - 如果是这样,您只需恢复到快照即可。 然而,由于设置新的 VM 并不是一项艰巨的任务,因此我会这样做并按照推荐的顺序安装 Delphi 版本。

也可以安装多个版本的组件集,每个版本都安装在自己的目录中。 显然,在一个 IDE 中只能注册其中之一,但您可以针对不同的 IDE 版本使用不同的版本。 如果您的安装程序给您带来麻烦,您始终可以在一个帐户中安装 Delphi 和组件集,并在另一个帐户中进行开发。 安装程序通常只写入计算机和当前用户注册表配置单元,因此在另一个帐户中运行 Delphi 允许您手动安装软件包。 确保在特定于 Delphi 版本的目录中构建包 - 尽管大多数包都有特定于版本的包文件,但所有其他源文件都具有相同的名称,并且需要为每个 Delphi 版本重新构建。

Multiple Delphi versions do coexist quite nicely if you install them in the correct order, newer versions after older ones. This is something that holds for VMs just as for real machines. If you have a VM manager with snapshot capabilities you could try to install Delphi 5 over Delphi 2007 and see whether anything breaks - if so you simply revert to the snapshot. However, since setting up a new VM isn't a big task I would do that instead and install Delphi versions in the recommended order.

Multiple versions of component sets can be installed as well, each into its own directory. Only one of them can be registered inside one IDE, obviously, but you can use different versions for different IDE versions. If you have an installer that gives you trouble you can always install Delphi and the component sets in one account and develop in another account. Installers do generally write only to the machine and current user registry hives, so running Delphi in another account allows you to install packages manually. Be sure to build the packages in Delphi-version-specific directories - even though most packages have version-specific package files all other source files have the same name and need to be rebuilt for each Delphi version.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文