To build and install CEF4Delphi in Delphi XE2, XE3, XE4, XE6, XE7, XE8, 10, 11 or 12 you need to follow these steps :
- Download the latest version of CEF4Delphi from GitHub.
- Decompress CEF4Delphi into a directory and make sure your user has write privileges in that directory.
- Run Delphi.
- Open the CEF4Delphi_group.groupproj group file.
- Click the "Project -> Build All Projects..." menu option. Some Delphi versions may require that you build CEF4DelphiVCLRTL.bpl, CEF4DelphiFMXRTL.bpl and CEF4Delphi_designtime.bpl individually (in that order).
- Right-click on the CEF4Delphi_desingtime.bpl icon inside the Project manager and select the Install option.
To compile and install CEF4Delphi in Delphi 6, 7, 8, 2005, 2006, 2007, 2009, 2010 or XE you need to follow these steps :
- Download the latest version of CEF4Delphi from GitHub.
- Decompress CEF4Delphi into a directory and make sure your user has write privileges in that directory.
- Run Delphi.
- Open the file CEF4Delphi.dpk.
- Click on the Compile button.
- Click on the Install button.
CEF4Delphi.dpk only has VCL components but CEF4Delphi_group.groupproj has VCL and FMX components.
Follow these steps in case you have issues upgrading to a newer version of CEF4Delphi :
- Download the latest CEF4Delphi version from Github.
- Run Delphi / Rad Studio.
- Uninstall the old CEF4Delphi package in the IDE.
- Close Delphi / Rad Studio.
- Delete the BPL and DCU files generated by CEF4Delphi. Those files are usually located in C:\Users\Public\Documents\Embarcadero\Studio<Delphi_version>\Bpl
- Run Delphi / Rad Studio.
- Install CEF4Delphi following the steps described at the beginning of this page.
In case you have installed multiple Delphi versions in the same computer and you want to install CEF4Delphi in all Delphi versions you may experience errors. See this Delphi-PRAXIS forum thread and this StackOverflow question.
If all installed Delphi version are 10.4.1 or newer the easiest solution is to set the LIB suffix option to $(Auto)