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)
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
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?
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:
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.