TMS Smart Setup > WebCore fails Delphi 12.3

Performed a clean install after deleting all references to Webcore.
The installation works fine on Delphi 11, but the packages are not loaded to Delphi 12.3.
Tried to load the packages manually and I get the error:
Can't load package C:\Users\jorge\AppData\Local\TMS S
logs.zip (122.4 KB)
etup\Products\tms.webcore\BinPackages\d12\Win32\Release\TMSWEBCorePkg290.bpl

Any suggestion or workaround over this issue?
logs.zip (122.4 KB)

Can you please first try to run doctor command, fix any reported issues, restart your computer and see if the issues are solved?

I already did, but without results.

Hi,
When you get that type of errors, the problem often is that another, old bpl hanging around.
Can you search your hard disk for SWebCore*.bpl and confirm that there is no any older version that could be causing this?

Uninstalled webcore for all platforms
Deleted every file SWebCore*.bpl in my computer.
Installed again -no errors- but it does not add the packages to Delphi 12.3
Finally, uninstalled again, deleted again all the SWebCore*.bpls and installed only for D12.3, with the same result

These are the files SWebCore*.bpl that where created after this installation:
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\dsydney\Win32\Release\TMSWEBCorePkgDE270.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\dberlin\Win32\Release\TMSWEBCorePkgDE240.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\drio\Win32\Release\TMSWEBCorePkgDE260.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\dtokyo\Win32\Release\TMSWEBCorePkgDE250.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup.tmssetup\build\bpl\Win32\TMSWEBCorePkgDE290.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\d11\Win32\Release\TMSWEBCorePkgDE280.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\d12\Win32\Release\TMSWEBCorePkgDE290.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\Packages\d12\Win32\Release\TMSWEBCorePkgDE290.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup.tmssetup\build\bpl\Win32\TMSWEBCorePkgLib290.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\d11\Win32\Release\TMSWEBCorePkgLib280.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\d12\Win32\Release\TMSWEBCorePkgLib290.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\dberlin\Win32\Release\TMSWEBCorePkgLib240.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\drio\Win32\Release\TMSWEBCorePkgLib260.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\dsydney\Win32\Release\TMSWEBCorePkgLib270.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\dtokyo\Win32\Release\TMSWEBCorePkgLib250.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\Packages\d12\Win32\Release\TMSWEBCorePkgLib290.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\dberlin\Win32\Release\TMSWEBCorePkg240.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\drio\Win32\Release\TMSWEBCorePkg260.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\dsydney\Win32\Release\TMSWEBCorePkg270.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\dtokyo\Win32\Release\TMSWEBCorePkg250.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup.tmssetup\build\bpl\Win32\TMSWEBCorePkg290.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\d11\Win32\Release\TMSWEBCorePkg280.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\d12\Win32\Release\TMSWEBCorePkg290.bpl"
"C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\Packages\d12\Win32\Release\TMSWEBCorePkg290.bpl"

Hi,
That's strange, let's try to figure out what is happening:

  1. The error you got in the first post:

Can't load package C:\Users\jorge\AppData\Local\TMS Setup\Products\tms.webcore\BinPackages\d12\Win32\Release\TMSWEBCorePkg290.bpl

Is expected, that is not the package that should be added (I failed to realize when I saw the post that this was a manual install). While that package is linked with the others (there are not 3 copies in the disk, it is all physically the same file), that package is not in the Windows Path, so you'll get that error. The package that should be installed in the IDE is:
C:\Users\jorge\AppData\Local\TMS Setup.tmssetup\build\bpl\Win32\TMSWEBCorePkg290.bpl

I wonder if you get a similar error with that one?

  1. Looking at the log, I see it says it registered it correctly, which is strange. Can you do a build, with dephi closed, and before opening delphi, open regedit and look at:
  • Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS\23.0\Disabled Packages. It shouldn't be there (smartsetup will actually remove it if it was when you install. But just to be 100% sure)
  • Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS\23.0\Known Packages
    It should be here:

If it is, please launch delphi, close it, and retry looking if it is there. Knowing this data might help me understand what is happening here.

Hi Adrian,
The registry is as you say it should be.

I realized today that Webcore was correctly installed in the win32 IDE.
As I'm using the 64 bit IDE, I did not check the 32 IDE before.

Will continue working on the 32 IDE until the issue is solved.
Thank you!

Ah, that explains the exception in your original post. You were trying to load a win32 package in the win64 IDE.
Yes, the error is backwards, it should say "SWEBCorePkg290.bpl is not a valid Win64 library" instead of "%1 is not a valid Win32 application." And I actually reported this exact issue (the message is all wrong) when the IDE64 beta testing started, but the error comes from Windows (they could at least fix the %1, but well)

We aren't indeed shipping win64 design packages for webcore, so it is not possible to install in IDE64. But the thing is, they actually work. We just aren't shipping them because we had to turn them off when Delphi12 was in beta, and then never turned them on again. We'll see to ship them for next release.

Thank you Adrian,
I thougth it was already shipped after the Bruno's post (Delphi IDE 12.3 is finally 64 bits!!!!! - #2 by brunofierens) in march.
Sorry for this missunderstandig, regards!