I'm trying to install a 3rd party package for Delphi 7. After opening the DPK, I pressed the Install
button, and got a File not found
error. The same happens if I press Compile
first, and then Install
.
The error message refers to the unit which is listed first in the contains
section of the DPK. The package directory does not contain PAS files, but it contains the DCU for every PAS listed in the contains
section. The package directory is added to the Library path
. I tried to turn off Explicit rebuild
, but it didn't help. I also tried to remove the references to PAS files and add the DCU files instead, but the error message remained the same.
Delphi apparently wants to recompile the package, but I don't have the source files. What should I do to make it use the DCUs? Thank you for your help in advance.