Re: Installing components in D2005



UN wrote:
"Rob Kennedy" <me3@xxxxxxxxxxx> wrote in message news:3fi80eF81236U1@xxxxxxxxxxxxxxxxx
How many copies of the file SerialNG.dcu do you have on your system? The answer should be one; if it's not, then delete all the copies and recompile Clocks.dpk. Confirm that you only have one copy of SerialNG.pas, too.

Ok, I am following this line and making a totally new package.

That's not what I told you to do.

But how to remove the project Clocks totally? Deleting the Clocks.bpl does not do it, trying to install the components in a new package does not succeed, as f.ex. SerialNG is already 'registered'?

Units don't get registered. Components do. Components don't get installed. Packages do.


A package is a project, and it may consist of one or more units, which are source-code files. A unit may contain any number of component definitions (including zero). When you _install_ a package, code from the units gets _executed_, which _registers_ the components.

If you delete the BPL, then nothing will be registered because things only get registered when Delphi executes the Register procedures in the BPL.

If you really want to start over from scratch (which I don't really thing you need to do), then delete everything *except* your PAS files. Delete the DPK. Delete the BPL. Delete the DCUs. Delete the DCP.

Then create a new DPK project. Add the PAS files. Compile. Install. And you're done.

--
Rob
.



Relevant Pages

  • Re: Couldnt find installable ISAM error from VB 6 / Access 2003
    ... Why can I unregister a dll ... The register is also successful. ... What is bizarre is that if you run the setup package to install the app, ...
    (microsoft.public.vb.database)
  • RE: Newbie registering a .Net assembly into COM+
    ... How are you creating the install package? ... Go the properties windows and change the "Register" ... Works fine from my VB6 app, ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Activex .exe registration
    ... When I try and install the program (using installation made with the ... package and deployment wizard) I get a pop up saying that an error ... Why won'tl the package and deployment not register the activeX? ...
    (microsoft.public.vb.general.discussion)
  • Activex .exe registration
    ... When I try and install the program (using installation made with the ... Why won'tl the package and deployment not register the activeX? ...
    (microsoft.public.vb.general.discussion)
  • Errors applying kernel patch 118833-36
    ... install of Solaris 10 11/06. ... However, once the package list is done, I see a worrisome message: ... Below is the complete console output of the patch run. ... Changes for package SUNWnfsskr will not be applied to the system. ...
    (SunManagers)