Skip to content

Installation in Delphi

Salvador Díaz Fau edited this page Oct 29, 2022 · 12 revisions

To build and install WebView4Delphi in Delphi XE2, XE3, XE4, XE6, XE7, XE8, 10, 10.1, 10.2, 10.3, 10.4, 11, 11.1 or 11.2 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 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.

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.
Clone this wiki locally