Knowledgebase: Install problem on C++Builder 11.2 patch 1 for Win64

Embarcadero caused a bug in C++Builder 11.2 patch 1 with library path configuration causing install problems of components for the Win64 target.

Embarcadero described the problem in this blog:
https://blogs.embarcadero.com/rad-studio-11-2-alexandria-patch-1-available/

The solution is explained in this blog:

Library Path Configuration

The RAD Studio 11.2 installation has an error in the configuration of the library path. Due to this configuration problem, linking with runtime packages fails, as reported in Quality Portal as RSP-39031 (Win64 build with runtime packages can’t find Win64 DCP files).

To address the issue you can alternatively:

Install the .reg file included in the patch download. We recommend you to follow this step only if you have a fresh install with no migrated settings and no third party component installed.

Use the IDE Tools Options dialog, select Language – Delphi – Library page and there the Windows 64-bit platform. Replace $(BDSCOMMONDIR)\Dcp with $(BDSCOMMONDIR)\Dcp\$(Platform)

Open the Windows Registry Editor application (regedit), and make the following changes:

In the key –>

\Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS22.0\Library\Win64

change the “Search Path” value to
$(BDSLIB)\$(Platform)\release;$(BDSUSERDIR)\Imports\$(Platform);$(BDSUSERDIR)\Imports\$(Platform);$(BDS)\Imports;$(BDSCOMMONDIR)\Dcp\$(Platform);$(BDS)\include

In the key –>

\Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Embarcadero\BDS22.0\Library\Win64

change the “Search Path” value to $(BDSLIB)\$(Platform)\release;$(BDSUSERDIR)\Imports\$(Platform);$(BDSUSERDIR)\Imports\$(Platform);$(BDS)\Imports;$(BDSCOMMONDIR)\Dcp\$(Platform);$(BDS)\include

Please apply the fix Embarcadero suggests and then reinstall TMS VCL UI Pack.

The installation/compile on C++Builder 11.2 patch 1 with and without the registry correction for Win64 of v11.0.3.0 TMS VLCUIPack works with VLCUIPackPkg, but VLCUIPack PkgEx throws still error:

"C:_tmssoftware\registered\TMS VCL UI Pack\TMSVCLUIPackPkgExDXE14.dproj" (default target) (1) ->.
(_PasCoreCompile target) ->
AdvTouchKeyboard.pas(536): error E2213: Wrong packed unit format: C:\Users\Public\Documents\Embarcadero\Studio.
22.0\Dcp\TMSVCLUIPackPkgDXE14.dcp.AdvStyleIF - Expected version: 35.0, Windows Unicode(x64) Found version: 35.0, W
indows Unicode(x86) [C:\tmssoftware\registered\TMS VCL UI Pack\TMSVCLUIPackPkgExDXE14.dproj]

The error message implies you did not apply the necessary changes correct.

Some backslashes got lost in HTML somewhere. I believe the above should be (two different locations):

$(BDSLIB)\$(Platform)\release;$(BDSUSERDIR)\Imports\$(Platform);$(BDSUSERDIR)\Imports\$(Platform);$(BDS)\Imports;$(BDSCOMMONDIR)\Dcp\$(Platform);$(BDS)\include

This is also missing a backslash after SOFTWARE and after BDS. It should be:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Embarcadero\BDS\22.0\Library\Win64

Thanks for pointing out, these were indeed incorrect in the original Embarcadero blog. We'll correct this.

1 Like