如何在安装自定义包后修复损坏的Delpi XE3 IDE? [英] How to repair broken Delpi XE3 IDE after installation of custom package?

查看:222
本文介绍了如何在安装自定义包后修复损坏的Delpi XE3 IDE?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个包含一个组件的新包(TSpeedButton的后代),编译了包并将其安装在IDE(Delphi XE3 Pro)中。

它已经测试了它(我可以在设计和运行时使用我的组件)。

I have created a new package with one component in it (descendant of TSpeedButton), compiled the package and installed it in the IDE (Delphi XE3 Pro).
It worked as far as I have tested it (I could use my component in design- and runtime).

但是:我关闭了IDE,现在我无法启动它。

显示启动画面并显示进度:

BUT: I have closed the IDE and now I can't start it.
It displays the splashscreen and shows progress:


  • Documentation Insight Express

  • CodeSite Express

  • Jedi代码库

  • Jedi Visual Component Library

  • Documentation Insight Express
  • CodeSite Express
  • Jedi Code Library
  • Jedi Visual Component Library

最多所有加载的设计时包 code>(翻译自德语,YMMV)。

我猜这是我的包裹,所以我删除了BPL。在下一次启动时,Delphi表示可以找到该软件包并询问是否应在加载下一个项目时加载它;我点击否。

但是Delphi还没有启动,行为完全一样。启动Splashscreen并停止。

Up to All designtime packages loaded (translated from German, YMMV).
I guessed it was my package, so I deleted the BPL. On next start, Delphi said it could find the package and asked if it should load it when loading the next project; I clicked "No".
But still Delphi doesn't start, behaviour is exactly the same. Splashscreen loading and STOP.

安装程序的修复选项也无济于事。

The "Repair" option of the installer didn't help, either.

法老王

编辑:事实证明我太不耐烦了 - 重新启动了它。

我仍​​然标记了Ken White的答案,因为它本来是最后的解决方案。

It turns out I was too impatient - A reboot cleaned it up.
I still marked the answer of Ken White because it would have been the solution of the last resort.

推荐答案

为Delphi创建一个新的桌面快捷方式,修改它的属性(右 - 单击并选择属性),并将 -rFoo 添加到命令行的末尾。然后从新的快捷方式启动IDE。

Create a new desktop shortcut for Delp modify it's properties (right-click and choose Properties), and add -rFoo to the end of the command line. Then start the IDE from that new shortcut.

这将创建一个新的空Delphi注册表分支,其中仅包含默认组件和设置(称为 foo) )。它不会加载任何组件包(或您安装的任何不属于普通安装程序的第三方组件包)。然后,您可以一次添加任何第三方软件包。只需继续从新的快捷方式运行IDE,你应该没问题。

This creates a new, empty Delphi registry branch that contains only the default components and settings (called foo). It will not load any of your component packages (or any third-party ones you've installed that weren't part of the normal installer). You can then add back any third-party packages one at a time. Just continue to run the IDE from your new shortcut, and you should be fine.

如果这不能让你处于可以运行IDE的状态,那么你以某种方式完全搞砸了你的安装,你应该完全卸载并从头开始。

If this doesn't put you in a state where you can run the IDE, you've somehow totally borked your install, and you should uninstall completely and start over from scratch.

这篇关于如何在安装自定义包后修复损坏的Delpi XE3 IDE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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