0
votes

I am delphi developer and want to install component for Delphi 7 on Windows XP and 2007. I have .DCU files only. When I try to install .DCU from Component > insatll packege > Add> select .DCU file then it shows error like "Invalide Package file"

Please help. Thanks in advance.

1
Seems off topic. I think you will get better answers on SuperUserRamzi Khahil
No, Stack Overflow is the correct site.David Heffernan
Are these .DCU files specifically compiled for Delphi 7? If they are perhaps compiled for newer version of Delphi you won't be albe to use them since they require different dependancies to other .dcu's that are not available in your Delphi version.SilverWarior
@Kahil: Sounds like you don't understand the question. It's perfectly acceptable here.Ken White
Sorry everyone. I'm not a Delphi programmer, and maybe misunderstood the question. Just wanted to point Amruta to the site about installing software is discussed, and not down voted. (I figurred s/he has problems installing some software). My bad.Ramzi Khahil

1 Answers

2
votes

You are using the wrong mechanism to install the component. Instead of Install Packages you need to select Install Components. This will present a dialog which allows you to specify the unit file name that contains the component(s). You get the choice of installing the component into a new package, or an existing package.