AplhaControls 8.19 install fails

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #35659
    BobbyD
    Participant

    Hi,

    When unpacking acnt_reg.zip acHints.res gives CRC Error. Kinda used to it (there has been a problem with this file since v. 7.28), so I repaced it with one from earlier version, but couldn't install package anyway.

    Both AC packages (acnt2010_R.dpk and acnt2010.dpk) compile without any error, but when I try to install acnt2010.bpl I receive two errors: “The procedure entry point @Alphaimagelist@TsVirtualImageList@ could not be located in the dynamic link library acnt2010_R.bpl.” and “Can't load package C:UsersPublicDocumentsRAD Studio7.0Bplacnt2010.bpl. The specified procedure could not be found.”

    Installation fails and no components are registered. There is no problem when installing AC 7.70 …

    #50242
    Support
    Keymaster

    Hello!

    Which unpacker do you uses?

    Have you tried a standard Windows unpacker?

    Quote:
    Both AC packages (acnt2010_R.dpk and acnt2010.dpk) compile without any error, but when I try to install acnt2010.bpl I receive two errors: “The procedure entry point @Alphaimagelist@TsVirtualImageList@ could not be located in the dynamic link library acnt2010_R.bpl.” and “Can't load package C:UsersPublicDocumentsRAD Studio7.0Bplacnt2010.bpl. The specified procedure could not be found.”

    You should be sure that previous version of the package was removed completely. Conflict with old files is a reason of such problem.

    #50247
    BobbyD
    Participant
    'Support' wrote:

    Which unpacker do you uses? Have you tried a standard Windows unpacker?

    You should be sure that previous version of the package was removed completely. Conflict with old files is a reason of such problem.

    Hi,

    Unpacker is IZArc v.4.1.6. Previous AC version was carefully removed. As I said, I have no problem with AC 7.70 (except for acHints.res). When install of 8.19 failed, I removed it and installed 7.70 back without any problem.

    My computer is: Intel DQ57TM MB, Intel i5 2,8 GHz, 4 GB DDR3 RAM, 2TB HDD, Win7 pro, RAD Studio 2010 Pro

    #50248
    Support
    Keymaster
    Quote:
    Unpacker is IZArc v.4.1.6.

    Have you tried native Windows unpacker?

    Quote:
    …I removed it and installed 7.70 back without any problem.

    Because 7.70 have not conflicts with 7.70 🙂

    Maybe some Bpl-files was generated and moved to the Windows or System directories. You checked there too?

    #50260
    BobbyD
    Participant

    OK. Let's go to details.

    I didn't tried Windows unpacker, because everything compiles flawlessly and issue with acHints is a minor one.

    The installation process (I have used it successfully since v.7.2) is like this: I have a subfolder in RAD's “source” folder named “AlphaControls” where I have Full rights as Owner. This folder is added to Delphi's search path. I keep a copy of unpacked AC zip-file there.

    When upgrading-downgrading AC version, I delete all files in this folder, replace them with new ones and then open dpk-files located there in Delphi . Delphi uses default location for bpl and dcp files in UsersPublic Documents folder. Before compiling new package I delete all AC related bpl and dcp files (even the ones with “~“ sign if they are present). After that I compile and install new package.

    I have tried variations of this process- added “AlphaControls” folder to Windows Path, installed acnt2010.bpl manually by means of “Install Package”, removed sImgList from sRegisterIt.pas “uses” and “RegisterComponents” directives, but without any success. When I removed ImgList from package, it was TsTitleBar, who gave me similar error.

    #50274
    Hamilton
    Participant

    Hi Bobby,

    As Serge has said, the entry point and subsequent error in your OP will be caused by your system finding an old file somewhere. You should search your drive for ac*.* and remove any files that are related to AlphaControls. After you've deleted the old files and restart Delphi then it will complain that it can't find the path to the files and offer to remove them. It probably doesn't matter if you do or don't but I'd normally say OK to the IDE removing the AC packages and then I'd just add them (install) after compiling the packages.

    The other error with the CRC problem will be caused by your encryption program; again as Serge suggested, you won't get this error if you use the zip program built into Windows or any popular maintained encryption program like 7-zip. Lots of people use AlphaControls and noone else has ever reported this issue so it really is going to be your environment, as are the issues described above.

    Best of luck anyway, hope you get AC building soon.

    PS Your upgrade process isn't at fault here. I do a similar thing except I don't delete files out of the AC folder, instead I rename the current folder to include the version number as the suffix and then always put the new package in the addon folder using the same name. The advantage of this method is that it is very easy to test old versions if required by renaming or removing the current version then deleting the version suffix to make an old version the active one again. I've been using this method for years and it works well.

    Regards,

    Hamilton

    #50280
    BobbyD
    Participant
    'Hamilton' wrote:

    Hi Bobby,

    Best of luck anyway, hope you get AC building soon.

    Hi Hamilton,

    Thank you for reply. I solved the problem by installing Delphi XE3 (it was time for upgrade anyway). No problem with AC now.

    Probably you are right- it was some kind of old file issue. Thanks again and let's close topic.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.