无法使用 Delphi 10.1 编译 Compil32.dproj

Can't Compile Compil32.dproj using Delphi 10.1

您好,我想重新编译 Inno Setup Compiler 的源代码以重命名卸载可执行生成,例如 unins***.exe.

当我尝试编译时,Delphi 说 Error Reading Form : Class not found 因为我的 Delphi IDE 没有编译所需的所有包 Compil32.exe.

如果我编译我的 Compil32.exe 而没有遗漏 类 和 运行 它,Compil32.exe has stopped working 会出现,因为它没有正确编译。

请告诉我什么版本的Delphi或什么IDE包要下载并且可以用来编译/构建Compil32.exe没有任何问题。

提前致谢。

有点乱。

自述文件确实说您需要安装组件
readme.md 解决了这个问题。

我给你引用一下

  1. Component Installation

If you intend to view or modify the Setup project's forms, you must install the following component units, which can be found in the Components directory.

    BidiCtrls
    BitmapImage
    FolderTreeView
    NewCheckListBox
    NewNotebookReg
    NewProgressBar
    NewStaticText
    PasswordEdit
    RichEditViewer

If you intend to view or modify the Compil32 project's forms, you must additionally install the following components. (Like the Compil32 project itself, these require Delphi 3 or later.)

    DropListBox
    NewTabSet

但是自述文件没有告诉你如何做到这一点

自述文件假定您知道如何从头开始安装组件。
这是一个假设,我明白你为什么会被困在这里。

在 Delphi 中,您需要创建一个 .dpk(包)文件来放入您的组件。
选择File->New->Package
并将上面列出的所有单位添加到您的包裹中。
现在 build 包,然后 install 它。
您应该会看到一条消息,指出已安装 11 个新组件。

如果成功,您可以打开表格。
如果您之前 ignored 有任何错误并保存项目 Delphi 将删除组件。在这种情况下,您需要从 github 重新加载项目。