IndySockets / Indy

Indy - Internet Direct
https://www.indyproject.org
434 stars 147 forks source link

Can't upgrade / update XE3 10.5.9 to latest (win10) #495

Open pietro62 opened 10 months ago

pietro62 commented 10 months ago

Hi,

Any hint / idea ?

TNX Pietro

Cattura Cattura2 Cattura3

pietro62 commented 10 months ago

Some other findings... using same procedure on W7 machine & Delphi XE3:

seem that when compiling the 5 elements, files are created correctly on c:\Indy\Lib\BPl folder (see image) but not copied or generated inside C:\Program Files (x86)\Embarcadero\RAD Studio\10.0\bin (and C:\Program Files (x86)\Embarcadero\RAD Studio\10.0\bin64 too).

Copy those files manually on the \bin folder and installing 2 runtime components (dclIndyCore170 and dclIndyProtocols170) solve the issue ....

Any idea / hint ? Something wrong on the procedure ?

Will try next on W-10 machine ...

rlebeau commented 10 months ago

Make sure you have removed any older BPLs and other source files before installing the new version.

You can use a tool like SysInternals Process Monitor to see which file the IDE is looking for that it can't find, and where it is looking for that file. Chances are, it is not the file you are expecting.

Also, don't put the binary files in the IDE's \bin folder, they don't belong there (and modern IDEs will actually invoke a copy protection feature if you do). The IDE has a dedicated folder set aside for BPLs, place them there instead. They should actually be placed there by default, unless the DPK/DPROJ projects are configured otherwise. Check the project settings.

NickNevzorov commented 6 months ago

@pietro62 Thank you very much! I have a same issue, manual copy 5 packages from Indy\Lib\BPl to C:\Program Files (x86)\Embarcadero\RAD Studio\10.0\bin and all working!

rlebeau commented 6 months ago

@NickNevzorov Did you not read my previous message? DO NOT copy the compiled .bpl files into the IDE's \bin folder! They do not belong there, and putting any non-Embarcadero files in that folder will trigger the IDE's copy protection feature, which WILL cause problems inside the IDE (by design). Only files that Embarcadero itself installs should be in the \bin folder, including the bundled version of Indy that Embarcadero ships. If you want to installing a custom version of Indy, remove the bundled version, do not overwrite it. Put your compiled .bpl files into the IDE's \bpl folder instead, which by default is located at %ALLUSERSPROFILE%\Documents\Embarcadero\Studio\<version>\Bpl.