Skip to content

Installation in Delphi

Salvador Díaz Fau edited this page Apr 27, 2024 · 11 revisions

To build and install WebView4Delphi in Delphi XE2, XE3, XE4, XE6, XE7, XE8, 10, 11 or 12 you need to follow these steps :

  • Download the latest version of WebView4Delphi from GitHub.
  • Decompress WebView4Delphi into a directory and make sure your user has write privileges in that directory.
  • Run Delphi.
  • Open the file packages\WebView4Delphi_group.groupproj.
  • If you want to install the FMX and VCL components then select the Projects→Build all projects menu option. If this option fails build WebView4DelphiVCLRTL.bpl, WebView4DelphiFMXRTL.bpl, WebView4DelphiVCL_designtime.bpl and WebView4DelphiFMX_designtime.bpl individually (in that order). When the build process ends select the Install context menu option in WebView4DelphiVCL_designtime.bpl and WebView4DelphiFMX_designtime.bpl.
  • If you just want to install the VCL components then build WebView4DelphiVCLRTL.bpl and install WebView4DelphiVCL_designtime.bpl.

To compile and install WebView4Delphi in Delphi 6, 7, 8, 2005, 2006, 2007, 2009, 2010 or XE you need to follow these steps :

  • Download the latest version of WebView4Delphi from GitHub.
  • Decompress WebView4Delphi into a directory and make sure your user has write privileges in that directory.
  • Run Delphi.
  • Open the file packages\WebView4Delphi.dpk from Delphi which has VCL components.
  • Click on the Compile button.
  • Click on the Install button.

Warning for Delphi 6 users : It's necessary to install the second Delphi 6 patch before using WebView4Delphi.

Follow these steps in case you have issues upgrading to a newer version of WebView4Delphi :

  • Download the latest WebView4Delphi version from Github.
  • Run Delphi / Rad Studio.
  • Uninstall the old WebView4Delphi package in the IDE.
  • Close Delphi / Rad Studio.
  • Delete the BPL and DCU files generated by WebView4Delphi. Those files are usually located in C:\Users\Public\Documents\Embarcadero\Studio<Delphi_version>\Bpl
  • Run Delphi / Rad Studio.
  • Install WebView4Delphi 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 WebView4Delphi 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) s8ou6

Clone this wiki locally